The Complete Excel Course with AI Integration

Excel formulas for supply chain analysts

Every week the same ERP order extract becomes the same figures: OTIF, fill rate, lead time and the lines still open. The Complete Excel Course with AI Integration teaches the formulas behind each in industry-standard projects. Here they are set out in the order the pack needs them: references and rates, IF with AND and OR, COUNTIFS and SUMIFS, date maths and NETWORKDAYS, then a model of plan against actual.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Label every order line OTIF, or name which half of the test it failed, with IF, AND, OR and IFS across the delivery dates and quantities.
  • Work out OTIF and fill rate by supplier, site and lane with COUNTIFS and SUMIFS, shown as percentages, with mixed references so one formula fills the whole scorecard grid.
  • Measure each line's lead time in calendar days with date arithmetic and count its working days with NETWORKDAYS, and age every open purchase order against TODAY for the expediting list.
  • Prove a week's extract before it is reported: COUNT against COUNTA to expose quantities held as text, a count of the line IDs against the rows, and COUNTA over UNIQUE for distinct items.
  • Keep rate columns readable with IFERROR, and catch the totals that go quietly wrong when ranges do not line up or a reference drifts as it is copied.
  • Set a demand plan beside actual shipments in one model with SORT, UNIQUE, VSTACK, TEXTSPLIT and SUMIFS, with variance and percent variance on every row.
  • Check a formula column that Copilot or ChatGPT drafts for your order extract, one row worked by hand, before it reaches the weekly pack.

Projects

What you will build.

The course has 14 industry-standard projects. These three matter most here.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built for budget against actual spending, its model sheet is the pattern for a demand plan set beside what shipped: one spilled list of keys from both tables, SUMIFS fetching each side, then variance and percent variance on every row for the S&OP review.

  • Project 01

    Personal Budget Tracker

    Your first workbook: where the money goes each month.

    Made as a household budget, it is where the arithmetic of every rate in the pack is learnt: totals that update themselves, a rate cell locked while the formula fills down, each line as a share of a total, and #DIV/0! turned into a readable message.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 03

    Sales Goal Tracker

    Built to track a sales team's deals against quota, it rehearses every test a supplier scorecard runs: each row judged against its own target, met, close or missed labels, and conditional counts and totals by region and product, the very shape of OTIF by supplier and lane.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 22 of them, 1 h 58 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 10 Relative vs absolute references in Excel

Start at Lesson 10 if you already total columns but have never trusted a formula copied across a scorecard: locked and mixed references are what keep a fill rate right on every row of it. If the spreadsheet itself is unfamiliar, the course opens with the Excel window at Lesson 1, and this path picks up from Lesson 8. Already writing IF with AND and SUMIFS every week? Move quickly to Lesson 39, where date arithmetic and working days begin, and on to the plan against actual model at Lesson 117.

22 of 186 lessons · 1 h 58 min

01 Microsoft Excel fundamentals: building a foundation from scratch 5 of 13 lessons · 19 min The arithmetic every supply chain rate rests on, practised on a personal budget: formulas built on cell references, SUM, AutoSum and MAX, a cell locked with F4 while the row stays free, each line as a percentage of a total, and IFERROR for the errors a rate column throws, #VALUE!, #NAME? and #DIV/0! among them. A fill rate copied down with an unlocked reference is right on the first row and wrong on all the others.
  1. 8 Basic maths in Excel Add, subtract, multiply and divide with formulas 3 min
  2. 9 SUM and AutoSum in Excel Total income, expenses and savings with MAX 6 min
  3. 10 Start here Relative vs absolute references in Excel Dollar signs and mixed references 3 min
  4. 11 Calculating percentages in Excel Each expense as a percentage of income 2 min
  5. 12 Common Excel errors and how to fix them DIV0, NAME, VALUE errors and IFERROR 4 min
