The Complete Excel Course with AI Integration

Power Query for customer service team leaders

Every morning starts the same way: yesterday's ticket export and call log opened, names and codes tidied, timestamps fixed and files pasted together before a single figure can be reported. The Complete Excel Course with AI Integration hands that routine to Power Query on SalesFusion, an industry-standard project, and this page picks out the lessons that do it: cleaning recorded once, each day's data checked, merges and appends, a folder of daily files and Unpivot.

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:

  • Combine a folder of daily ticket or call exports into one table with From Folder, every row stamped with the file it came from and each new day taken in at the next refresh.
  • Clean agent names, queue codes and contact reasons once with Trim, Clean, Replace Values and one case, so every later export receives the same treatment.
  • Turn handle times, scores and timestamps held as text into true numbers and dates, and add year, month and month-start columns for reporting by period.
  • Mark each ticket Met or Missed, or high priority, with custom and conditional columns written into the query instead of formulas copied down a sheet.
  • Check every day's data before it is reported, with a Group By query that totals and counts rows by day and queue.
  • Bring each priority's target or each tag's category in beside every ticket with a merge, and catch the rows that found no match.
  • Carry a finished query over to a new system's export, and append the old and new data into one continuous history.
  • Turn a staffing plan or a QA form with a column per day or per criterion into rows with Unpivot.

Projects

What you will build.

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

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    Built on deliberately messy sales exports, its Power Query half mirrors the routine a team leader runs each morning: stray spaces, codes in mixed case, numbers stored as text and broken dates, then lookup tables to merge, a second year to stack, a folder of period files and a wide grid, each turned into a table you can check before anyone reports from it.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    The course's PivotTable project on order-level sales data, and where a cleaned ticket table goes next: agents, queues and days summarised with the dates grouped for you, slicers for each team, and Refresh All (Lesson 65) bringing the queries and the PivotTables up to date in one press.

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

Lessons

The lessons that matter, in course order.

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

Where to start

Lesson 153 SalesFusion Power Query project

Start at Lesson 153 if the morning export already ends up in an Excel table and you can build a PivotTable from it: the project opens with messy CSV files much like a phone system's, and its lessons follow the order of a morning routine. If tables are new, Lesson 19 sets one up first; if Excel itself is new, Lesson 1 is the place to begin. Already trimming and typing columns in the editor? Jump to Lesson 163, where merges, appends and the folder of daily files take over.

17 of 186 lessons · 1 h 36 min

15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 13 min The SalesFusion goal and the idea behind it: extract, transform, load, with every step recorded once and replayed on each new file. Then a first CSV comes in through Get Data and opens in the Power Query Editor instead of landing on a sheet as it is. The files are sales exports; a help desk or phone system CSV arrives the same way.
  1. 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
  2. 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
  3. 155 Import a CSV with Power Query Get data from text and transform data 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system 5 of 21 lessons · 30 min The clean-up itself: unneeded columns removed and headers renamed, text trimmed, cleaned and set in one case, symbols and placeholders replaced, numbers and dates given true types, period columns added, and custom and conditional columns that work out a figure or a label for every row, the kind of column that marks a ticket Met or Missed.
  1. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  2. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  3. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  4. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
  5. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
15 SalesFusion: advanced data tools and a Power Query modelling system 2 of 21 lessons · 10 min Group By as a check, with totals and row counts by month and region and the biggest first, so a short or doubled day stands out. Then the Close and Load choices that keep working queries in the background and send only the finished table to a sheet or the Data Model.
  1. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  2. 162 Close and Load in Power Query Connection only, table or Data Model 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system 6 of 21 lessons · 35 min A left outer join that keeps every row while it adds columns from a lookup table, a finished pipeline pointed at the next file, two years appended by their headers, every file in a folder combined with the same steps, and one final table checked for blanks after its merges and appends: the moves that turn a contact centre's daily files into one history.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 min
  2. 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
  3. 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
  4. 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
  5. 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
  6. 168 Build a sales fact table in Power Query Merge lookups and append history 6 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 8 min Unpivot Other Columns on a wide export with a column per month, turned into a long table that keeps working when new columns appear: the shape of many staffing plans, forecasts and target sheets before they can be set against what happened.
  1. 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 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.

Can Power Query clean and combine a customer service team leader's daily exports so the morning report builds itself?

Yes: you record the clean-up once and it runs on every export after it, and The Complete Excel Course with AI Integration from Coding Liquids teaches the whole routine on SalesFusion, an industry-standard project designed after talking with people from many different industries. Its raw files are as untidy as any help desk export: stray spaces, codes in mixed case, numbers stored as text and dates that will not read as dates, plus two lookup tables, a folder of period files and a wide grid. This page picks out the 17 lessons, 1 hour 36 minutes in all, that turn them into one clean, checked table: cleaning (Lesson 157), period columns (Lesson 159), a Group By check (Lesson 161), merges (Lesson 163), appends (Lesson 165) and a whole folder combined (Lesson 166). After that, tomorrow's export costs a refresh instead of a morning.

