Automate Gantt Chart Creation - Excel Help & Excel Macro Help
SEARCH ENTIRE SITE LOADING..

Excel Help & Excel Best Practices Forums

 

Proudly Affiliated With: Intelligent Converters & AnalyserXL <Affiliate Program & ExcelUser Affiliate>

 

SPECIALS PAGE FOR BARGAINS | FREE EXCEL TRAINING | FREE CUSTOM FUNCTIONS ADD-IN


Go Back Excel Help & Excel Macro Help > HELP FORUMS > EXCEL HELP
HOME Register Forum Help Calendar Search For Today's Posts Mark Forums Read

Closed Thread

Automate Gantt Chart Creation

ANSWERS TO SIMILAR QUESTIONS
Automate Chart(s) Creation For Multiple RangesAutomate The Pivot Table Creation Through VbaAutomate Pivot Table Creation via MacroAutomate Pivot Table Creation



Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com

Create Excel dashboards quickly with Plug-N-Play reports.


 
Thread Tools Search this Thread
Old November 7th, 2006
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
Eclipse Eclipse is offline
Member
 
I'm a Spammer:
MS Office Version: 2003
Op System: Windows XP
Assumed Experience: More than before.
Join Date: 3rd February 2006
English is 1st Language:
Posts: 65 -- Threads: 8
Automate Gantt Chart Creation

Good morning,

I am trying to find a way to automate this crude gant chart.

What I am trying to do is the following:

1: By entering a start date and due date, and by adding a percentage to 4 different goals, create a sort of gant chart for each job.

2: Have this chart update as the start and due dates change.

3: Be able to past other gant charts below this one, based on the leader assigned to each job. ie. if Dave is a leader, create a worksheet that will have all of dave's Gant charts in one workbook, on one worksheet, pasted each one below the next. The goal being we can give each leader 1 sheet that has all their jobs.

I know this is alot, so any help, or other suggestions are definately welcome.

Please see example workbook for general goal.

Thanks in advance,

E
Attached Files. REMINDER! OzGrid accepts no responsibility for ANY adverse effects as a result from downloading attached files. ALWAYS run an up-to-date virus scan and disable macros.
File Type: zip Gant.zip (7.9 KB, 353 views)
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread]
Old November 8th, 2006
Andy Pope's Avatar
Andy Pope Andy Pope is offline
OzMVP (Roobarb)
 
I'm a Spammer:
MS Office Version: 2000/2003/2007
Op System: Vista Business
Assumed Experience: Ever growing
Join Date: 7th March 2003
English is 1st Language: Yes
Location: Essex, England
Posts: 11,320 -- Threads: 32
Re: Automate Gantt Chart Creation

This might be a way to go.
Using vlookup and conditional formatting
Attached Files. REMINDER! OzGrid accepts no responsibility for ANY adverse effects as a result from downloading attached files. ALWAYS run an up-to-date virus scan and disable macros.
File Type: zip 59770.zip (7.7 KB, 750 views)
__________________

Cheers
Andy


Last edited by Dave Hawley : May 1st, 2007 at 19:18.
Print [Post / Thread]
Old November 8th, 2006
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
Eclipse Eclipse is offline
Member
 
I'm a Spammer:
MS Office Version: 2003
Op System: Windows XP
Assumed Experience: More than before.
Join Date: 3rd February 2006
English is 1st Language:
Posts: 65 -- Threads: 8
Re: Automate Gantt Chart Creation

Hi Andy,
Thanks so much for your reply. Can you please help me understand this a bit?

=IF(MATCH($A11,$A$11:$A$14,0)=VLOOKUP(B$10,$AS$2:$BE$6,13,TRUE),-1,0)

and why the conditional formatting would be simply equals -1 ?

I mean .. I know it all works .. I would just like to know how LOL.

Also .. in my cells AS3:AS6 I have Department due dates, and next to them is percentages.

Is there a way to take the Y5:Y6 dates, and apply a percentage of the dates to each department?

Thanks for your help!

