if then on chart

  • Thread starter Thread starter accesscrazy
  • Start date Start date
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.
 
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
 
Back
Top