running a vlookup off a date

zilch4ry

Board Regular
Joined
Feb 27, 2011
Messages
76
Hi all,

I was just wondering if it is possible to run a vlookup based off of which day of the week it is, for example, if the =now() was to show it was a monday I need all information found in on monday to be shown.

I'm not too sure if =NOW() is the best way to go on this, but any help will be appreciated.

Thanks in advance,

Tom

Every time I try this I receive "#N/A"
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
If you enter =TEXT(NOW(),"dddd") it will return what today's day is.

You could either enter that into a cell or put TEXT(NOW(),"dddd") into your VLOOKUP formula as the lookup value.
 
Upvote 0
NOW() should work, but you need to get it formatted just like your data. I would assume your data is in dates, 1/1/2011, 1/5/2010, etc, not just in weekdays (Mon, Tues, etc) though...?

But, you say weekdays so here's how to do weekdays:

=Weekday(Now())

That will return an integer, 1 thru 7. Your lookup data must then be formatted in 1 thru 7.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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