The Complete Excel Course with AI Integration
Power Query for reconciliation analysts
A statement export and a ledger extract arrive each morning with their own spellings, text amounts and odd dates, and thousands of lookups strain to pair them. The Complete Excel Course with AI Integration moves that work into Power Query, with the industry-standard SalesFusion build as practice ground. The lessons below take both sides from raw CSV to a checked match: references that agree, control totals, a left outer join for the breaks and daily files from a folder.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring both sides of a reconciliation into Power Query from their CSV exports, and keep each as a connection that reruns its cleaning at every refresh.
- Make references agree before any merge, trimmed, cleaned, stripped of stray characters and set in one case, since a Power Query merge treats AB12 and ab12 as two different keys.
- Turn amounts and dates exported as text into true decimals and dates, clearing placeholders and impossible values so no line drops out of a total.
- Prove each side is complete before matching: Group By sums its amounts and counts its rows for every period, and both figures are tied back to the source system's own report.
- Set the two sides against each other through a left outer join run in both directions, label every line Matched, Amount differs or No partner, and list the breaks.
- Total split postings per reference with Group By before the merge, so one bank line can meet the several ledger lines that make it up.
- Take each day's statement in from a folder at refresh, keep the history so a late partner clears its break by itself, and unpivot a balance grid into rows.
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.
The course's Power Query project, a sales pipeline grown from messy CSV exports; its clean-up, merges, appends, folder query and empty-value checks are the moves of a reconciliation that reruns at every refresh.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
A sales PivotTable report in the course; downstream of a Power Query match it is where the breaks are counted by account and age, and Refresh All brings queries and PivotTables up to date in one click.
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
Begin with Lesson 153 when lookups and a PivotTable are already part of your matching: SalesFusion starts from raw CSV files and grows, lesson by lesson, from a single statement-sized file to a whole folder. Tables and PivotTables still unfamiliar? Lesson 19 and Lesson 57 come first, and someone who has never opened Excel starts at Lesson 1. If your queries already clean and type a file, skip ahead to Lesson 163 for the merge that sets one side against the other.
17 of 186 lessons · 1 h 36 min
15 SalesFusion: advanced data tools and a Power Query modelling system The ETL idea behind a refreshable reconciliation, then a CSV opened through Get Data, From Text/CSV, and taken into the Power Query Editor with Transform Data instead of being dropped raw onto a sheet. The practice files hold sales; a statement or ledger CSV opens the same way.
- 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
- 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
- 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 Clean-up that makes two sides comparable: unneeded columns dropped and the rest renamed, every step kept in Applied Steps, codes trimmed and set in upper case, the money symbol, commas and NA stripped from amounts, true decimal and date types, and period fields drawn from each date.
- 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
- 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
- 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
- 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
15 SalesFusion: advanced data tools and a Power Query modelling system Match rules expressed as custom and conditional columns, duplicates removed, Group By summing the amounts and counting the rows for each month and region as a control, and connection-only loading that keeps working queries out of the grid.
- 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
- 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
- 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 A Left Outer merge, which holds on to all rows of the first table, adding the second's columns only where the key matches, then the pipeline pointed at a new file with its merges made again on the new query, and the other join kinds read through.
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
- 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system Append Queries as New for periods with matching headers, From Folder to stack all the files a folder holds, each row keeping its file name, and a final table assembled from merges and appended history, then checked for empty values before loading.
- 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
- 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
- 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
- 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 Unpivot Other Columns turns an export with one column per period into one row per period, and a period column added later needs no edit to the query.
- 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Can Power Query run the statement-to-ledger match every morning and leave a reconciliation analyst only the breaks to work?
Yes, and The Complete Excel Course with AI Integration from Coding Liquids walks through every step of that routine on SalesFusion, its industry-standard Power Query build, designed like every project of the course after talking with people from many different industries. Both exports come in from CSV (Lesson 155) and are cleaned until their references, amounts and dates agree (Lesson 157 to Lesson 159); Group By proves each side's totals before anything is matched (Lesson 161); a left outer join sets one side against the other, and the empty columns mark the breaks (Lesson 163); and a folder query takes in each day's new file (Lesson 166). The 17 lessons on this page, 1 hour 36 minutes in all, end with a match that reruns at a refresh, so the morning goes on the breaks instead of the matching. The practice data is sales files; statement and ledger extracts take the same steps.
The bank writes references in capitals with dashes and the ledger in lower case with spaces: what must the query do before the merge?
Make them identical, because a Power Query merge compares keys exactly, and The Complete Excel Course with AI Integration teaches every step of that clean-up in Lesson 157. Trim removes stray spaces at either end, Clean takes out characters that do not print, Format sets one case for the whole column, and Replace Values with nothing in the Replace With box strips the dashes, the move the lesson makes on product codes. Case matters here in a way it does not in a lookup formula: Power Query treats AB-12 and ab-12 as two different keys, which the lesson's own quiz points out with two spellings of one region. Apply the same steps to the reference column on both sides, give each column its type (Lesson 158), and the merge pairs every reference that really is the same.
Bank to ledger, then ledger to bank: why run the merge in both directions?
Because a left outer join reports only on its first table, and The Complete Excel Course with AI Integration teaches it exactly that way. Lesson 163 merges with Join Kind set to Left Outer, which holds on to all rows of the first query and fills in the second only where the key matches, so no row of the first side is ever lost. Run it with the statement first and the empty columns are bank lines missing from the ledger; run it with the ledger first and they are postings missing from the bank. Lesson 164 reads through the rest of the Join Kind list, Right Outer, Full Outer, Inner and more, before keeping Left Outer, and the same list holds the anti joins that return only the rows without a partner. After each merge, filter the empty column, the check Lesson 168 makes a habit, and both lists of breaks are in hand.
Can the query flag a pair whose amounts differ, as well as an item with no partner?
Yes: expand the other side's amount beside your own after the merge, then let a custom and a conditional column judge each line, the two tools The Complete Excel Course with AI Integration teaches in Lesson 160. There, a custom column works out Profit from two amount columns and a conditional column labels every row High or Normal against a threshold; the same pair of steps gives you a Difference column and a status of Matched, Amount differs or No partner. Because the logic lives in the query, it runs identically at every refresh, so two analysts never label the same line differently, which the lesson names as the reason to build rules there. Expanding the merged columns, with the prefix option unticked so the names stay readable, is shown in Lesson 163.
One receipt in the bank appears as several lines in the ledger: can a query still pair them?
Yes: total the ledger lines per reference with Group By, then merge the totals, using the tool The Complete Excel Course with AI Integration teaches in Lesson 161. That lesson groups a sales query by month and region, summing the amounts and counting the rows; grouped by reference instead, a ledger of split postings becomes one line per reference with its total and its line count, ready to meet the single bank line in a merge. Keep the count, since it tells a reviewer which matches stand on several postings. The method works wherever the split lines carry the same reference. Receipts that settle lines with different references, or part payments, need a rule only you can set; the course teaches no ready method for those, and they stay with your judgement.
Before the merge, how can the query show that each side arrived whole?
With control totals built into the workbook, the way The Complete Excel Course with AI Integration builds them in Lesson 161. A Reference query, which stays wired to its source, is grouped by period with Group By, summing the amounts and counting the rows, and sorted biggest first so a figure that looks too good stands out at once. Tie those totals and counts to the statement's closing figures or the ledger's own report before a single line is matched. Lesson 166 adds a second check: column profiling switched to the entire data set, with column quality showing errors and empty values in every column at a glance. A missing day, a cut-short export or a column of amounts read as text shows up here, before it turns into a hundred false breaks.
Each day's statement lands as a new file: will the query take it in without my touching it?
Yes: point Power Query at the folder rather than the file, and The Complete Excel Course with AI Integration builds exactly that in Lesson 166. Get Data From Folder with Combine and Transform stacks all the folder's files in a single table, and a Source.Name column keeps each row's file name, so every statement line still says which day it came from. Clean-up steps made in Transform Sample File, the query that shapes one example file, are applied to each file in turn, so a statement saved tomorrow is cleaned the way today's was. Lesson 167 adds calculated columns on top and turns the result into a reference query ready for the merge. This relies on the bank keeping its column layout from day to day, as statements from one bank normally do.
A break from last week pairs off when its partner arrives today: will the query notice by itself?
Keep every day's file in the folder and each refresh rematches the full history, so a late partner clears its break with no one touching it; The Complete Excel Course with AI Integration covers both halves of that set-up. Lesson 166 stacks all the files in the folder, so last week's ledger line and today's bank line sit in the same tables at the next refresh, and the merge of Lesson 163 pairs them as if they had arrived together. Lesson 165 and Lesson 168 show the other route, appending a history table to the new data with Append Queries as New, which leaves both sources untouched so a fault can be traced. Either way the break list is rebuilt from scratch at each refresh: an item that found its partner simply drops off, and nobody clears it by hand.
Should the cleaned bank and ledger tables be loaded onto sheets, or only the list of breaks?
The list of breaks alone, which is the rule The Complete Excel Course with AI Integration calls golden in Lesson 162: load the finished output into the grid and keep every staging query as a connection. Close and Load To offers three choices, a table on a sheet, a connection only or the Data Model, and the lesson sets its staging and checking queries to Only Create Connection and deletes their sheets. A connection-only query is still there for a merge, a PivotTable or the data model; it simply stays out of the grid, so the workbook stays quick and nobody edits a staging table by mistake. For a reconciliation that means two cleaned sides held as connections and one loaded sheet, the breaks, which is the sheet a reviewer actually needs to see.
My match needs reference and amount together: can a merge use both?
Yes: give each side one key column holding both, and the merge matches on it like any other code. The Complete Excel Course with AI Integration shows the building blocks: custom columns written from the Add Column tab (Lesson 160), and in Lesson 173 a custom column that puts fixed text in front of another column's value to make a new one. Join the cleaned reference and the amount into one key the same way on both sides, after each has its correct type, so an amount written two ways cannot become two different keys. The lessons merge on single codes, product and region; the joined key turns your two-part match into the same one-column merge. A tolerance on the amount is a different matter, best handled after the merge with a Difference column.
Account balances reach me laid out with one column for every day: can a query make them matchable?
Yes: Unpivot turns the grid into one row per account and day, and The Complete Excel Course with AI Integration teaches it in Lesson 173. The lesson's export has a column per month: select the columns that describe each row, choose Unpivot Other Columns, and every period column becomes rows, the old headers gathered in one column and the figures in another, then renamed to suit. Because the step names the columns it keeps rather than the periods, a grid that gains tomorrow's column leaves the query untouched, a point the lesson's quiz makes. A custom column then turns the period header into a real date. In that long shape each balance is a line with an account, a date and an amount, ready to set against the ledger's balances by merge or by SUMIFS.
Once the query lists the breaks, how do they reach a summary by account and age?
Through a PivotTable on the loaded break list, refreshed together with the queries, and The Complete Excel Course with AI Integration teaches that pairing too. SalesPlusPerformance builds PivotTables, slicers and PivotCharts on order-level data, groups dates into years, quarters and months (Lesson 61) and refreshes them when the source changes (Lesson 65); its Refresh All reruns the queries feeding the sheet as well, so one click takes the reconciliation from new files to a new summary. Add an age column in the query or beside the list, and the PivotTable counts and totals open breaks by account, owner and age band. Lesson 161 shows the same kind of grouping inside the query itself, for when a fixed summary table is all the reviewer needs.
Could next month's statement reconciliation run on a refresh if I start these lessons now?
Yes, comfortably: the whole path is 1 hour 36 minutes, and the part that sets up your match comes early. The Complete Excel Course with AI Integration has one export cleaned and typed by Lesson 159, control totals and connection-only loading by Lesson 162, and the merge that pairs the two sides in Lesson 163. Recreate those steps with your own statement and ledger extracts, and the first reconciliation that reruns at a refresh is yours within a few evenings, with the folder query for the daily files after it. Power Query is part of Excel, on the Data tab under Get Data, with nothing to buy, and the course's Windows requirement belongs to the Power Automate section and the Power Pivot lessons, which come after this path. The SalesFusion practice files and its completed workbook are included for checking every step.
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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Formulas for reconciliation analysts
- Lookups for reconciliation analysts
- PivotTables for reconciliation analysts
- Charts for reconciliation analysts
- Dashboards for reconciliation analysts
- Conditional formats for reconciliations
- Data cleaning for reconciliations
- Data validation for reconciliations
- Excel tables for reconciliation analysts
- Text functions for reconciliations
- Date functions for reconciliations
- Dynamic arrays for reconciliations
- Power Pivot and DAX for reconciliations
- Macros and VBA for reconciliations
- Power Automate for reconciliations
- Copilot for reconciliation analysts
- ChatGPT for reconciliation analysts
- Claude for reconciliation analysts