Entire Row should fill with Yellow color and font should be Red using conditional formatting

vijavad

New Member
Joined
May 27, 2017
Messages
17
Platform
  1. Windows
Hi Folks,

Here is my question .

1) If i select the drop down list either Offshore Reject or Onsite Rejected or client rejected in the attached sheet in column H2 i want the entire row from A2 to H2 should be formatted with Yellow fill color and the font should be RED.
2) If i select the drop down list either Offshore Select or Onsite Select or client select in the attached sheet in column H2 i want the entire row from A2 to H2 should be formatted with green fill color and the font should be BLACK.

Can anybody help me in this .

Data Validation list is as below.

Offshore Reject
Onsite Rejected
Client Reject
Offshore Select
Onsite Select
Client select

<colgroup><col></colgroup><tbody>
</tbody>

Sl.NoSourceCandidate NameMobile Number Notice PeriodClient interview Completion DateCommentsFinal Status
1
2
3
4

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Select A2:H2 down to the last row of data
Conditional formatting > New Rule > Use a Formula > =ISNUMBER(SEARCH("Reject",$H2)) > select format > OK
And then repeat that but change the word "Reject" to "Select" for the other case.
 
Upvote 0
Hi Fluff,

Absolutely its working with your formula . But what if i need to check multiple conditions and apply colors to the rows.

Suppose my condition is to highlight the row A2:H2 to Yellow if i select from the drop down either On Hold or Reject or Position cancelled .

Do i need to use OR function ? Please help.
 
Upvote 0
Do i need to use OR function ?
You certainly can use the OR function, but you don't need to as there are other options too. Here are two.

=OR($H2="On Hold",$H2="Reject",$H2="Position cancelled")

=SEARCH("|"&$H2&"|","|On Hold|Reject|Position cancelled|")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top