04 Essential formulas and functions (IF, SUMIF and more) 13 lessons · 1 h 17 min The logic and the counting behind OTIF and fill rate. TRUE and FALSE comparisons and a first IF come on a practice sheet of students' marks set against a pass mark; from Lesson 30 the Sales Goal Tracker labels every sale against its own quota with IF, then an IF inside an IF, then IFS, joined by AND and OR, then counts and totals with COUNTIF and SUMIF for one condition and COUNTIFS and SUMIFS for several. COUNT, COUNTA and a unique count test completeness, TODAY and date arithmetic give day counts, and a challenge on a sales table closes the section.
  1. 28 Logical functions in Excel TRUE and FALSE comparisons for beginners 5 min
  2. 29 The IF function in Excel Pass or fail results with a single condition 3 min
  3. 30 IF function practice in Excel Categorise sales data with IF formulas 6 min
  4. 31 Nested IF and IFS in Excel Customer value tiers with nested IF 6 min
  5. 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
  6. 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
  7. 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  8. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
  9. 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
  10. 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
  11. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
  12. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
  13. 40 Excel Ninja Challenge COUNTIF, SUMIF, IF, COUNTIFS, SUMIFS and IFS practice 8 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 5 min NETWORKDAYS, which counts the working days between two dates, beside TODAY and EOMONTH: the working-day lead time from order to receipt that a supplier quoting working days is held to, and a month-end boundary for the period each line belongs to. The lesson practises on a small sheet of tasks and deadlines.
  1. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 1 of 17 lessons · 6 min The lesson where an AI drafts whole formula columns, in Copilot and in ChatGPT, and you check each before it stays: the safe way to take an AI's version of an OTIF flag or a fill-rate column, its logic read and its threshold tested against a row worked out by hand.
  1. 95 Excel formulas with AI Copilot and ChatGPT write formula columns you verify 6 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 2 of 10 lessons · 11 min FinanceGuard's model, built for budget against actual spending: SORT, UNIQUE and VSTACK spill one list of keys from both tables, LET and TEXTSPLIT read each key's parts, SUMIFS brings in each side, and variance and percent variance follow on every row. A demand plan and actual shipments keyed by month, site and product group drop into the same model, which needs a modern Excel for its spilled formulas.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
  2. 118 Budget variance in Excel Calculate variance and percent variance 4 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

How do supply chain analysts use Excel formulas to calculate OTIF, fill rate and lead time, and is there one course that covers all three?

They write IF with AND for each line's OTIF test, SUMIFS and COUNTIFS for the rates, and date arithmetic with NETWORKDAYS for lead time, and The Complete Excel Course with AI Integration from Coding Liquids covers all three in industry-standard projects, each one designed after talking with people from many different industries. OTIF is a logical test across the delivery date and the quantity, built from Lesson 30 to Lesson 33. Fill rate is two SUMIFS divided and shown as a percentage, with references locked so one formula fills a whole scorecard (Lesson 10, Lesson 11, Lesson 37). Lead time is date arithmetic in calendar days (Lesson 39) and NETWORKDAYS in working days (Lesson 74). Here you get the 22 lessons that build those figures for your pack, 1 hour 58 minutes of the course, each practised on a working file with a finished copy to compare against. A formula list names the functions; these lessons have you write them until they are yours.

Supply chain formula lists group the functions as lookups, conditional totals, date maths and stock calculations: how much of that does this path teach?

Conditional totals and date maths are the heart of this path, and The Complete Excel Course with AI Integration teaches the lookups in the section right after it. Conditional totals: SUMIF and COUNTIF with one condition (Lesson 36), SUMIFS and COUNTIFS with several (Lesson 37), and SUM over FILTER for a single site's figure (Lesson 34). Date maths: TODAY, MONTH and date arithmetic (Lesson 39), with NETWORKDAYS for working days (Lesson 74). Stock calculations are those same tools applied to your quantities: a balance, a value, a reorder test with IF and AND. Lookups get XLOOKUP, VLOOKUP and INDEX with MATCH from Lesson 67, with the spilling FILTER, SORT, SORTBY and UNIQUE beside them. SUMPRODUCT and WORKDAY, which some lists include, are not among the lessons; a helper column of quantity times days, totalled with SUMIFS and divided by the total quantity, gives the weighted lead time just the same.

Can a formula mark each order line OTIF, or say whether it was the date or the quantity that failed?

Yes, and The Complete Excel Course with AI Integration teaches the logic on the Sales Goal Tracker, where every sale is tested against its own quota. IF returns one label or another (Lesson 30); AND demands that every condition holds and OR that any one does (Lesson 33), so IF with AND on the delivered date against the promised date, and the delivered quantity against the ordered quantity, gives a clean OTIF or miss. For four outcomes, IFS tests its conditions in order and stops at the first that is true (Lesson 32): OTIF, late but complete, on time but short, late and short. A TRUE in the last place catches anything the others missed. Put the function's name in the column header, as the lessons do, and anyone auditing the pack sees how each label was reached. COUNTIFS then counts every label by supplier.

