Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Index and Match Formula

Hello,

I am having a few issues using the Index and Match formula in Excel.
For example I can get the Index and Match formula working if the data
is layed out like below:

A B
1 01/01/06 0.7
2 07/01/06 0.8
3 14/01/06 0.9

i.e. Cell A1 is 01/06/06.

Using the formula =(INDEX(A1:B3,MATCH("06/01/06",A1:A3,1)+1,1)) will
return 0.8. Which is correct I want the next row down.

How can I use this formula if the data is the other way round?

A B C
1 01/01/06 07/01/06 14/01/06
2 0.7 0.8 0.9

I want to return the amount depending on the date, for example if the
date is 06.01.06 I want to see 0.8. I tried a HLOOKUP but it returns
the left hand side i.e. 0.7. Anyone offer any help?

Thanks,
Brett
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Using Index and Match Formula

try this

=INDEX(A1:C2,2,MATCH("06/01/06",A1:C1,1)+1)



On Jun 5, 6:02*pm, Brett wrote:
Hello,

I am having a few issues using the Index and Match formula in Excel.
For example I can get the Index and Match formula working if the data
is layed out like below:

* * * * * *A * * * * * *B
1 * *01/01/06 * * 0.7
2 * *07/01/06 * * 0.8
3 * *14/01/06 * * 0.9

i.e. Cell A1 is 01/06/06.

Using the formula =(INDEX(A1:B3,MATCH("06/01/06",A1:A3,1)+1,1)) will
return 0.8. *Which is correct I want the next row down.

How can I use this formula if the data is the other way round?

* * * * *A * * * * * * * * *B * * * * * * * C
1 * *01/01/06 * * *07/01/06 * * 14/01/06
2 * * *0.7 * * * * * *0.8 * * * * * * * * *0.9

I want to return the amount depending on the date, for example if the
date is 06.01.06 I want to see 0.8. *I tried a HLOOKUP but it returns
the left hand side i.e. 0.7. *Anyone offer any help?

Thanks,
Brett


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using Index and Match Formula

On 5 June, 14:32, muddan madhu wrote:
try this

=INDEX(A1:C2,2,MATCH("06/01/06",A1:C1,1)+1)

On Jun 5, 6:02*pm, Brett wrote:



Hello,


I am having a few issues using the Index and Match formula in Excel.
For example I can get the Index and Match formula working if the data
is layed out like below:


* * * * * *A * * * * * *B
1 * *01/01/06 * * 0.7
2 * *07/01/06 * * 0.8
3 * *14/01/06 * * 0.9


i.e. Cell A1 is 01/06/06.


Using the formula =(INDEX(A1:B3,MATCH("06/01/06",A1:A3,1)+1,1)) will
return 0.8. *Which is correct I want the next row down.


How can I use this formula if the data is the other way round?


* * * * *A * * * * * * * * *B * * * * * * * C
1 * *01/01/06 * * *07/01/06 * * 14/01/06
2 * * *0.7 * * * * * *0.8 * * * * * * * * *0.9


I want to return the amount depending on the date, for example if the
date is 06.01.06 I want to see 0.8. *I tried a HLOOKUP but it returns
the left hand side i.e. 0.7. *Anyone offer any help?


Thanks,
Brett- Hide quoted text -


- Show quoted text -


Thank you, this is perfect. You are a star.
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
Index and Match Formula Barbara Schneier Excel Worksheet Functions 4 January 7th 07 06:07 PM
Need Help w/ Index and Match Formula japorms Excel Worksheet Functions 1 July 10th 06 09:57 PM
index, match formula Todd Excel Worksheet Functions 1 June 27th 06 08:43 PM
Formula using INDEX and MATCH SKY Excel Worksheet Functions 2 June 16th 06 01:12 PM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM


All times are GMT +1. The time now is 08:48 AM.

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"