The Complete Excel Course with AI Integration

Power Query for accountants and finance teams

Every month the same exports land on an accountant's desk: ledger detail, bank lines, sub-ledgers and a budget grid, each needing the same clean-up before a report can be built. 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, in month-end order: cleaning, period and fiscal year columns, control totals, mapping merges, appends for comparatives, a folder of period 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:

  • Turn the CSV export your accounting system produces every month into a clean Power Query table, with amounts and dates held as true numbers and dates, not text.
  • Clear stray spaces, money symbols, NA entries and mixed capitals out of codes, names and descriptions, so one account never splits into two lines of a report.
  • Give every row its period in the query: year, month and year-month columns, a fiscal year column, and custom and conditional columns for the rules your reports apply.
  • Prove a period's data before it is reported, with a Group By query that totals it and counts its rows so the figures tie back to the system's own report.
  • Map codes to names with a Power Query merge and a left outer join, and catch the rows with no match before they reach a total.
  • Reuse a whole cleaning pipeline on the next year's export and append the years into one table for comparatives.
  • Combine a folder of period or entity files into one table that takes in the next file on refresh, every row marked with the file it came from.
  • Unpivot a budget or forecast grid with a column per month into a long table of period and amount, ready for PivotTables and SUMIFS.

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.

    Its Power Query half is month end in miniature: exports with text where figures belong, lookup tables to map codes against, two years to stack, a folder of period files and a month-per-column grid, each turned into a clean table you can prove before anything is reported.

  • Project 05

    SalesPlusPerformance

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

    Where a clean table goes at month end: PivotTables that total it by category and by month with the dates grouped for you, slicers to narrow it, and Refresh All (Lesson 65), the same button that reruns every query in the workbook.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    The report clean actuals are for: budget and actual tables set side by side with SUMIFS, variance and percent variance in colour-coded number formats, and a dashboard a manager filters, all recalculating when the figures change.

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 you keep your data in Excel tables and have built a PivotTable: SalesFusion begins there with its dataset of CSV files, and its lessons run in the order a month end does, from one export to a folder of them. New to tables or PivotTables? Take Lesson 19 and the PivotTables from Lesson 57 first, or begin at Lesson 1 if Excel itself is new. Already cleaning exports in Power Query? Move quickly to Lesson 161, where control totals, merges, appends and the folder query begin.

17 of 186 lessons · 1 h 36 min

15 SalesFusion: advanced data tools and a Power Query modelling system 7 of 21 lessons · 37 min From a raw export to a clean table: the ETL idea that a clean-up is set once and replayed, a CSV brought in through Get Data, then columns removed and renamed, text trimmed, cleaned and put in one case, amounts, quantities and dates given true data types, and year, month and year-month columns added for reporting by period. The files are sales exports, and every step works the same on a ledger or bank CSV.
  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
  4. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  5. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  6. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  7. 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 3 of 21 lessons · 16 min Rules and controls inside the query: custom and conditional columns that calculate and flag, a Group By query that totals the data by month and region and counts its rows, the control total you tie back to the source, and Close and Load choices that keep working queries as connections and load only the finished table to a sheet or the Data Model.
  1. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
  2. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  3. 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 The combining work of a close: a merge that adds names to codes with a left outer join, a pipeline reused on the next year's file, the two years appended into one table, every file in a folder combined so next period's export joins on refresh, profit metrics and fiscal year columns, and one fact table built from its lookups and history, then checked for blanks.
  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 for the grids finance works with: a wide export of budget sales and target units with a column per month, turned into a long table of period and amount that keeps working as new month columns appear.
  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.

Is there a Power Query course built for accountants?

Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches Power Query on SalesFusion, an industry-standard project designed after talking with people from many different industries, and its raw material is what an accountant opens every month: CSV exports full of faults, lookup tables, a folder of period files and a wide grid of monthly figures. This page picks out the 17 lessons that turn them into clean, checked tables, 1 hour 36 minutes in all, and ties each one to a piece of month-end work. You build every query yourself from the course's dataset, with the finished workbook to compare against, and come away with a method that fits your own ledger, bank and sub-ledger exports, because the steps do not care what the rows hold.

Which month-end jobs does Power Query take off an accountant's desk?

