Highlight a row based on a specific text in a cell in the row

b19upj

New Member
Joined
Oct 3, 2014
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am looking to highlight a row based on if a cell within that row is either blank (or 'n').
Basically, for the image attached, I am saying if someone has paid their bill or not.
If y in column H, it should just be no fill, but if they have not paid I would like the entire row of the table highlighted in yellow.
Please see the attachment of me doing it manually. I would like to work out how to do it (presumably with Conditional Formatting).
The data currently goes down to approx 500 rows but will need it to continue for new entries as well, so maybe up to 5000 rows.
TIA
 

Attachments

  • Screenshot 2021-03-09 192617.jpg
    Screenshot 2021-03-09 192617.jpg
    65.1 KB · Views: 244

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You can use Conditional Formatting to do this.

Here are the steps:
1. Select rows 5-12
2. Go to Conditional Formatting and select "New Rule", then "Use a formula to determine which cells to format"
3. Enter in the following formula:
Excel Formula:
=OR($H5="n",$H5="")
4. Choose the yellow fill formatting style
5. Click OK

This should do what you want.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,790
Messages
6,126,923
Members
449,348
Latest member
Rdeane

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