Display the value when the condition matches with a formula in an excel report

With a big data, it is not easy to spot the value I need so I needed a formula that once it matches the condition that I am asking for, it will display the corresponding value. In fact, this is an alternative of the vlookup because if vlookup is not working as I expected, I try this one.

formula excel

 

When I use the formula ?

To show me the value corresponding to a specific condition.

 

How to use the formula ?

The formula in this topic is with "," so depending of the operating system of your PC, the formula should have ";" instead of ",".

 

How are the formulas ?

=INDEX()

=MATCH()

This formula will find “chocolate” in the column A and once done, it will display its corresponding value in the column F:

=INDEX(F:F,MATCH("chocolate",A:A,0))

This formula will do the same thing, only that its search area is from the column D to G:

=INDEX(D2:G4,MATCH("chocolate",A2:A4,0),4)

The number 4 corresponds to the column G because D to G is 1 to 4.

formula excel

Interesting Management