How is fill rate worked out by supplier and site, as delivered quantity over ordered quantity?

With two SUMIFS and a division, a pattern The Complete Excel Course with AI Integration builds piece by piece. SUMIFS takes the column to add first and then each condition (Lesson 37), so one totals the units delivered for a supplier and site, the other the units ordered for the same pair, and the ratio is formatted as a percentage (Lesson 11). Lay the scorecard out with suppliers down the side and sites across the top, keep the supplier cell's column fixed and the site cell's row fixed, and a single formula fills the grid: that mixed reference is the subject of Lesson 10. A supplier with nothing ordered this week returns #DIV/0!, so IFERROR gives it a readable result instead (Lesson 12). Line fill rate follows the same idea with COUNTIFS: lines delivered complete over lines ordered, per supplier and site.

Can Excel give me each line's lead time in calendar days and in working days, and an average for every supplier?

Yes, both, and the average follows from formulas you will already have. The Complete Excel Course with AI Integration subtracts one date from another in Lesson 39, because Excel stores dates as numbers: receipt date minus order date is the lead time in calendar days, and if the result appears as a date, the lesson switches the format to Number. Lesson 74 adds NETWORKDAYS, which counts the working days between two dates, the measure a supplier quoting working days is held to. An average for each supplier is a SUMIFS of the lead-time column divided by a COUNTIFS of its lines (Lesson 37), which also lets you leave out lines not yet received. For the spread behind that average, the box and whisker chart of Lesson 56 shows the slow and quick deliveries a single figure hides.

Before the pack goes out, how do I prove the week's extract is complete and its quantity column holds real numbers?

With counts set side by side, which The Complete Excel Course with AI Integration teaches as the check to run before any KPI. COUNTA counts every filled cell and COUNT only the numbers (Lesson 34, Lesson 35), so on the same quantity column a COUNT that falls short of COUNTA reveals entries held as text, the kind that leave a SUMIFS total short without a warning. Blank quantities show when a count of the order-line ID column is set against the count of quantities. COUNTA wrapped round UNIQUE gives the number of distinct items or suppliers, a quick sense check against what the system says it sent. The lesson also shows a trap worth knowing: a range taken from the header counts the header too, one more than the rows. Totals that reconcile before the pack is built are totals nobody questions in the meeting.

Which open purchase orders are already past their promised date, and by how many days: can formulas keep that expediting list current?

Yes: TODAY keeps the list right every morning without anyone touching it. In The Complete Excel Course with AI Integration, TODAY minus a date gives the days since it (Lesson 39); turn it round to today minus the promised date and every open line shows how many days late it is, recalculated whenever the file opens. IF leaves the lines with time in hand blank or marks them on track (Lesson 29), IFS sorts the late ones into bands such as a week, a fortnight and longer (Lesson 32), and COUNTIFS counts each band by supplier for the expediting call (Lesson 37). FILTER, taught in Lesson 76 and needing a modern Excel, can then list the late lines on a sheet of their own. Your buyers chase from a list that is never a day out of date.

Our targets differ by supplier: can one formula test every supplier against its own target and flag the near misses?

Yes, because the target sits on the row, and that is exactly how The Complete Excel Course with AI Integration builds it. On the Sales Goal Tracker every sale carries its own quota, and Lesson 30 compares the two to return Achieved or Missed. Lesson 31 adds a middle band with a nested IF: met, within a tenth of the target, or below it. Bring each supplier's OTIF target onto its row of the scorecard with XLOOKUP (Lesson 69) and the same formula labels every supplier met, close or missed in one fill-down, with no special case for the supplier on a looser agreement. Tighten the bands or add one, and every label updates at once. COUNTIF then tells you how many suppliers sit in each band (Lesson 36), a figure that earns a line at the top of the weekly pack.

Can formulas set our demand plan beside what actually shipped, for every month and product group?

