Return cell information based on today's date

lucystewart

New Member
Joined
Aug 31, 2019
Messages
4
Hello,

I am working on a staffing sheet. I have a list of dates in weekly increments going across row 2 (starting at M2 and going on to ZZ2).
And I need a way to retrieve the number in row 54 that corresponds with todays date. The tricky part (to me) is that todays date isn't going to necessarily match the date in row 2. So I need it to pull from the column with a date that has passed.
Meaning:
M N O P​
2 . 8/18/2019 . 8/25/2019 . 9/1/2019 . 9/8/2019
54 20 24 22 18

Today's date is 8/31 so I would need it to return the #24 from cell N54.

I don't know if this can be done with a Vlookup? I don't currently have a =today() in any cell but I could, of course, put it somewhere if that is helpful.

Thank you so much for any help you can provide.
Lucy
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Of course that didnt format right. Let me try this again. Here is the sample data I was trying to provide:

M
N
O
P
Row 2
8/18/2019
8/25/2019
9/1/2019
9/8/2019
Row 54
20
24
22
18

<tbody>
</tbody>
 
Upvote 0
Welcome to the MrExcel board!

Try
=LOOKUP(TODAY(),M2:ZZ2,M54:ZZ54)


Of course that didnt format right.
For the future, have a look at the link in my signature block below for help with that.
 
Last edited:
Upvote 0
You're very welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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