The Complete Excel Course with AI Integration
Power Query for bookkeepers
Bank downloads, card statements and client exports arrive every month with the same faults, and a bookkeeper fixes them by hand before a line is coded. The Complete Excel Course with AI Integration teaches Power Query to do that fixing once and repeat it on every file after, through SalesFusion, an industry-standard project. The lessons here follow a bookkeeper's month: a clean import, proof totals, payees coded by a merge, one query reused per account and client, a folder of statements and Unpivot.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring a bank or card CSV into Power Query through Get Data and Transform Data, so the download itself is never edited and every fix is a saved step.
- Strip money symbols, commas, stray spaces and NA placeholders from amounts and payee names, and give amounts a decimal type so nothing after the decimal point is rounded away.
- Turn text dates into real dates and add year, month and year-month columns, so a client's transactions sort and total by month without a formula.
- Label refunds, money out and large payments with custom and conditional columns, and remove duplicate lines on a unique transaction reference.
- Prove each month before it is reported with a Group By query of totals and line counts, ready to tie to the bank statement.
- Give bank lines their account codes by merging a table of payees and codes with a left outer join, and catch the payees not yet on the list.
- Reuse one cleaning query for the next month, another account or another client with the same layout by changing only its source, and stack the results with Append.
- Combine a folder of monthly statements into one table that takes in the next file on refresh, each row marked with the file it came from.
Projects
What you will build.
The course has 14 industry-standard projects. These three matter most here.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Every exercise here has a bookkeeping twin: the messy sales CSV is your bank download, the product lookup is your list of payees and codes, the period files are a year of monthly statements, and the wide export is a client's budget. Built once as queries, each one is ready for next month without a cell retyped.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Your month's summary, learnt by hand first: rows dragged into a PivotTable, dates rolled up into months, a slicer for one client and Refresh All to pick up new rows. Once a query feeds that PivotTable, a fresh bank file becomes a fresh summary at one press.
-
Project 02
Dunder Michael Paper Company employee database
The worksheet clean-up that Power Query turns into a routine: TRIM, Find and Replace, Remove Duplicates and Text to Columns on an employee list. Learn them by hand here, and every Power Query step later reads as a familiar job made permanent.
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
Have you kept transactions in Excel tables and built a PivotTable before? Then Lesson 153 is your first lesson, and SalesFusion carries you from one raw CSV to a folder of them in the order a month's clean-up runs. Tables or PivotTables still unfamiliar? Lesson 19 and the PivotTable run from Lesson 57 come first, and Lesson 1 if Excel itself is new. Cleaning single files in Power Query already? Skip to Lesson 164, where one query starts serving many files.
17 of 186 lessons · 1 h 36 min
15 SalesFusion: advanced data tools and a Power Query modelling system A bank-style download made clean once and for good: the ETL idea that a clean-up is recorded and replayed, source files kept together so links hold, a CSV brought in with Transform Data instead of Load, then columns removed and renamed, codes trimmed and set in capitals, symbols, commas and NA cleared from amounts, true types for every column, and year, month and year-month fields from cleaned dates. The files are sales exports; a bank CSV takes every step.
- 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
- 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 Rules, proof and mapping: custom and conditional columns that label returns and high-value lines, duplicates removed on an order reference, a Group By query of totals and row counts by month, Close and Load choices that keep working queries out of the grid, and a merge with a left outer join that brings names in beside codes from a lookup file.
- 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
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system The repeat work of a busy month: a finished query duplicated and pointed at a new file, two years appended into one table, every file in a folder combined with the source file named on each row, profit and fiscal year columns added inside the folder query, and one master table built from lookups and history, checked for blanks and kept as a connection.
- 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
- 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 for exports laid out with a column per month: the budget grid becomes a long table of month and amount, new month columns are absorbed without breaking the query, and the months become real dates for totalling. A client's sales report with months across the top takes the same treatment.
- 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.
What will a bookkeeper be able to automate after the Power Query lessons of this course?
The whole monthly clean-up of bank, card and client files, and The Complete Excel Course with AI Integration from Coding Liquids teaches it through SalesFusion, an industry-standard project created after talking with people from many different industries. This page picks out the 17 lessons a bookkeeper needs, 1 hour 36 minutes in all, laid out in the order a month's clean-up runs: a raw CSV brought in and cleaned, amounts and dates given true types, rules that label returns and large items, Group By totals that prove the month, a merge that brings names in beside codes, a finished query reused on the next file, a whole folder combined and a month-per-column export unpivoted. The files are sales exports carrying every fault a bank or card download carries, and you build each query yourself with the finished workbook to compare. What you take away is a routine that cleans next month's file at the press of Refresh.
Is Power Query overkill for a bookkeeper, or only for data analysts?
Not at all: a bookkeeper's month is exactly the work it was made for, and The Complete Excel Course with AI Integration teaches it with no code and no analyst background assumed. Power Query earns its keep wherever the same file arrives again and again with the same faults, which describes every bank download, card statement and client export you handle. You record the fixes once as steps, by clicking menus in the Power Query Editor (Lesson 155), and they replay on every file that follows. The SalesFusion lessons look like analysis because the data is sales, but the jobs are a bookkeeper's: clearing symbols from amounts, turning text into dates, mapping codes to names, stacking months and checking totals. The data model and DAX come afterwards for anyone who wants them, and this path stops before them. Everything on it serves the books.
What happens to my monthly bank-file routine once it becomes a query?
It shrinks to a refresh, and The Complete Excel Course with AI Integration shows each step changing. Today you open the download, delete what you do not need, retype dates, strip symbols, fix payee names and paste the result under last month's. In SalesFusion each of those becomes a saved step: columns removed and renamed (Lesson 156), text trimmed and set in capitals with symbols and NA cleared (Lesson 157), types fixed (Lesson 158) and month fields added (Lesson 159). Next month's file goes through the same steps with no handwork, either by pointing the query at it (Lesson 164) or by dropping it into a folder the query reads (Lesson 166). Even a report with a column per month is reshaped into rows by Unpivot (Lesson 173). The download itself is never edited, so the bank's original stays exactly as it arrived.
Could a wrong data type in Power Query quietly round my amounts?
It could, and The Complete Excel Course with AI Integration shows where the danger hides. In Lesson 168, Profit is set to Decimal Number on purpose, because a whole number type would round it without a word of warning; on a bank file the same slip would turn every amount into whole units and the totals would stop agreeing with the statement. Lesson 158 sets the rule from the start: money columns go from text to Decimal Number, counts that can never be fractional to Whole Number, and the lesson explains why the step matters at all, since Power Query cannot add up text and a report built on text columns can look right while totalling wrong. Dates get the same care in Lesson 159, where Date is chosen over Date/Time so no stray time of day travels with them. Check the type of every amount column once, and the query keeps it right every month.
Can Power Query label refunds and money going out without a formula column on the sheet?
Yes: custom and conditional columns write the labels inside the query, and The Complete Excel Course with AI Integration builds four of them in Lesson 160. Profit is SalesAmount minus CostAmount, Margin divides profit by sales with a test that returns nothing rather than an error when sales are zero, a conditional column marks anything of 500 or more as High, and IsReturn labels every negative amount a Return and the rest a Sale. Translated to a bank file, the same dialogs give you a signed amount from separate paid-in and paid-out columns, a Refund or Money out label on negative lines and a flag on payments above your review limit. Because the logic lives in the query, as the lesson notes, it runs identically on every refresh, so two reports built from the same data never disagree, and no formula column sits on the sheet waiting to be overwritten.
Can I remove duplicates when two bank downloads overlap by a few days?
Yes, with Append and Remove Duplicates together, and The Complete Excel Course with AI Integration teaches both halves. Lesson 165 appends one table under another, matching the columns by their headers, so two downloads with the same layout become one list. Lesson 160 then removes duplicates on an order reference, a step that suits any column whose values should never repeat. On bank data the key is the bank's own transaction ID, where the export has one: duplicates on that column are true double downloads, and removing them leaves genuine repeat payments, such as two equal fees in one month, untouched. Never remove duplicates on amount or payee alone. A Group By count before and after (Lesson 161) shows exactly how many lines went, a figure worth noting in your working papers for the month.
Can a Group By query prove a month's figures before I report them?
Yes: a Group By query totals the month and counts its lines, and The Complete Excel Course with AI Integration builds exactly that check in Lesson 161. A Reference to the staging query keeps it wired to the data, then Group By in Advanced mode sums the sales and counts the rows for each month and region, with the biggest totals sorted to the top. For a bookkeeper, group by month and account instead and compare each total with the bank statement: money in, money out and the number of transactions should agree before a line is coded or reported. The lesson also explains two signals worth acting on: a total that looks far too large is usually a typing error in the source, and a row with no month comes from a date the query could not read. Because the check is itself a query, it reruns at every refresh.
Will a merge in Power Query give each bank line its account code from my payee list?
Yes: keep a table of payees and their account codes, merge it onto the bank lines, and The Complete Excel Course with AI Integration teaches the merge in Lesson 163. Merge Queries with a left outer join keeps every bank line and brings in the code wherever the payee is found in your table, Power Query's own version of VLOOKUP. Two habits make it work on real bank data. Matching is exact and Power Query is case-sensitive, so payee names are trimmed and set in one case first (Lesson 157). And every merge is followed by a check for blanks (Lesson 168): a payee the table does not know yet comes back empty, ready for you to code by hand and add to the list. Each month the table grows and fewer lines need you, while descriptions that change every time still call for your judgement.
Many of my clients share a bank: can I reuse one cleaning query for all of their downloads?
Yes, provided their downloads share a layout, and The Complete Excel Course with AI Integration shows the move in Lesson 164. A finished query is duplicated and only its Source step is changed to point at another file; every cleaning step after it applies unchanged. In the lesson that file is the next year's sales; for you it is the next client's download from the same bank, or a second account in the same format. The lesson adds a warning worth keeping: audit the new file anyway, because it brought blank dates of its own. Keep each client's queries in that client's workbook, and when two of a client's accounts belong in one list, Lesson 165 appends them by matching column headers. One cleaning routine per bank format, copied and repointed, replaces a fresh clean-up for every client every month.
If I save each month's statement into one folder, will next month's file join automatically?
Yes: a folder query takes in every file saved there, and a new one joins at the next refresh, which The Complete Excel Course with AI Integration builds in Lesson 166. Get Data From Folder combines the files, a Source.Name column records which file each row came from, and the cleaning set once in Transform Sample File is applied to every file in the folder. The lesson also switches column profiling to the entire data set, so column quality shows empty or error values across every month at once, a quick way to catch a statement that came down incomplete. Lesson 167 adds profit and fiscal year columns inside the folder query, which suits clients whose year does not follow the calendar. Name the files by month as you save them, keep every statement in the same layout, and a whole year becomes one table that grows by itself.
Where do my cleaned queries go next: PivotTables, a data model or both?
Usually into a PivotTable, sometimes into a data model, and The Complete Excel Course with AI Integration teaches both routes. Lesson 162 sets out the choice at Close and Load: a table on a sheet, a connection only, or the Data Model, with the rule that only the finished output goes into the grid while working queries stay as connections. For most client summaries, a table feeding a PivotTable is all you need: grouped by month, filtered with a slicer and brought up to date by Refresh All, which reruns the queries too (Lesson 65). When several tables must work together, such as transactions with a chart of accounts and a client list, SalesFusion goes on to relate them in a Power Pivot data model and measure them with DAX (Lesson 169 and Lesson 170); those lessons need Excel for Windows. Start with the PivotTable and add the model when a report outgrows it.
Is Power Query already inside my Excel, and does it work on a Mac?
Yes, it is already there, and The Complete Excel Course with AI Integration teaches it with nothing to install: Power Query sits on the Data tab under Get Data. The lessons open it through two doors, From Text/CSV for a single download (Lesson 155) and From Folder for a whole set of them (Lesson 166), and pick Transform Data rather than Load so the clean-up happens before anything reaches the sheet. On a Mac, the course's requirements set no barrier for this path: they name Windows only for Power Pivot and Power Automate, and none of those lessons is among the ones listed here, so Excel for Mac from Microsoft 365 runs these queries. Windows becomes necessary at the data model, the step after this path, where Power Pivot relationships and DAX measures begin. Everything a bookkeeper's monthly clean-up needs sits before that point.
Do I have to learn the M language to use Power Query?
No: almost everything is done with menus and buttons, and The Complete Excel Course with AI Integration keeps the typing to short formulas in custom columns. Removing columns, trimming text, replacing values, setting types, merging, appending and combining a folder are all clicks, each recorded for you as a step. The few typed formulas read much like Excel's own: Profit as one column minus another (Lesson 160), a discount rate that divides by 100 anything typed above 1 (Lesson 158), a year-month label from a date (Lesson 159) and a real date built from text in the unpivot lesson (Lesson 173). Writing whole queries in M is not taught and not needed for this work. If a step ever confuses you, the Applied Steps list shows the data as it stood at every point, and most errors vanish once the step that caused them is deleted (Lesson 167).
Which lesson gives me the first saving on my own bank file?
Lesson 159, where the first export comes out fully clean, and The Complete Excel Course with AI Integration gets you there early in a path of 1 hour 36 minutes. Up to that point you will have imported a CSV, removed what it does not need, cleared the symbols and placeholders from its amounts, set every column's type and given each row its year and month. Repeat those steps on one of your own bank downloads the same week and you hold a query that does that job for every month after it. The payee merge and the proof totals are the next big wins, then the folder query, which turns a year of statements into one table. Practise on the course's SalesFusion files first, so a mistake costs nothing, and keep the finished workbook open beside yours as the answer key. With the instructor support plan, a question about your own bank's layout goes to the instructor 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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for bookkeepers
- Lookups for bookkeepers
- PivotTables for bookkeepers
- Charts for bookkeepers
- Dashboards for bookkeepers
- Conditional formatting for bookkeepers
- Data cleaning for bookkeepers
- Data validation for bookkeepers
- Excel tables for bookkeepers
- Text functions for bookkeepers
- Date functions for bookkeepers
- Dynamic arrays for bookkeepers
- Power Pivot and DAX for bookkeepers
- Macros and VBA for bookkeepers
- Power Automate for bookkeepers
- Copilot in Excel for bookkeepers
- ChatGPT for bookkeepers
- Claude in Excel for bookkeepers