Conditional Format Multiple Rows

John Caines

Well-known Member
Joined
Aug 28, 2006
Messages
1,155
Office Version
  1. 2019
Platform
  1. Windows
Hello All;; (I see we've gone green! :)

I'm trying to speed up a way of conditional formatting rows of data in excel 2010.

Example;
I have say 30 rows of data.
Range is B5:I34
So 30 rows,,

Here's my issue. Say for row (B5:I5) ,, the column H shows just the word 'YES or NO'
So,, if H5 says the word YES I want to format the whole row (2 shades of yellow.)

OK,, I know how to do this,, go to conditional formatting (Whilst I've selected cell range B5:I5/Then select "Use Formula to determine which cells to format",,, enter =$H5="YES" then just go to format,, and select colours,, then click apply.

Great!!
But,,, do I really have to do this for every row?
I mean,, is there a way to somehow copy/paste formula or something,, or use 1 formula, 1 condition for all the rows?

Otherwise I have to repeat this action 30 times,, 1 by 1.

there must be quick way to do this for all 30 rows?

I just checked youtube,, but just found how to condition 1 row (Which I can do anyway,, but how can I do this for all the rows,, so I don't do it 30 times?

I hope the above makes sense.
(Just to add,, if I was at row 18,,, the 'Yes' 'No' cell would be H18,,, to format from B18:I18

I hope somebody can advise.

Many Thanks
JC.
I like the green!!! Eco Friendly! :)
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hightlight B5:I5

If you click on the square box on the bottom of I5 and drag down, that will pull the conditional format with it.
 
Upvote 0
Skybluekid!!
Many thanks,,:(

I feel a bit stupid,, I know I've done this before,, it was a while ago,,, I just forgot...:(

I still went and done it 30 times!!
But,, just tried your solution,, works great...!!!

Again many thanks,
I won't forget this again I can assure you!
All the best
JC
 
Upvote 0

Forum statistics

Threads
1,203,240
Messages
6,054,317
Members
444,717
Latest member
melindanegron

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