Auto colour

24849308

New Member
Joined
Jul 12, 2009
Messages
47
Hi, Is there a way to situ colour a range of cells based on a number is a separate cell

e.g. If C10 had a value of 32, then 32 cells from a range of A1-50 would turn green. If C10 number changed then so would the coloured cells in column A
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
How about
+Fluff v2.xlsm
ABC
1
2
3
4
5
6
7
8
9
107
11
12
13
14
15
16
17
18
19
20
21
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A20Expression=ROW()<=$C$10textNO
 
Upvote 0
How about
+Fluff v2.xlsm
ABC
1
2
3
4
5
6
7
8
9
107
11
12
13
14
15
16
17
18
19
20
21
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A20Expression=ROW()<=$C$10textNO
Looks like has nearly worked, thank you. I need the colouringto start from A17 now, if possible
 
Upvote 0
In that case select A17 downwards & use
Excel Formula:
=ROW()-16<=$C$10
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,236
Members
448,555
Latest member
RobertJones1986

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