Conditional Formatting

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
Hi folks,

I'm trying to write a conditional format (Excel 2007) so that when any cell in, say, Col H displays "Yes" the entire row then has a background colour of, say light blue, applied.

Any help will be appreciated.

Mel
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi Mel

i don't have 2007 to hand, but I know you can apply CF in much the same way as in earlier versions. You just need to select the area you want the CF to apply to and then get to the point where you define the formula to use with the CF (Insert>Names>Define>Formula Is in 2003) and use:

=$H1="yes"

assuming row 1 is the first row of your selected range - amend as appropriate.


EDIT: in 2007 it is Home tab> Conditional Formatting button>New Rule>Use formula> then type in the =$H1="yes"
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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