Lookup today's date in a range, and return value of adjacent cell

Kimmerz29

New Member
Joined
Jul 5, 2006
Messages
25
I rarely need to do more than basic calculations in Excel these days, and it seems I've forgotten most of what I once learnt!

This one I think should be relatively easy;

Sheet1 -
In column A on there are dates listed (range A1:A200)
In column B we have a number corresponding to each date.

Sheet2 -
In cell C1, I need it to lookup today's date in column A on Sheet1, then display the adjacent number from column B.

Please help!!!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
If the dates in Sheet1 column A are ordered ascending:
=IF(VLOOKUP(TODAY(),Sheet1!$A:$A,1,TRUE)=TODAY(),VLOOKUP(TODAY(),Sheet1!$A:$B,2,TRUE),NA())


if not ordered:
=VLOOKUP(TODAY(),Sheet1!$A:$B,2,FALSE)
 
Upvote 0
Hi,

The below equation will not work in VBA. Right!

Could you please let me know if this task to be done by VBA, but I don't want to lookup any value. I need to find dates in column "A" (If A1) and copy adjacent values (names) from column "C" and "D" (C1 and D1).

Regards,
Shwetank


If the dates in Sheet1 column A are ordered ascending:
=IF(VLOOKUP(TODAY(),Sheet1!$A:$A,1,TRUE)=TODAY(),VLOOKUP(TODAY(),Sheet1!$A:$B,2,TRUE),NA())


if not ordered:
=VLOOKUP(TODAY(),Sheet1!$A:$B,2,FALSE)
"
 
Upvote 0

Forum statistics

Threads
1,216,082
Messages
6,128,702
Members
449,464
Latest member
againofsoul

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