Change Cell Colour Based On Range of Cells

David102938

New Member
Joined
Nov 26, 2018
Messages
7
So I have a range of cells for a worksheet (C5:Q5 to be precise) and I want cell BY to turn red if all of those cells are blank, I know I can use Conditional Formatting to do this but I'm not sure what formula to use. Would I be able to do it for one row and then quickly do it for other rows? Or would I need to redo the process for each row, and would I be able to add in extra columns between C5 and Q5 and keep the rule?

Any help is much appreciated!
 
Actually, one more thing, how can I quickly apply this to other cells (But obviously using row 5, then 6 and so on, without having to re-type the whole thing, I saw someone mentioned using the Format Painter, but I'm not sure how I'd go about that
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Actually, one more thing, how can I quickly apply this to other cells (But obviously using row 5, then 6 and so on, without having to re-type the whole thing, I saw someone mentioned using the Format Painter, but I'm not sure how I'd go about that

Simply select the cells you want the formula to work on (eg B5:B15), then create a rule & enter the formula.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

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