Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

index/match formula problem in excel

Posted on 2011-09-12
5
Medium Priority
?
294 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

721 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