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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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)
 
Upvote 0
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
 
Upvote 0
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)
 
Upvote 0

Forum statistics

Threads
1,214,577
Messages
6,120,359
Members
448,956
Latest member
Adamsxl

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