Conditional Formatting

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
799
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
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
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:

Mel Smith

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

Perfect, thank you.

Mel
 

Watch MrExcel Video

Forum statistics

Threads
1,122,382
Messages
5,595,853
Members
414,027
Latest member
zippyfrog

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
Top