0

I'm trying to work out the following.

I have the following columns:

See image of worksheet

What I am trying to do is to create a formula that will return the correct profit based on 2 values:

  • Model name (M2, M3, M6)
  • Type (Sedan, Hatchback)

So, let's say cell A3 = "M3", cell A4 = "Hatchback". How do I create a formula that will return the value in cell F4, 16%?

What seems to break my lookup formulas is the fact that I have multiple identical values (Sedan, Hatchback).

Thank you in advance!

1 Answer 1

1

One possibility:

=INDEX(INDEX(C3:H4,0,MATCH(A3,C2:H2,0)+1),MATCH(A4,INDEX(C3:H4,0,MATCH(A3,C2:H2,0)),0))
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.