Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

index/match formula problem in excel

Posted on 2011-09-12
5
Medium Priority
?
305 Views
Last Modified: 2012-05-12
the yellow coloured cell in t4 has a formula that should return the value from c4. it works for finish, but not for stop1, stop2 and stop3. any idea how to fix this? thanks!
time-trial-calculator.xls
0
Comment
Question by:stmoritz
  • 2
  • 2
5 Comments
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 700 total points
ID: 36522000
The second MATCH function should have a zero as third argument - for an exact match - like this

=INDEX($A$3:$P$333,MATCH($A4,$A$3:$A$333,0),MATCH($R$2,$A$3:$P$3,0))

regards, barry

0
 

Author Comment

by:stmoritz
ID: 36522045
thanks barry that looks much better. now it display value from b4, but it shou c4?
0
 
LVL 50
ID: 36522065
Hello,

You are looking up the value for the column headed "Stop1", but going by the description of the expected result, you want one column to the right of that, so you will need to amend the second Match by 1

=INDEX($A$3:$P$333,MATCH($A4,$A$3:$A$333,0),MATCH($R$2,$A$3:$P$3,0)+1)

cheers, teylyn
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 300 total points
ID: 36522080
Since you apparently try to look up the value in the same row, you don't really need the first Match in the formula. A shorter alternative would be

=INDEX($A$3:$P$333,ROW(A2),MATCH($R$2,$A$3:$P$3,0)+1)

or

=INDEX($A4:$P4,,MATCH($R$2,$A$3:$P$3,0)+1)

cheers, teylyn
0
 

Author Closing Comment

by:stmoritz
ID: 36522087
thanks
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question