Multiple row formatting

kshah2k4

New Member
Joined
Jan 27, 2005
Messages
7
Hello,

I am trying to set conditional formatting for multiple rows. Basically what needs to happen is that based on the value (between 1-20) in column G a whole row will be formatted with a specifit colour.

i tired the "formula below" but cannot figure out how to get it to apply to multiple rows. it only seems to work for one row

Select the whole row. Select FORMAT --> CONDITIONAL FORMATING change Cell Value is to Formula is
and enter =$G$G=1 and then set the colour i want to format.

If i select a specific cell like G$18=0 it fors for row 18 but not for any other row.

any ideas?

thanks

Kevin
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Your formula in the first row's (row 1 in this example) conditional format needs to be:

=$G1=1

You can then select that row, copy it and paste values to the other rows.

(y)
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Sorry I mean Paste Special... Formats not paste values
 

kshah2k4

New Member
Joined
Jan 27, 2005
Messages
7
ok, that worked, you are awesome,

BUT, conditional formatting only allows for 3 conditions. I need to set 20 different conditions. Any ideas?

thanks again

Kevin
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
It is a bit limiting. You're heading into the realm of visual basic there I'm afraid. Unfortunately while I mess with it, it's not my strong point.

I remember seeing a similar query on here not too long ago so you may want to use the search facility and see what you come up with.

Sorry can't be more help.

(y)
 

Forum statistics

Threads
1,148,047
Messages
5,744,493
Members
423,880
Latest member
CRE_finance_guy

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