if then on chart

A

accesscrazy

I have a spreadsheet with a chart. Instead of graphing a number, I want a
box on the front of the chart that looks at todays date and returns the
corresponding number from the spreadsheet.


Date Number
1/22/2009 135
1/30/2009 150
2/05/2009 152
2/10/2009 0

So.. Today's date is 2/03/2009 … I would expect to see the number 152 on
the chart.
 
E

Ed Ferrero

Hi accesscrazy,
I have a spreadsheet with a chart. Instead of graphing a number, I want a
box on the front of the chart that looks at todays date and returns the
corresponding number from the spreadsheet.


Date Number
1/22/2009 135
1/30/2009 150
2/05/2009 152
2/10/2009 0

So.. Today's date is 2/03/2009 … I would expect to see the number 152 on
the chart.

Let's say your date table is in cells A1:B5
Then =VLOOKUP(TODAY(),A2:B5,2)
will show 152 if today is 2/05/2009

Ed Ferrero
www.edferrero.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top