How to change text in a cell based on another cell

Closed
Negative459 Posts 1 Registration date Tuesday 26 November 2013 Status Member Last seen 26 November 2013 - 26 Nov 2013 à 14:51
sgmpatnaik Posts 52 Registration date Tuesday 2 April 2013 Status Member Last seen 27 November 2013 - 27 Nov 2013 à 05:52
I am working on an asset tracking sheet and I want to use conditional formatting to change the text in one cell based on the text in another.

Reference: Currently the data in column F shows different available asset types. If that particular asset has a limited quantity, denoted by "PP" in that cell's text, I have a formula in the next cell over (column G) to change the color of the text in the G cell to orange. =ISNUMBER(SEARCH("PP",F5))=TRUE.

Now I also want to add a formula which will change the text in the G cell to "N/A" (not orange) instead if "PP" is not found in the F cel. How can I do this? Thanks!

1 response

sgmpatnaik Posts 52 Registration date Tuesday 2 April 2013 Status Member Last seen 27 November 2013 45
27 Nov 2013 à 05:52
Hi

Try The below formula in G5

=IF(ISNUMBER(SEARCH("PP",F5)),"","N/A")

Hope it will solve other wise please inform

Thanks

Patnaik