Five that come round every period, and The Complete Excel Course with AI Integration teaches each of them. The clean-up of a system export, recorded once and replayed: text trimmed, symbols removed, true numbers and dates (Lesson 157 to Lesson 159). Consolidation, with every file in a folder stacked into one table (Lesson 166). Mapping, with a merge that brings names in beside codes (Lesson 163). Control, with Group By totals that prove the data before it is reported (Lesson 161). Reshaping, with Unpivot turning a column-per-month grid into rows (Lesson 173). Done by hand, each is a routine of copy and paste; after these lessons it is a step in a query, and next month it runs again the moment you press Refresh All.

I already clean exports with TRIM and Find and Replace: what does Power Query add?

It makes the cleaning permanent. TRIM, Paste Special values and Find and Replace, which The Complete Excel Course with AI Integration teaches on the worksheet in Lesson 22, fix the file in front of you, and next month's export arrives with the same faults to fix again. Power Query does that work as steps saved with the query: trim and clean text, replace values and set one case (Lesson 157), then give every column its data type (Lesson 158). Each step runs again on every export that follows, at a refresh, and the export itself is never edited, so it stays exactly as the system produced it. The worksheet methods remain worth knowing: they make each Power Query step familiar on sight, and they still suit the one-off file that never comes back.

Our system exports amounts and dates as text: can a query fix them every month?

Yes, and a fault fixed in the query stays fixed for every export after it. The SalesFusion files in The Complete Excel Course with AI Integration arrive in a state an accountant will recognise: money symbols and commas inside amounts, NA where a figure should be, quantities written as words, codes in mixed case with stray spaces, and dates that will not read as dates. Replace Values and the text tools clear the clutter (Lesson 157), each column becomes a true date, whole number, decimal or text (Lesson 158), and the dates gain year, month and year-month columns for reporting by period (Lesson 159). From then on SUMIFS and PivotTables read real figures, totals stop coming out short, and next month the same steps run on the new file without a cell touched.

Our financial year does not follow the calendar, and our reports compare it with last year: can the query handle both?

Yes, both belong inside the query. The Complete Excel Course with AI Integration adds fiscal year columns beside the profit metrics in Lesson 167, so each row carries the financial year it falls in as well as the calendar year, month and year-month added in Lesson 159. For comparatives, Lesson 164 duplicates a finished cleaning pipeline and points the copy at the next year's file, so the new year receives every step of the old one with nothing rebuilt, and Lesson 165 appends the two years into one table, matching the columns by their headers. A PivotTable on that table sets this year beside last year by fiscal period. When the following year arrives, the pattern repeats: one more copy, one more append.

Can Power Query stack a year of monthly files, or one file per entity, into one table?

Yes, straight from a folder, and next period's file joins on refresh. The Complete Excel Course with AI Integration builds it in Lesson 166: Power Query combines every file in a folder of period files into one table and adds a column naming the file each row came from, so the month or the entity stays visible after the stack. The cleaning is set once on a sample file and applies to every file in the folder, the ones there today and the ones saved later, and Lesson 167 adds profit metrics and fiscal year columns on top. The files need a shared layout, as exports from one system normally have. Consolidation adjustments stay in your hands; the stacking, cleaning and totalling stop being a monthly chore.

Can a query map ledger codes to the lines of my report?

Yes: a merge is how Power Query does a lookup, and The Complete Excel Course with AI Integration teaches it on real code tables. Lesson 163 merges the sales query with product and region tables on their codes, using a left outer join that keeps every sales row and brings the names in beside it, and Lesson 168 builds the finished fact table from those lookups and checks it for blanks. Swap the product table for a mapping of account codes to report lines and the same merge maps your ledger. Two things set it apart from lookups filled down a sheet: the mapping reaches every row of every future export at a refresh, and a code the mapping does not know yet, such as an account opened this month, comes back blank and is caught before it reaches a total.

Can Power Query show which bank lines have no match in the ledger?

Yes, with the same left outer join, and The Complete Excel Course with AI Integration teaches both halves of the method. The join keeps every row of the first table and fills columns from the second only where a match exists (Lesson 163), so bank lines set against your cash book on a shared reference come back with empty columns wherever no partner was found. Lesson 168 supplies the habit that finishes the job: after every merge, filter for the blanks before a figure is reported. The lessons apply it to sales rows and their lookups, and the logic carries straight over to a reconciliation. Matching on loose references or part payments is not taught; for files that share a key, the list of items still to explain rebuilds itself at every refresh.

