Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

index/match formula problem in excel

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
stmoritz
Asked:
stmoritz
  • 2
  • 2
2 Solutions
 
barry houdiniCommented:
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
 
stmoritzAuthor Commented:
thanks barry that looks much better. now it display value from b4, but it shou c4?
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
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
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
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
 
stmoritzAuthor Commented:
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now