Accounting Analytics: An Integrated Approach
Part II of V: Accounting Analytics with Excel
Chapter 1 of 5 in this Part
SalesInvoiceLine[LineTotal] is the whole column, however many rows it holds[@Quantity] is the value in the current rowYour workbook should now contain four data worksheets, each holding a Table named after its query, and an Analysis worksheet. Check that:
Copy each reference one row down and one column right. What does it become?
A2$A$2$A2A$2B3: both parts adjust$A$2: nothing changes$A3: the column stays, the row adjustsB$2: the row stays, the column adjusts[[PricingMethod]:[PricingMethod]]Before moving on, check that:
=SUM(B23:E26) confirms, because the rounded percentages on display can add up to slightly more.SUBTOTAL(109, …) sums the visible rows, and SUBTOTAL(103, …) counts themA slicer shows one promotion’s lines. What does each formula return?
=SUM(SalesInvoiceLine[DiscountAmount])=SUBTOTAL(109,SalesInvoiceLine[DiscountAmount])=SUBTOTAL(103,SalesInvoiceLine[SalesInvoiceLineID])=SUBTOTAL(9,SalesInvoiceLine[DiscountAmount]), after you hide some of those lines by handTable 4.3 · Types of conditional formatting rules
| Rule type | What it does | Accounting example |
|---|---|---|
| Highlight Cells Rules | Formats cells greater than, less than, between, or equal to a value, or containing given text | Highlight invoice lines above a review threshold |
| Top/Bottom Rules | Formats the highest or lowest items by count or percentage, or values above or below the average | Highlight the top 10 percent of line amounts |
| Data Bars | Fills each cell with a bar whose length reflects its value | Compare discount dollars across promotions in a summary grid |
Table 4.3 · Types of conditional formatting rules
| Rule type | What it does | Accounting example |
|---|---|---|
| Color Scales | Shades cells along a color gradient from low to high | Show the spread of margins across items |
| Icon Sets | Places an icon in each cell according to thresholds | Mark variances as favorable, neutral, or unfavorable |
| Formula-based rules | Formats cells for which a formula you write returns TRUE | Highlight every row of the invoice lines that carries a promotional discount |
=$J2>0, where column J holds DiscountWhich tool does each job?
Your workbook should now open on a Documentation worksheet that explains it. Check that:
Absolute reference · Applied steps · Calculated column · Conditional formatting · Control total · Data validation · Documentation worksheet · Excel Table · Mixed reference · Named cell · Parameter cell · Power Query · Relative reference · Slicer · Structured reference · SUBTOTAL function
Next: Chapter 5: Data Preparation and Cleaning in Excel
These slides accompany Accounting Analytics: An Integrated Approach, licensed under CC BY-SA 4.0. Every figure and table comes from the chapter:
https://aa.accountinganalyticshub.com/chapters/04-excel-essentials/chapter.html
Chapter 4 · Excel Essentials for Accounting Analytics