Gant like chart

ANDREWUK

New Member
Joined
Sep 17, 2006
Messages
1
Hi new here,

After some help!

I am writing a spread to produce a Gant like chart.
I have produced a gant chart using conditional formatting to fill in the cells no problem
Like this example http://www.mrexcel.com/tip058.shtml

But no rather than enter a start and end day I wish to only have one column for the number of days.
Therefore the 1st row would be 10 days and 10 cells would fill, the second row would say 5 days and
This would fill in 5 rows starting after the day (but on the row below), is this possible any tips or ideas
Welcome.


thanks
[/b]
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Lightly tested...

Suppose your data are in column A starting with A1. Now, select the cells in row 1 starting with B1. Select Format | Conditional Formatting..., change the first dropdown to 'Formula Is', and enter the formula =COLUMN()-COLUMN($B1)+1<=SUM($A$1:$A1) Set the format as desired.

Now, select all additional rows of interest starting with B2. Select Format | Conditional Formatting..., change the first dropdown to 'Formula Is', and enter the formula
=AND($A2<>"",COLUMN()-COLUMN($B2)+1<=SUM($A$1:$A2),COLUMN()-COLUMN($B1)+1>SUM($A$1:$A1))
Set the format as desired.

[Note the use of both absolute and relative addresses in the 2 formulas.]
 
Upvote 0

Forum statistics

Threads
1,222,022
Messages
6,163,451
Members
451,837
Latest member
gmc

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