Gantt Chart showing tasks in 1/4days using conditional formatting

HighlandRanger

New Member
Joined
Feb 8, 2021
Messages
21
Office Version
  1. 365
Platform
  1. MacOS
Using WORKDAY.INTL to be able to hide weekends and holidays, is it possible to display upto 2 months and use conditional formating to show a gantt chart with days divided into 1/4s? I have presented a table with one week to show an example.
2223242526
FEATUREBACKLOG ITEMEffortStart DateEnd DateMTWTF
Parent Task4.752/22/212/26/21
Child Task 112/22/212/22/21
Child Task 20.252/23/212/23/21
Child Task 30.52/23/212/23/21
Child Task 412/23/212/24/21
Child Task 50.52/24/212/25/21
Child Task 60.52/25/212/25/21
Child Task 712/25/212/26/21
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Use "X12bb Mini sheet" and every one can see the formulas of the cells.
I for one have no idea what you are referring too with WORKDAY.INTL or gantt chart
 
Upvote 0
Use "X12bb Mini sheet" and every one can see the formulas of the cells.
I for one have no idea what you are referring too with WORKDAY.INTL or gantt chart
The above example is a manually created table with no formula. I created it to show what I want to be able to do.

Here is a link to the WORKDAY.INTL function
 
Upvote 0
My apologies, I believe I have under estimated my ability to solve your issue.
If no-one else looks in and picks it up, "Bump" the question in an hour or so
 
Upvote 0
Very simple Gantt with sequential logic.
Cell Formulas
RangeFormula
F3F3=C6
J3,N3,R3,V3,Z3,AD3J3=WORKDAY.INTL(F3,1,1)
F4,J4,N4,R4,V4,Z4,AD4F4=F3
G4,K4,O4,S4,W4,AA4,AE4G4=F3+0.25
H4,L4,P4,T4,X4,AB4,AF4H4=F3+0.5
I4,M4,Q4,U4,Y4,AC4,AG4I4=F3+0.75
F5:AG9F5=IF(AND($C5<=F$4,$D5>=F$4)," ","")
C5C5=MIN(C6:C9)
D5D5=MAX(D6:D9)
D6:D9D6=IF(OR(WEEKDAY(C6+E6-0.25)=7,WEEKDAY(C6+E6-0.25)=1),C6+E6-0.25+2,C6+E6-0.25)
C7:C9C7=IF(OR(WEEKDAY(D6+0.25)=7,WEEKDAY(D6+0.25)=1),D6+0.25+2,D6+0.25)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AD5:AG9Cell Value=" "textNO
F5:AC9Cell Value=" "textNO


Workday.intl doesn't do fractions of a day - which makes the schedule logic tough to do. So it's hard coded with no sat or sun, and holidays are a problem.
 
Upvote 0
Very simple Gantt with sequential logic.
Cell Formulas
RangeFormula
F3F3=C6
J3,N3,R3,V3,Z3,AD3J3=WORKDAY.INTL(F3,1,1)
F4,J4,N4,R4,V4,Z4,AD4F4=F3
G4,K4,O4,S4,W4,AA4,AE4G4=F3+0.25
H4,L4,P4,T4,X4,AB4,AF4H4=F3+0.5
I4,M4,Q4,U4,Y4,AC4,AG4I4=F3+0.75
F5:AG9F5=IF(AND($C5<=F$4,$D5>=F$4)," ","")
C5C5=MIN(C6:C9)
D5D5=MAX(D6:D9)
D6:D9D6=IF(OR(WEEKDAY(C6+E6-0.25)=7,WEEKDAY(C6+E6-0.25)=1),C6+E6-0.25+2,C6+E6-0.25)
C7:C9C7=IF(OR(WEEKDAY(D6+0.25)=7,WEEKDAY(D6+0.25)=1),D6+0.25+2,D6+0.25)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AD5:AG9Cell Value=" "textNO
F5:AC9Cell Value=" "textNO


Workday.intl doesn't do fractions of a day - which makes the schedule logic tough to do. So it's hard coded with no sat or sun, and holidays are a problem.
Well, that works. But I would really like to be able to skip holidays and show employee time off too.

Something I could enter in a table. Like

EMPLOYEESTARTENDTOTAL DAYS
Ken3/8/213/10/213
Derick3/18/213/19/212
Simeon3/18/213/22/215
Justin3/29/213/31/213


Hmm... if only Workday.intl would do fractions. Any other ideas for a workaround?
 
Last edited:
Upvote 0
I spend a while trying to get it working - and it always had some kind of weirdness. I couldn't get it to work.

I custom VBA function would have to come into play here.
 
Upvote 0
See this thread, its on a hourly gantt time chart, might give you some idea, as your are doing days in portions Mr Excel
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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