0% found this document useful (0 votes)
254 views6 pages

Production Scheduling Excel

This document describes how to allocate work tasks across multiple days based on their duration and a maximum hours per day. It provides the source data of tasks and durations. Formulas are presented to generate a table that populates each day with the task, allocated duration, and ensures the maximum hours per day is not exceeded. Additional logic is included to automatically add more days or tasks as needed.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
254 views6 pages

Production Scheduling Excel

This document describes how to allocate work tasks across multiple days based on their duration and a maximum hours per day. It provides the source data of tasks and durations. Formulas are presented to generate a table that populates each day with the task, allocated duration, and ensures the maximum hours per day is not exceeded. Additional logic is included to automatically add more days or tasks as needed.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

WorkList TaskA TaskB TaskC TaskD

WorkDuration 40 20 5 15

CumulativeDuration 40 60 65 80

Source Data

Helper Column

Formula for Column C (entered into cell C2, and copied down) =SUM(B$2:B2)

WorkItems TaskA TaskB TaskC TaskD

Day1 24 0 0 0

Day2 16 8 0 0

Day3 0 12 5 7

Day4 0 0 0 8

1 2 3 4 5

WorkItems TaskA TaskB TaskC TaskD

Simple pivot table generated via formula. Formula in cell A2; copied down =SourceData!$A2 (Note: If the WorkList is reordered in the sourcedata, you will need to update the formulas in cells A2:A5)

Same pivot table with SourceD

Formula in cell B2; copied to remaining cells =MIN((SourceData!$B2-SUM($A2:A2)), (MaxHrsPerDay-SUM(B$1:B1)))

Formula in cell I2; copied dow =INDEX(SourceData!A:A,ROW( (Note: If the WorkList is reorde

Formula in cell J2; copied to re =MIN((INDEX(SourceData!$B:$

You can add more DAYS to the header in each table as needed

Day1 24 0 0 0

Day2 16 8 0 0

Day3 0 12 5 7

Day4 0 0 0 8

A Live Image of the SourceData (for viewing convenience)

WorkList TaskA TaskB TaskC TaskD

WorkDuration 40 20 5 15

Durations are allocated to individual days up to MaxHrsPerDay

me pivot table with SourceData references made more location independent

rmula in cell I2; copied down NDEX(SourceData!A:A,ROW()) If the WorkList is reordered in the sourcedata, the formulas automatically adjust to the change)

rmula in cell J2; copied to remaining cells MIN((INDEX(SourceData!$B:$B, MATCH($I2,SourceData!$A:$A, 0))-SUM($I2:I2)), (MaxHrsPerDay-SUM(J$1:J1)))

as needed

iewing convenience)

Day 1 2 2 3 3 3 4

Work Item TaskA TaskA TaskB TaskB TaskC TaskD TaskD

Allocated Duration 24 16 8 12 5 7 8

A Live Image of the SourceData (for vie

WorkList TaskA TaskB TaskC TaskD

Wor

WorkList items are auto added as needed Days are auto added as needed Note: All formulas need to be entered with Ctrl + Shift + Enter

Durations are allocated to indiv up to MaxHrsPerDay

Formula in cell A2 for Day; copied down =IF(SUM(C$1:C1)>=SUMPRODUCT(WorkDuration), "", MAX( N(A1) + (SUMIFS(C$1:C1, A$1:A1, A1)>=MaxHrsPerDay), 1)) Formula in cell B2 for Work Item; copied down =IF(SUM(C$1:C1)>=SUMPRODUCT(WorkDuration), "",INDEX(WorkList, MATCH(TRUE, (CumulativeDuration-SUM(C$1:C1)) > 0, 0))) Formula in cell C2 for Allocated Duration; copied down =IF(SUM(C$1:C1)>=SUMPRODUCT(WorkDuration), "",MIN(INDEX(WorkDuration, MATCH(TRUE, CumulativeDuration SUMIFS(C$1:C1, B$1:B1,B2), MaxHrsPerDay-SUMPRODUCT((A$1:A1=A2)* IF(ISNUMBER(C$1:C1), C$1:C1, 0))))

Live Image of the SourceData (for viewing convenience)

WorkList TaskA TaskB TaskC TaskD

WorkDuration 40 20 5 15

Durations are allocated to individual days up to MaxHrsPerDay

=MaxHrsPerDay), 1))

SUM(C$1:C1)) > 0, 0)))

mulativeDuration-SUM(C$1:C1) > 0, 0)) -

You might also like