A month of call logs sits in one folder: once they are combined, how do I trace a bad row back to its day?

Through the column that names each file, and The Complete Excel Course with AI Integration shows it the moment the folder is combined. Lesson 166 builds the folder query with Combine and Transform Data, and the result carries Source.Name, the file every row came from, so a row with a broken timestamp or an empty agent field points straight to the day's export that held it. The same lesson switches column profiling from the first thousand rows to the entire data set and turns on column quality, distribution and profile, which show how many values in each column are valid, empty or errors. Filter Source.Name to the day in question and only that file's rows remain. Lesson 168 then sets out the trade: the file column is handy while you trace faults, and can leave the final table once you trust it.

Why does Power Query split one agent into two rows when a worksheet formula counts them as one?

Because Power Query reads capitals as different text, and The Complete Excel Course with AI Integration makes the point in Lesson 157: to a query, North and NORTH are two regions. COUNTIFS and the other worksheet functions treat them as one, so an agent written in capitals by one system and in lower case by another looks fine on the sheet and splits apart in a query's Group By or merge. The lesson's fix is a step rather than a correction by hand: Trim removes stray spaces, Clean strips hidden characters, and Format sets one case for a whole column, UPPERCASE on the lesson's codes, with Capitalize Each Word on the same menu for names. Replace Values then settles any second spelling. Recorded once, those steps run on every export that follows, so the split never comes back.

Agents choose contact reasons from dozens of free-typed tags: can Power Query map them into a few clean categories?

Yes, with a small mapping table and a merge, and The Complete Excel Course with AI Integration teaches both halves. Keep a two-column table of every raw tag beside the category it belongs to, such as Billing, Login or Delivery, and merge it into the ticket query with a left outer join, the method Lesson 163 uses to bring product and region names in beside every sale. Every ticket stays, and each gains its category. A tag nobody has mapped yet comes back blank, and Lesson 168 supplies the habit that catches it: after every merge, check the new column for nulls before the data goes anywhere. Add the new tag to the mapping table and the next refresh files it correctly. Where a few rules are enough, a conditional column does the job inside the query, the way Lesson 160 labels each sale High or Normal.

Can each ticket pick up its priority's SLA target from one small table, and be marked Met or Missed?

Yes, and the target then lives in one place instead of inside a column of formulas. In The Complete Excel Course with AI Integration, a merge brings columns from a lookup table in beside every row (Lesson 163); merge a table of priorities and their target times into the ticket query, and every ticket carries its own target. A conditional column, the kind Lesson 160 uses to mark each sale High or Normal, then sets the ticket's response or resolution time against that target and writes Met or Missed, and a custom column can work out the minutes over target by subtraction, as the lesson's Profit column takes cost from sales. When the target for urgent tickets changes, one cell of the priority table is edited and the next refresh re-marks every ticket. The method suits exports that already give the time as a number of minutes or hours, as many phone and help desk systems do.

How would I know a day's export arrived short, before the weekly figures go out?

A Group By check shows it at a glance, and The Complete Excel Course with AI Integration builds one in Lesson 161. The lesson references the cleaned query, so the check stays wired to it, then groups the data by month and region with two results for each group: the total and the number of rows. Group a ticket query by day and queue the same way, and a day that arrived half-empty sits there with a row count far below its neighbours, while an export loaded twice shows double the usual figure. Sorting the totals biggest first, as the lesson does, makes a figure that looks too good jump out, and null months reveal dates the source could not read. The check refreshes with everything else, so after the first build it costs nothing, and its counts can be tied to the phone system's own daily totals before the pack goes out.

The help desk is moving to a new system with different column names: will the ticket history still join up?

Yes, once both sides carry the same headers, and The Complete Excel Course with AI Integration teaches every step of getting there. Lesson 156 renames columns inside a query, so the new system's name for the opening date can become the one the old export used. Lesson 164 duplicates a finished pipeline and points the copy at a new file by changing only its Source step, so the new export receives all the old cleaning with nothing rebuilt. Lesson 165 then appends the two into one query, matching columns by their headers, and leaves both sources untouched, so a fault in the combined history can be traced to its side. Lesson 168 builds the final table in the same order, history first and the newer data after it, then checks it for blanks. In the reports, the switch of systems becomes one continuous timeline.

The staffing plan comes with a column for every day: can Power Query turn it into rows that line up with actual call volumes?

