Conditional Formatting based on two cell values

Solved/Closed
JamesA82 Posts 2 Registration date Friday 31 March 2017 Status Member Last seen 2 April 2017 - 31 Mar 2017 à 01:45
Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 - 3 Apr 2017 à 10:34
Hi There,

I'm using Excel 2016 and am trying to apply a conditional format that searches cells in column A for the text "*DEMO*", and also has a condition that the cell in column D (same row that DEMO is detected) is LESS THAN 15.

If both conditions are met, the cell in Column D should be highlighted Orange.

Many thanks for your help.

3 responses

Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
31 Mar 2017 à 15:06
JamesA82, Good afternoon.

Select cells at colunm D to apply the CF.

Suppose: D2:D100
Menu Conditional Format
Using Formula
=AND(NOT(ISERROR(SEARCH("*DEMO*", $A2))), $D2<15)

Select colour format as desired
OK

Please, tell us if it worked as you desire.
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
JamesA82 Posts 2 Registration date Friday 31 March 2017 Status Member Last seen 2 April 2017
2 Apr 2017 à 18:00
Worked perfectly, thank you Marcilio this will be very helpful for me.
Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
3 Apr 2017 à 10:34
JamesA82, Good morning.

Thanks for the feedback.

Glad to help you.
--
Belo Horizonte, Brasil.
Marcílio Lobão