gant tool

_ratS

New Member
Joined
Jun 29, 2011
Messages
12
Hi, i am working on this gant tool and i would like to know if this is posible:
I write time information for a processes inside some columns:
ex. from 6am to 6:05am

and next i draw chart inside rows to make it look visualy better.

My question is: Could i be inserting time information and excel would then automatically draw the chart?

PS: the operations are repeteable, so it can be "from 6 to 6:05" and sometime later from "7 to 7:20". So the gant chart should be drawn twice in the same row or more.

I am including picture.

Ty all!

ganttool.png


ganttool.png
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
This entire gannt chart could be made with conditional formatting:

Excel Workbook
ABCDEFGHI
2machine1machine2machine3
3beginendtimebeginendtimebeginendtime
46:096:180:096:006:050:056:056:090:04
56:206:460:26**0:00**0:00
6**0:00**0:00**0:00
7**0:00**0:00**0:00
8**0:00**0:00**0:00
9**0:00**0:00**0:00
10**0:00**0:00**0:00
11**0:00**0:00**0:00
12**0:00**0:00**0:00
13**0:00**0:00**0:00
14**0:00**0:00**0:00
15**0:00**0:00**0:00
16**0:00**0:00**0:00
17**0:00**0:00**0:00
18**0:00**0:00**0:00
19**0:00**0:00**0:00
Sheet1



Excel Workbook
KLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBI
1*6:006:106:206:306:40
2***************************************************
3machine1**************************************************
4machine2**************************************************
5machine3**************************************************
Sheet1


If you copy the array formulas across the rows, you'll get what you need. Just make sure that the second row (L2:BI2 in this example) contains the time for that column. So L2=6:00:00, M2=6:01:00, etc
 
Upvote 0
Oh and then apply conditional formatting to the gannt chart. If the value is 1, color it.
 
Upvote 0
OMG yeah thats exactly what i want, but i dont fully understand what should i do to make it work :(

could you take your time and write more step-by-step begginer article kinda text for me, cause right now i am so confused :S

btw i am working in excel 2003 is it ok?
 
Upvote 0
Step one:
Re-organize your time line. Add a row to your chart. In the first cell of this new row, set the time 6:00:00. The next, 6:01:00. Select these two cells and drag the contents all the way to the end of your gannt chart (to the right).
Dragging is done by moving the mouse to the bottom right corner of your selection, holding down the mouse button and, well, drag it

Step two:
In the first machine row, in the slot for the first minute, type the following formula:
=SUMPRODUCT(IF(L$2>=$A$4:$A$19,1,0),IF(L$2<$B$4:$B$19,1,0))
You have to replace the cell values with the cells that actually contain the data in your spreadsheet. L$2 refers to the row added in step one. $A$4:$A$19 refers to the start time of the processes. $B$4:$B$19 refers to the end time of the processes.
Once you've replaced these values, hold down CTRL and SHIFT and press ENTER. If you don't do this, the outcome of the formula will be a #VALUE error.

Step three:
Do the exact same thing for all the other machines in your system. Now select all the cells that contain these formulas (they should all be directly above each other) and drag these formulas across the entire row.

Step four:
Select all the cells in your gannt chart. Now go to the Excel menu: Format > Conditional Formatting. In the first drop-down box on the left, choose the 'Cell Value Is' option. In the second, 'larger than' and in the last, 0. Use the format button below to specify a format. I'd advise a fill in a single color.
You can also use different colors for different machines but then you'll have to apply the conditional formatting one row at a time.


Let me know if you get stuck. I might not respond immediately but I'll try to be as quick as I can.
 
Upvote 0
im getting an error when entering the "sumproduct" function and when pressing ctrl+shift+enter nothing happens
 
Upvote 0
This is because you skipped step 1.
Well, technically it is because the cell is referring to itself.

Put the formula in L3, not in L2.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

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