Yes: Unpivot turns the grid into rows, and The Complete Excel Course with AI Integration teaches it in Lesson 173 on a budget export with one column per month. Unpivot Other Columns keeps the descriptive columns fixed, the team or skill in your plan, and turns every date column into rows of date and value, so a plan of forecast calls or scheduled agents becomes a long table with one row per team per day. Because the step names no date, next week's extra columns pass through without breaking the query. The lesson then makes each period a true date and totals it, which is what lets plan and actual meet: group the call log by day the same way and the two tables share a date to line up on. Forecasting the calls is a discipline of its own that the course leaves alone; setting the plan against what happened is what these steps give you.

Is it better to mark SLA breaches in Power Query, or to leave the calculation to DAX later?

Each tool does the part it is built for, and The Complete Excel Course with AI Integration teaches both in the same project. A label that belongs to one ticket, Met or Missed, high or normal priority, belongs in Power Query: Lesson 160 writes such columns into the query, where they run the same on every refresh, so no two reports can disagree about a ticket. A ratio across many tickets, such as service level or each channel's share of the volume, belongs in a DAX measure, because a measure recalculates for every filter and slicer: Lesson 170 builds measures for margin and percent of total with DIVIDE, CALCULATE and ALL. Those DAX lessons need Excel for Windows; the Power Query lessons on this page do not. Clean and label in the query, then count and divide in the model.

Can another supervisor read what my query does to the export without me there to explain it?

Yes, because a query documents itself, and The Complete Excel Course with AI Integration shows how to make that record easy to read. Every action on the export is saved in the Applied Steps list (Lesson 156), in order, and clicking a step shows the data as it stood at that point. The lesson renames steps so the list reads as plain instructions, and Lesson 161 gives queries names that say what they hold, such as a staging query and a QA query. Lesson 162 adds the Queries and Connections pane, where hovering over a query previews its rows and when it last refreshed. A deputy opens the workbook, refreshes it and can see exactly which spaces were trimmed, which values were replaced and which rows were checked, while the raw export itself stays exactly as the system produced it.

Handle times arrive as text, some with a unit typed after the number: can a query turn them into figures a report can average?

Yes, and The Complete Excel Course with AI Integration gives that repair a lesson of its own, because Power Query cannot sum or average text: a report built on text columns looks fine and calculates wrong. Lesson 157 clears the clutter with Replace Values, leaving the replacement blank to strip symbols, commas and placeholders such as NA, which become true nulls. Lesson 158 then gives each column its type, whole number for counts and decimal number for amounts, after replacing numbers written as words, and adds a custom column that puts discounts typed two ways on one scale. A unit typed after a handle time comes off the same way, and the column becomes a number every later step can total. From then on averages by agent and queue are calculated from real figures, and next week's export gets the same repair without a cell touched.

Calls, chats and survey results come as three exports: which ones should be stacked, and which joined?

Calls and chats are stacked and survey scores are joined, and The Complete Excel Course with AI Integration teaches the difference directly: appending stacks rows, merging adds columns side by side. Rename the call and chat columns to the same headers (Lesson 156) and Append Queries as New (Lesson 165) gives one table of contacts, with both sources left untouched. The survey export then joins it with a merge on the ticket ID (Lesson 163): the left outer join keeps every contact and brings a score in only where a customer answered, so contacts without a survey stay in the table with an empty score instead of vanishing. Response rate and average score both come out right from that one table. The lessons stack two years of sales and merge in product details; your three exports follow the same moves.

I am not a formulas person: how difficult is Power Query for a team leader to pick up?

Easier than much of Excel, and The Complete Excel Course with AI Integration keeps it that way. Power Query runs on menus: in SalesFusion every step from importing a CSV (Lesson 155) to combining a folder of files (Lesson 166) is a click on the ribbon or a right-click on a column, recorded for you as a step. Removing a column, trimming spaces, replacing a placeholder, setting a type: each is a button whose name says what it does. The typing is limited to a few short custom columns, a subtraction for profit or a rule for discounts (Lesson 158, Lesson 160), and they read much like the formulas on a scorecard. Mistakes are cheap as well: most errors vanish once the step that caused them is deleted, as Lesson 167 shows, and the original export is never changed.

How long until the morning clean-up runs itself, and is there anything to install first?

About 1 hour 36 minutes of lessons for the whole routine, with the first morning saved well before the end, and nothing to install. The Complete Excel Course with AI Integration has one export fully cleaned, typed and given period columns by Lesson 159: rebuild those steps on your own help desk file and that clean-up never needs doing by hand again. The Group By check, merges and appends follow, and by Lesson 166 a folder of daily files has become one query that takes in each new day at a refresh. Power Query is already part of Excel, under Get Data on the Data tab, and these lessons need no Windows machine: the course's requirements name Windows only for Power Pivot and Power Automate. The SalesFusion files and the finished workbook come with the course, so each step can be compared with a working answer.

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.