Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Return value from a Two Variable Data Table with Dates

I need to return the value from I created a formula in cell I3:
=INDEX($B$2:$G$6,MATCH(I1,$A$2:$A$6),MATCH(I2,$B$1 :$G$1)). I would use cells
I1 as the input for column A data and I2 as the input for row 1 data. Using
the formula above doesn't work.

Also there would be an occasion where some of the input dates in cell I1 or
I2 could be inbetween different dates in the data table and not be exact.

11/1/2008 12/1/2008 1/1/2009 2/1/2009 3/1/2009 4/1/2009
11/1/2009 1 2 3 4 5 6
12/1/2010 1 1 2 3 4 5
1/1/2011 1 1 1 2 3 4
2/1/2011 1 1 1 1 2 3
3/1/2011 1 1 1 1 1 2
4/1/2011 1 1 1 1 1 1

--
Any help would be greatly appreciated.

Miroshak
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Return value from a Two Variable Data Table with Dates

=INDEX($B$2:$G$6,MATCH(I1,$A$2:$A$6),MATCH(I2,$B$ 1:$G$1))
Using the formula above doesn't work.


You're formula works OK for me.

You need to expand the range to include row 7.

=INDEX($B$2:$G$7,MATCH(I1,$A$2:$A$7),MATCH(I2,$B$1 :$G$1))

So, you'll have to expalin what isn't working.

--
Biff
Microsoft Excel MVP


"miroshak" wrote in message
...
I need to return the value from I created a formula in cell I3:
=INDEX($B$2:$G$6,MATCH(I1,$A$2:$A$6),MATCH(I2,$B$1 :$G$1)). I would use
cells
I1 as the input for column A data and I2 as the input for row 1 data.
Using
the formula above doesn't work.

Also there would be an occasion where some of the input dates in cell I1
or
I2 could be inbetween different dates in the data table and not be exact.

11/1/2008 12/1/2008 1/1/2009 2/1/2009 3/1/2009 4/1/2009
11/1/2009 1 2 3 4 5 6
12/1/2010 1 1 2 3 4 5
1/1/2011 1 1 1 2 3 4
2/1/2011 1 1 1 1 2 3
3/1/2011 1 1 1 1 1 2
4/1/2011 1 1 1 1 1 1

--
Any help would be greatly appreciated.

Miroshak



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup data in a variable table & retrieve data from a pivot table Shawna Excel Worksheet Functions 3 October 10th 08 11:11 PM
Get Formula from 2 variable Data Table Chad Excel Discussion (Misc queries) 3 June 27th 08 11:51 PM
one variable data table alexasanford Excel Worksheet Functions 2 March 8th 07 06:57 AM
How do I create a one variable data table? Prelll91 Excel Discussion (Misc queries) 1 February 27th 05 07:48 PM
How do I create a one variable data table? prelll91 Excel Discussion (Misc queries) 0 February 27th 05 07:47 PM


All times are GMT +1. The time now is 06:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"