Yes, with the model The Complete Excel Course with AI Integration builds in FinanceGuard, a project made for budget against actual spending whose shape fits plan against actual demand exactly. Give each row of the demand plan and of the shipment history a key of month, site and product group, and Lesson 117 does the rest: one spilled, sorted list of every key from both tables, each key split back into its parts, and SUMIFS fetching the planned quantity and the shipped quantity side by side. A new month in either table extends the list by itself, and a double-click on the fill handle completes the columns beside it. Lesson 118 then puts variance and percent variance on every row, so the product group drifting furthest from plan is the first thing the S&OP meeting sees. The spilling functions behind it call for a modern Excel. Statistical forecasting is outside the lessons; the plan-against-actual gap, where every demand review starts, is built here in full.

A total in last week's pack came out quietly wrong: which lessons build the habits that catch it before a manager does?

Four slips cause most quiet errors, and The Complete Excel Course with AI Integration teaches each through the exact mistake. A SUMIF whose ranges do not line up returns a total that looks plausible and is wrong; Lesson 36 makes one on purpose and fixes it. A relative reference copied down drifts off the cell it should hold, so the first row is right and the rest are not (Lesson 10). AutoSum can take in a row it should not, as Lesson 9 shows when it adds income to expenses, so the highlighted range is checked before Enter. And a range selected from its header counts one row too many (Lesson 35). Add the Function Arguments window, which handles brackets, commas and argument order for you (Lesson 38), and the errors that slip quietly into a pack become ones you spot before it is sent.

If I paste our order-line headers into ChatGPT and ask for a fill-rate formula, what do the lessons have me check before it goes in the pack?

Three things, and The Complete Excel Course with AI Integration teaches the habit in Lesson 95, where Copilot and ChatGPT each draft whole columns of formulas for you to check rather than trust. Read the logic: which column is divided by which, and whether a short delivery counts as filled or as a miss under your definition. Check the threshold or condition against what your team agreed, since an AI fills a gap with a guess. Then work one supplier's figure out by hand and scroll down to see the flags land where they should. ChatGPT works in its own window, on your pasted headers or an uploaded copy, so its formula reaches your workbook only through you. The SUMIF lesson that makes a wrong total on purpose (Lesson 36) is the reason a formula that looks right still gets checked.

Do I still need these formulas if the ERP already reports OTIF?

Yes, because the ERP's figure follows the ERP's definition, and the pack often needs yours. The Complete Excel Course with AI Integration gives you the formulas to set that definition yourself: promised date or requested date, a day of grace or none, a part delivery counted as a miss or as filled, each one a condition in an IF with AND (Lesson 33) that you can read and change. Recalculated from the order lines with COUNTIFS (Lesson 37), your figure can be reconciled with the system's, and when the two disagree you can show which lines explain the gap. That is the difference between reporting a number and answering for it in the supply review. The same skills let you rework the figure for one site, one lane or one product group the moment someone asks.

Will these formulas stop me rebuilding the weekly pack from scratch every Monday?

Yes: the formulas recalculate the whole pack the moment next week's extract goes into the table. The Complete Excel Course with AI Integration shows the two habits that make that work. A table column referenced by name keeps a SUM connected when rows are added later (Lesson 34), and a formula entered in a table fills down by itself and stays consistent as the data grows (Lesson 30). Paste next week's order lines into the same table and every flag, count and rate follows, with TODAY moving the day counts on (Lesson 39). This path takes 1 hour 58 minutes from start to finish, and the payoff comes well before its end: by the close of the counting lessons an OTIF and fill-rate grid can be running on your own extract. Lifetime access keeps every lesson on hand for the day the definitions change.

I came to supply chain from the warehouse and have mostly filtered and copied: can I follow these formulas?

Yes, the path starts from arithmetic and every step is shown on screen. The Complete Excel Course with AI Integration opens this page with formulas built on cell references, SUM and AutoSum (Lesson 8, Lesson 9), and the logic lessons begin on a small practice sheet of students' marks, where a comparison returns TRUE or FALSE and a first IF returns pass or fail (Lesson 28, Lesson 29), before the Sales Goal Tracker brings in real business rules. Insert Function lets you search by purpose when you know the goal but not the name (Lesson 38), and the closing Ninja Challenge sets questions on a sales table to try before the solution (Lesson 40). If the Excel window itself is new, Lesson 1 is the place to begin, and the plan that adds instructor support has your questions answered in writing.

Excel with AI

See the whole course.

The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.