• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Excel Help - Today's dates based query

SimonMac

TykeLike
Joined
Aug 27, 2010
Messages
24,897
Likes received
5,244
Thanks received
1,850
Location
God's Own Republic Of Yorkshire
I have a spreadsheet with a list of dates in ascending order in column A, with various entries in B,C & D.

Is it possible to have a static line, say at the top of the page, that pulls todays dates, looks up column A and pull the subsequent row of data to the top?

I hope this makes sense to someone
 
=VLOOKUP(INT(NOW()),A1:E4,1,FALSE)

Where A1:E4 is your dataset (highlight the area)

The 1 is the column you want to return,

So either 1,2,3,4
 
=VLOOKUP(INT(NOW()),A1:E4,1,FALSE)

Where A1:E4 is your dataset (highlight the area)

The 1 is the column you want to return,

So either 1,2,3,4

Cheers fella, if you make it to the Shindig there's a warm shandy with your name on it!
 
Whats the difference between NOW and TODAY in excel?
 
Whats the difference between NOW and TODAY in excel?

Now returns a second stamp, which I just happened to truncate using INT

Today returns it without the stamp. So probably better to use that.

I take it you're writing a 'How much I made this month' spreadsheet ;-)
 
Now returns a second stamp, which I just happened to truncate using INT

Today returns it without the stamp. So probably better to use that.

I take it you're writing a 'How much I made this month' spreadsheet ;-)

Nah, how much have I got left to spend spreadsheet
 

Advertisers

Back
Top