Scheduling Variable Feed Sources

Share

Facebook
Twitter
LinkedIn

In Manufacturing, Mining and many other industries, bulk commodities are received or delivered in batches or parcels of various sizes and with various properties.

Businesses are often required to schedule the usage of these commodities in quantities which differ from the deliveries. Often commodities are used on a First In First Out (FIFO) basis, or they may be scheduled to meet certain input qualities, ie: Constant or Min/Max of an input quality.

This post will give some basic ideas for this type of scheduling within Excel.

Scheduling First in First Out Usage

Unlike my previous posts, this post will not be walking the reader through the actual scheduling or setup of the worksheet, but will look at each section of the scheduling process and discuss the relevant points where appropriate with reference to the implementation in Excel.

The Scheduling Workbook, Page Sched1 shows a simple FIFO schedule using an Iron Ore mine as an example.

Each section below is highlighted in the sample workbook.

Section 1. Inputs

Various parcels of Iron Ore are presented in order of delivery to a plant or as mined.

Each parcel is of a different sizes (Tonnage) as well as having various qualities of 3 different properties, namely the Iron (Fe), Silicon (Si) and Aluminum (Al) content. These are expressed as percentages but could be Kg/t etc.

Parcels may further be categorized as High, Medium or Low Grade.

From a production point of view it is important to know how much feed is required to meet a certain output from a process or what the quality of mixtures will be.

Section 2. Production Schedule

The mine/plant has a production schedule, ie: a quantity of Iron Ore that it is expected to mine or process every month. The schedule may have ups/down to reflect shutdowns, holidays, changes in rosters/workforce  etc.

Section 3. Schedule

This part does the mechanics of the actual scheduling, allocating parcels of each block until the monthly requirement is met.

In operation it takes the minimum of the size of each parcel minus what has already been processed from that parcel or the production requirement minus what has already been processed that month.

This is done using a simple Min and Sum formula.

Example: K18: =MIN($C18-SUM($I18:J18),K$6-SUM(K$9:K17))

Conditional formatting is used to highlight the cell as a scheduled cell (tonnes > 0)

Example: Conditional Formatting, Cell Value > 0

Section 4. Reporting

Reporting can be prepared for Month by month production, Cumulative from the start or Remaining until the end.

Sum and Sumproduct formula are used to calculate weighted average for elemental grades as you have the quantity of each parcel, each month and the associated grades in the input areas.

Example: Cumulative %Fe in April 10, K36: =SUMPRODUCT(K$10:K$31,$E$10:$E$31)/K$35

More complex Sumproduct formula are used to report by various classifications.

Examples:

Used High grade tonnage in march, J53: =SUMPRODUCT(1*($D$10:$D$31=$I52),(J$10:J$31))

Used Medium grade %Fe in April 10, K59:  =IF(K58>0,SUMPRODUCT(1*(($D$10:$D$31)=$I57)*(K$10:K$31),($E$10:$E$31))/K$58,0)

Section 5. Charting

Having produced a schedule and associated reports you now have a large amount of data which can be plotted to suit requirements.

The Next Step

Once a schedule has been achieved you can feed the production quantities directly into a budget or other downstream system as required.


Scheduling Random or Planned Usage to Achieve Goals

Although the above example, Sched1, is simplistic, First In First Out schedules can and are used in real life. However often some degree of stockpiling is allowed.

This means that parcels can be used in a different order to which they are delivered.

Often this is done so that the input quality of the feed source is varied or maintained, ie Averaged at a level, maintained below or above a level or maximised or minimized according to constraints.

The Scheduling example file, page Sched2 offers a simple manual way to account for this.

Sched2 varies from Sched1 in that it allows manual selection of the order in which parcels are processed.

This is done by simply allowing the user to specify which order parcels will be treated.

The spreadsheet then does all the work with the added benefit of tracking stockpile levels, as often these must be maintained at certain levels.

The spreadsheet has the same reporting and charting functions available as in Sched1.

Summary

In both the examples the scheduling is done using simple, Sum’s, Min and Max formulas.

The actual scheduled production is highlighted using conditional formatting.

The reporting is done using Sum and Sumproduct formulas.

In both examples adjust the values in the various Yellow cells and watch the scheduled tonnages and qualities change.

Next

The purpose of this post was simply to introduce the reader to simple options for scheduling.

It is clear that you now have a simple process from which to derive inputs to a budget, tracking and prediction reports

The post doesn’t attempt to go anywhere near optimization of the schedule using linear programming or other techniques.

However you can see that the addition of Excel solver may be possible to attempt to balance or minimise or maximise outputs, but this is beyond this simple example.

Functions Used:

Min: =Min(Range) returns the Minimum number from the Range

Max: =Max(Range) returns the Maximum number from the Range

Sum: =Sum(Range) adds the values in the Range

If: =If(Condition, Do this if condition is true, Do this if condition is false)

Sumproduct: http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/

How do you Schedule your production scenarios? Let us all know in the comments below:

Next week: Word Art – Yes it has a use !


Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

21 Responses to “Make a Pivot Table in Excel [15 Second Tutorial]”

  1. [...] First step is to create Pivot Table. Here is a video tutorial on making pivot tables. [...]

  2. Wilson says:

    Dear Sir,

    I would like to study pivot table from basics detailed.Pls send me the tips of that

  3. baran says:

    merccccccccccccccccccccccccccccccccccccc

  4. [...] Click here to see a video tutorial of making pivot tables in excel | One more Pivot Table Video Tutorial [...]

  5. surbamanyam says:

    it is very useful

  6. jitender says:

    hello sir

    please send me some information of pivotable. and how to use it
    because I am beginer so how can i learn it the pivotable.
    and sir will you send me pivotable data because i have no data and i don't
    know how to applyed for the pivotable. give some videos so I learn quikely.

    thank you
    and my best
    anticipation

  7. keri says:

    Hi,

    This tutorail was helpful. If possible can you please email me some data, so I can create another pivot table? I am trying to learn ASAP and need some info.

    Thank you

  8. yemi says:

    Top of the day to you. can you pls send me a detailed tutorial on the pivot table tutorial? Thanks.

  9. karthick says:

    Hi,
    please tell me how to use Pivot table.

  10. Pooja says:

    Dear Sir,
    I visited this website of urs for the very first time and trust me this is fabulous.i learnt pivot table through this.Thanks a lot.In corporate world nobody gonna make u learn these things.m very grateful to u.This is a great initiative from ur side.Commendable job done.Hats off to u.For beginners also this is very helpful.The way this website makes u learn excel is very good.

    Pooja

  11. Priscilla says:

    Can you please email me information to put into a pivot table and possibly a complete set of instructions?  I am a beginner to pivot tables and am possibly interested in obtaining a position that requires pivot tables.  thank you.

  12. [...] Click here to see a video tutorial of making pivot tables in excel | One more Pivot Table Video Tutorial [...]

  13. Kawsar says:

    It's simply great..!!

  14. James Perry says:

    Cool!
    Fast but not furious.

  15. Adepoju Teniola says:

    Pls email me details of pivot table. I want to learn it asap because I just got a job that requires this. Thanks

  16. nihal ahmed says:

    it is very useful..............thanks

  17. Tabassum says:

    Sir please can u send me the complete explanation of pivot tables from basics

  18. Guruprasad says:

    hello,

    I wanted to know how to put pivot with emp id, emp name, emp position in one row.

    Ex:-
    cel A4 should have Emp id
    Cell B4 should have Emp Name
    Call C4 should have Emp Position

    many thanks in advance

  19. George Dorne says:

    Nice information, thanx my dear.

Leave a Reply