Need a formula where if today's date equals December, C5 will return $400,000 automatically

Ameratsu

New Member
Joined
Dec 8, 2022
Messages
3
Office Version
  1. 2021
Platform
  1. Windows
I have a list of monthly balances that gets updated automatically, I am trying to create a formula to automatically show this month's balance.

If today is December, C5 returns the monthly balance automatically which is $400,000

Thanks

sample (1).xlsx
BC
3Today's Date12/3/2022
4
5Current Price
6
7JAN$250,000
8FEB$270,000
9MAR$260,000
10APR$280,000
11MAY$300,000
12JUNE$320,000
13JULY$330,000
14AUG$360,000
15SEPT$380,000
16OCT$390,000
17NOV$380,000
18DEC$400,000
Sheet1
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try

Excel Formula:
 =INDEX($C$7:$C$18,MATCH(TEXT(C3,"MMM"),$B$7:$B$18,0))
 
Upvote 0
=VLOOKUP(TEXT(B1,"mmm"),A5:B16,2,FALSE)

I assumed your data was in columns A:B
 
Upvote 0
Please try below
Book1
AB
1Today's Date12/3/2022
2
3Current Price400000
4
5JAN250000
6FEB270000
7MAR260000
8APR280000
9MAY300000
10JUNE320000
11JULY330000
12AUG360000
13SEPT380000
14OCT390000
15NOV380000
16DEC400000
Sheet1
Cell Formulas
RangeFormula
B3B3=VLOOKUP(TEXT(B1,"mmm"),A5:B16,2,0)
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top