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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,215,446
Messages
6,124,904
Members
449,194
Latest member
JayEggleton

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