Coverting hours in Gantt Chart Excel

olsen9

New Member
Joined
Sep 23, 2011
Messages
2
I'm looking to create a gantt chart for a project timeline.
I need some help writing the code to handle.

The goal is to take start date and have the code calculate and end date of the task my hours of the project. Also based of a percentage of my day.

For example: If task A is going to take me 24 hours to complete. If the start date is 9/23/11 and I want to use 20% of my 40hr week to handle this project how long will it take me? So 20 % of 40 hrs is 8hrs per week. This would then have an end date 3 weeks from now. I would like the code to change the date if I was to input variables for % of time per week and/or hours.

If anyone can help, I would greatly appreciate it.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I suggest designing a solution that uses worksheet formulas rather than VBA to make these calculations. The formulas are easier to debug, update automatically, and generally run faster than code.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,602
Members
449,089
Latest member
Motoracer88

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