Conditional format entire row(s)

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
I have a large spreadsheet and I want to use conditional formatting to highlight any row based upon the text "order cancelled" in cells of column H

Any help will be appreciated.

Thank you.

Mel
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Just select all the rows you want to apply it to first, and then lock down the column reference in the formula.
(Be sure to write the formula as it applies to the first row in your selection, it will adjust for all the others).

So if you wanted to apply it to rows 2-100, select rows 2-100 (the entire rows), go to Conditional Formatting, choose the Formula option, and use this formula:
Excel Formula:
=$H2="order cancelled"
Placing the "$" in front of the column letter "H" locks it down, so every cell is looking at the value in column H.
Not placing the "$" in front of the row number allows it float, so row 2 will look at the value in H2, row 3 will look at H3, row 4 with look at H4, etc.
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,215,001
Messages
6,122,648
Members
449,092
Latest member
peppernaut

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