E
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread]
Old November 8th, 2006
Andy Pope's Avatar
Andy Pope Andy Pope is offline
OzMVP (Roobarb)
 
I'm a Spammer:
MS Office Version: 2000/2003/2007
Op System: Vista Business
Assumed Experience: Ever growing
Join Date: 7th March 2003
English is 1st Language: Yes
Location: Essex, England
Posts: 11,320 -- Threads: 32
Re: Automate Gantt Chart Creation

The formula checks the value in the 13th column of the table in $AS$2:$BE$6 and matches to the position of the Row label.

So matches on dates AND role report a -1 otherwise 0.
The reason I chose -1 and 0 is that they are easy to hide by using a custom number format. General;;;

If you set the number format to general you will see the results of the formula.

The latest file has a very crude allocation formula for the % of duration.
Attached Files. REMINDER! OzGrid accepts no responsibility for ANY adverse effects as a result from downloading attached files. ALWAYS run an up-to-date virus scan and disable macros.
File Type: zip 59770a.zip (8.3 KB, 248 views)
__________________

Cheers
Andy

Print [Post / Thread]
Old November 8th, 2006
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
Eclipse Eclipse is offline
Member
 
I'm a Spammer:
MS Office Version: 2003
Op System: Windows XP
Assumed Experience: More than before.
Join Date: 3rd February 2006
English is 1st Language:
Posts: 65 -- Threads: 8
Re: Automate Gantt Chart Creation

Thanks for the explaination Andy. I was wondering what the 13 was refering to, and now I under stand why you added the numbers in column BE.

Now one last thing (I think)

In the cases where there would be more or less days, How do I get the dates in row 10 to auto fill to the correct number of days, and then also the formulas in rows 11,12,13,14 to populate to the same?

And would this be able to change as the dates in Y5 and Y6 change?

Thanks alot!

E
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread]
Old November 8th, 2006
Andy Pope's Avatar
Andy Pope Andy Pope is offline
OzMVP (Roobarb)
 
I'm a Spammer:
MS Office Version: 2000/2003/2007
Op System: Vista Business
Assumed Experience: Ever growing
Join Date: 7th March 2003
English is 1st Language: Yes
Location: Essex, England
Posts: 11,320 -- Threads: 32
Re: Automate Gantt Chart Creation

In C10 use
VB: AutoLinked keywords will cause extra spaces before keywords. Extra spacing is NOT transferred when copy/pasting, but IS if the keyword uses "quotes".
=If($Y$5+COLUMN()-2>$Y$6,"",$Y$5+COLUMN()-2)
Copy across to BX10.

In B10 use
VB: AutoLinked keywords will cause extra spaces before keywords. Extra spacing is NOT transferred when copy/pasting, but IS if the keyword uses "quotes".
=If(B$10="","",If(MATCH($A11,$A$11:$A$14,0)=VLOOKUP(B$10,$AS$2:$BE$6,13,True),-1,0))

The copy these down and across B11:BX14
__________________

Cheers
Andy

Print [Post / Thread]
Old November 8th, 2006
Intelligent Converters
FREE DOWNLOADS
File/Password Recovery
Eclipse Eclipse is offline
Member
 
I'm a Spammer:
MS Office Version: 2003
Op System: Windows XP
Assumed Experience: More than before.
Join Date: 3rd February 2006
English is 1st Language:
Posts: 65 -- Threads: 8
Re: Automate Gantt Chart Creation

Outstanding! It works a treat!

Thanks very much Andy! I learned a lot on this one!


E
__________________
ADS BY OZGRID. FREE DOWNLOADS SmartVBA | SmartVB6 | CodeVBA | CodeVB6 | Code Generator Pro | TraderXL Pro Package. MORE..
Print [Post / Thread]
Closed Thread Lifetime Upgrade To Ad Free Styles

   « PREVIOUS Text From Textbox (more Than 255 Char) || Validation: Text From Range or Numbers NEXT »
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 18:38.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ozgrid is Not Associated With Microsoft. Ozgrid Retains the Rights to ALL Posts and Threads