Formatting a cell based on another cell's value

Modified on Wed, 24 Mar, 2021 at 1:22 PM

In this scenario I wish to format a cell if a different cell contains the text "Extra"


Firstly, select the cell to be formatted


Then, from the Home menu select the Conditional Formatting menu and then select New Rule



Select "Use a formula to determine which cells to format"



I want the cell to go green if the word "extra" is found so my formula will be 


=ISNUMBER(SEARCH("extra",A2))


please note - this method is not case sensitive so all instances of the word extra will be picked up even if it is capitalised. Also a positive result will be returned if the word is found within another word (e.g extraordinary would produce a positive result")


The formatting can then be dragged down to fill as many cells as required



Result



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article