colour given number of cells

delta5555

New Member
Joined
Sep 5, 2002
Messages
11
hi,
is it possible to colour fill a given amount of cells, eg. if a1 = 5 then the 5 cells below will change colour,
and if the number changes then the amount of highlighted cells changes

thanks
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
On 2002-09-23 15:41, delta5555 wrote:

hi,
is it possible to colour fill a given amount of cells, eg. if a1 = 5 then the 5 cells below will change colour,
and if the number changes then the amount of highlighted cells changes

thanks

Yes to both!

colour cell depending on value / condition = conditional formatting.

change value of cell depending on value / condition of another cell = appropriate formula.

Check out conditional formatting in the help & post back with more info on the details of what you are trying to do.

Paddy
 

delta5555

New Member
Joined
Sep 5, 2002
Messages
11
im making a daily line bar schedule and i need to highlight cells to show how many people are on shift at any point in time,,

the highlighted cells will be next to peoples names
 

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
On 2002-09-23 16:17, delta5555 wrote:
im making a daily line bar schedule and i need to highlight cells to show how many people are on shift at any point in time,,

the highlighted cells will be next to peoples names

OK - but what are the conditions you want to implement? Please describe your data & the expected outcomes in a little more detial - no mind readers here!

paddy
 

Forum statistics

Threads
1,181,925
Messages
5,932,816
Members
436,863
Latest member
ajlauten

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