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

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

lucystewart

New Member
Joined
Aug 31, 2019
Messages
4
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>
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,471
Office Version
  1. 365
Platform
  1. Windows
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:

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,471
Office Version
  1. 365
Platform
  1. Windows
You're very welcome. Thanks for the follow-up. :)
 

Watch MrExcel Video

Forum statistics

Threads
1,129,315
Messages
5,635,512
Members
416,862
Latest member
MGDlite

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
Top