Our budget arrives as a grid with a column per month: can Power Query use it?

Yes: Unpivot turns it into the long table that PivotTables and SUMIFS read best. The Complete Excel Course with AI Integration works on exactly that shape in Lesson 173, a wide export holding budget sales and target units with a column for each month. Unpivot Other Columns keeps the descriptive columns fixed and turns every month column into rows of period and amount, months added to the grid later included, so a reforecast with extra columns needs no change to the query. The period then becomes a real date and the figures are totalled by month. In that long shape a budget lines up with actuals by period, and FinanceGuard, from Lesson 115, shows the report to build on budget and actual tables: SUMIFS, variance, percent variance and a dashboard with slicers.

Will a reviewer or an auditor be able to follow what the query did?

Yes, step by step, and that alone makes Power Query worth an accountant's time. Every change made to the SalesFusion exports in The Complete Excel Course with AI Integration is saved as a named step in the Applied Steps list (Lesson 156), in order, and clicking any step shows the data as it stood at that point. The export is never overwritten: the query reads the file and writes its result to a new table, so the source stays as the system produced it. Lesson 161 then builds a check into the workbook, a Group By query that totals the data and counts its rows by month and region, so the figures can be tied back to the system's own report before they go anywhere. Copy, paste and delete leave no such trail.

Is Power Query still worth learning now that Copilot and ChatGPT clean data?

Yes, because the two do different jobs, and The Complete Excel Course with AI Integration teaches both. AI is quick on the file in front of you: Lesson 97 has Copilot clean messy data with prompts and Excel functions, and Lesson 99 gives a checklist for checking whatever it returns. A prompt's answer is a one-off, though, and has to be checked again each time, while a Power Query step is fixed, visible in Applied Steps and does exactly the same thing to every export, this month and next. For figures that end up in the accounts, that sameness is the point. Use AI to plan an analysis or tidy a file you will see once, and Power Query for the export that returns every period: the course puts both in your hands, with Claude and ChatGPT on real tasks too.

How long before Power Query is saving me time at month end?

About 1 hour 36 minutes of lessons, and the first saving arrives well before the last of them. In The Complete Excel Course with AI Integration the clean-up of one export, from import to true data types and period columns, is complete by Lesson 159: rebuild those steps on your own next export and that clean-up is never done by hand again. Control totals, merges and appends follow, and by Lesson 166 a whole folder of period files has become one query. The SalesFusion dataset and the finished workbook come with the course, so every step can be checked against a working answer. Lifetime access keeps the lessons open for the next new kind of export, and completing the course earns a Certificate of Completion with a verification link an employer can check.

I am at home in SUMIFS and VLOOKUP but have never written code: can I learn Power Query?

Yes, and those two functions are ideal preparation. Power Query runs on menus and buttons: in The Complete Excel Course with AI Integration every step from importing a CSV (Lesson 155) to combining a folder (Lesson 166) is a click, recorded for you as a step of the query. The only typing is a short formula in a custom column, profit or a fiscal year for instance (Lesson 167), and it reads much like the formulas you write now. Your instincts carry over too: a merge is VLOOKUP done once for the whole table, and Group By is SUMIFS done for every group at once. With the instructor support plan, a question about your own export goes to the instructor in writing for two months from the day you switch it on.

Do I need to buy anything extra, or switch to Windows, for these lessons?

No to both. Power Query is built into Excel, under Get Data on the Data tab, so The Complete Excel Course with AI Integration teaches it in the Excel you already have, with nothing to install. The course's requirements name Windows for two tools only, Power Pivot and Power Automate, and none of their lessons is on this page, so the Power Query path here is open to a Mac running Excel from Microsoft 365. Windows enters with the step after it: from Lesson 169 SalesFusion loads the clean tables into a data model, relates them in Power Pivot and measures them with DAX, and those lessons need Excel for Windows. Everything your month end asks of Power Query itself, from the first import to the unpivoted budget, sits on this page.

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.