Match 2 criterias with or without cells containing a phrase in different columns with a formula in an excel report
When I have a cell with a single word, it is quite easy to match it but if this word, that I want to match, is inside a sentence, the formula is different.
When I use the formula ?
When I need to match two conditions in order to calculate a value for instance.
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 is/are the formula(s) ?
=INDEX()
=MATCH()
=ISNUMBER()
=SEARCH()
For a single word:
=INDEX(D:D,MATCH(1,("orange"=C:C)*("plane"=A:A),0))
I am asking to show me the value in column D if it finds “orange” in column C and “plane” in column A.
Search the single word into a comment:
=INDEX(D:D,MATCH(1,ISNUMBER(SEARCH("ch",B:B))*("orange"=C:C),0))
I am asking to show me the value in column D if it finds the word “ch” in column B and “orange” in column C.
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...