Excel Expert work starts with understanding what a workbook will do when someone else opens, edits, recalculates, or summarizes it. In this guide, you will work through those decisions using small, defined datasets and observable results. You will control workbook behavior, prepare and validate data, build formulas that handle real exceptions, and choose charts and PivotTable settings that answer specific questions. Each planned lesson has a practical result to check, such as a protected input range, a calculated payment, or a correctly grouped summary. The examples assume Excel for Microsoft 365, English function names, and commas between formula arguments. Where dates or financial periods matter, the assumptions are stated so the result can be interpreted.
Manage workbook options and settings
1. Copy a macro between workbooks
A recorded macro lives in a VBA module inside a workbook. To reuse it, open both macro-enabled workbooks in the Visual Basic Editor, locate the module under the source project, and copy its code into a module in the target project. Inspect the procedure before running it: `ActiveSheet` acts on whichever sheet is active, while a reference such as `Workbooks("Source.xlsm").Worksheets("Report")` still points to the source. Change explicit references only when their intended destination is clear. Save the target as `.xlsm`, since `.xlsx` cannot retain VBA code. Close and reopen the target to verify that the macro is present, then test it on a disposable report. The MO-211 skills outline includes copying macros between workbooks; successful copying still requires checking what the code will change.
Worked example: With Source.xlsm and Target.xlsm open, copy the module containing `FormatReport` into Target's VBA project. Replace any explicit Source workbook or sheet reference with the intended Target reference; leave `ActiveSheet` only if selection controls the action. Save Target.xlsm and run the macro on a test report. Check: Target retains `FormatReport` after reopening; its selected report receives the formatting; Source's report is untouched.
Watch the distinction: Copying a module does not redirect references embedded in its code. A macro can be stored in Target.xlsm yet continue formatting a sheet in Source.xlsm.
Reference: [2]
2. Reference another workbook
An external reference pulls a value from another workbook rather than storing an independent copy. When both files are open, a reference can look like `=[Budget.xlsx]Summary!$B$4`; Excel may add the source path when the linked workbook is closed. The dollar signs keep the address fixed when the formula is copied, but they do not keep the linked file in the same location. Check the source workbook, sheet, and cell before trusting the result. A displayed value may be the last saved or last updated value, especially when link updates are declined or the source cannot be reached. Use Excel's workbook links controls to inspect and update the connection, then verify the source value directly. Moving or renaming Budget.xlsx may require changing the link source. Record which version supplied figures used in a report.
Worked example: Budget.xlsx contains `1200` in Summary!B4. In Report.xlsx, enter `=[Budget.xlsx]Summary!$B$4`, which displays `1200`. After Budget's B4 is saved as `1350`, update the report's workbook link and recalculate as needed. Check: the formula still points to Summary!B4; the source file contains `1350`; the refreshed report displays `1350` before it is called current.
Watch the distinction: A visible `1200` does not prove that Budget.xlsx still contains `1200`. It may be a cached linked result awaiting an update from the source.
Reference: [2]
3. Handle macro-enabled files
Saving and running a macro are separate decisions. An `.xlsm` file can retain VBA even when macros are disabled for the current session. An `.xlsx` copy cannot retain those macros, so check the required file type before saving a workbook that must remain automated. When opening an unfamiliar file, confirm where it came from and inspect the macro's code and intended actions before enabling it under the organization's rules. A recorded procedure may contain an explicit sheet name, print setting, or selected range that no longer fits the workbook. Run a verified macro on a copy or test sheet and inspect its output. For a print-area procedure, confirm the defined print area and print preview, not just whether the macro ran without an error. The Microsoft Excel Expert certification identifies the applicable Microsoft 365 Apps version.
Worked example: Open trusted internal PrintPlan.xlsm and inspect its recorded `PrintAreaSetup` procedure. Confirm that its sheet and range match the intended report, then enable and run it under the local workflow. Open Print Preview to verify the selected print area. Check: the inspected procedure has the expected target; the print area changes correctly; the saved `.xlsm` still contains the macro after reopening.
Watch the distinction: A trusted filename alone does not establish what a macro does. Likewise, saving an `.xlsm` workbook as `.xlsx` does not preserve a runnable copy of its VBA.
4. Recover and compare workbook versions
Version history and recovery copies answer different questions. Version history, when available for the storage location, shows saved states over time; recovery copies may capture work after an interruption. Neither guarantees that the newest version contains the correct data. Identify the disputed cell and compare its formula or value across candidate versions. Also inspect nearby assumptions, dependent totals, and other edits made since the earlier version. Restoring an entire workbook can replace valid newer work, so copying back a verified cell or range may be safer when the error is narrow. If formulas depend on the restored value, recalculate and check the downstream result. Give the corrected file a clear saved state so the team can identify it. A revision date is evidence of timing, not proof of correctness.
Worked example: Yesterday's forecast has revenue `82,000`; today's has `28,000`. Compare the revenue cell, nearby inputs, and dependent totals in both saved versions. If the change is confirmed as an accidental overwrite, copy `82,000` into the current workbook and recalculate, preserving other valid edits. Check: revenue is `82,000`; affected formulas reflect it; the corrected workbook is saved as the intended current version.
Watch the distinction: Restoring yesterday's whole workbook merely because one cell is wrong can discard legitimate changes made today. Compare the scope of changes before choosing cell repair or full restoration.
Reference: [2]
5. Restrict changes to a workbook
Choose a restriction by the action the reviewer needs to perform. A workbook-wide read-only setting may keep prices from changing, but the available commenting behavior depends on where and how the file is shared. Where the collaboration service offers comment-only permission, assign that permission and test it with a reviewer account. If comments must be made inside a workbook that permits editing, protect the price cells and leave only appropriate review areas available. Workbook structure protection has another purpose: it controls sheet changes, not price values. Test the actual workflow with a non-owner account because owners can often bypass restrictions that affect reviewers. Confirm that a comment can be added, a final price cannot be overwritten, and the owner can still incorporate an approved change. Worksheet protection is an editing control, not file encryption or a substitute for access permissions.
Worked example: Assume the shared pricing file's service supports comment-only access. Give the reviewer that access, then test with their account: add a comment beside a price and attempt to change the price from `75` to `70`. Keep the authorized price at `75`. Check: the comment is visible to the owner; the attempted price edit is blocked; the owner can make an approved revision.
Watch the distinction: Protecting workbook structure alone does not protect price cells. It stops sheet-level changes such as renaming, while cell editing requires a separate control.
Reference: [2]
6. Protect input and formula cells
Cell locking takes effect only after worksheet protection is turned on. Since cells are normally marked locked by default, first select the intended input range and clear its Locked setting. Leave formula cells locked, then protect the worksheet and allow the actions users need, such as selecting unlocked cells. Test both an allowed input and a blocked formula edit. If different editors need access to a particular locked area, use the protected-range feature where suitable and test it under each editor's credentials; simply unlocking that area would expose it to everyone who can edit the sheet. A formula may depend on an input even though users cannot type over the formula itself. Keep a trusted copy and document how an authorized owner can remove or modify protection. Worksheet protection limits ordinary edits inside Excel; it does not encrypt the file.
Worked example: In Quote.xlsx, B2:B10 hold inputs and C2:C10 hold formulas. Unlock B2:B10, leave C2:C10 locked, and protect the sheet. Enter `50` in B3, then try to type `50` over C3. Check: B3 accepts the entry; C3 retains its formula; the sheet remains protected. If a manager needs a separate sensitive range, assign and test that access independently.
Watch the distinction: Setting a cell to Locked without protecting the sheet changes no editing behavior. Conversely, protecting the sheet before unlocking inputs can block the very entries users need to make.
Reference: [2]
7. Protect workbook structure
Workbook structure protection controls the collection and arrangement of worksheets. With structure protected, users cannot perform ordinary sheet operations such as inserting, deleting, moving, or renaming sheets. It does not decide whether an existing cell can be edited; worksheet protection and cell locking handle that. Apply structure protection after the template has the correct sheets and names. Then test a prohibited sheet operation and an allowed input entry so the distinction is visible. If users need to add monthly tabs, structure protection may conflict with their workflow and the template should be designed accordingly. Protecting structure can prevent accidental damage to formulas that rely on sheet names, but it is not a security boundary for confidential data. A password used for this editing restriction should not be described as file encryption.
Worked example: A template has Input and Summary sheets. Protect workbook structure, then attempt to rename Summary to Results; Excel should block the change. On Input, enter `25` into an unlocked cell that the worksheet permits editing. Check: Summary keeps its name; no sheet can be inserted or moved through ordinary controls; the allowed Input cell accepts `25`.
Watch the distinction: If an unlocked Input cell remains editable, structure protection has not failed. It protects sheet arrangement, while worksheet protection governs edits within a sheet.
Reference: [2]
8. Set calculation behavior
Automatic calculation normally updates dependent formulas when their inputs change. Manual calculation can help with a large workbook, but it creates a risk: displayed results may be stale until recalculation occurs. Check the calculation mode before investigating a surprising result, especially in a workbook received from someone else. In manual mode, an input cell can show its new value while a dependent formula still displays an older cached result. Recalculate, then compare the result with a quick independent calculation. Saving, opening, or updating links can affect when values change, so do not treat a visible formula result as current without checking its calculation state. Use manual mode deliberately, document it for collaborators, and recalculate before reporting or exporting figures. Calculation mode does not correct a wrong formula; it only determines when the formula is evaluated.
Worked example: A1 contains `10` and B1 contains `=A1*2`, displaying `20`. Set calculation to manual and change A1 to `15`. B1 may still display `20` until recalculation; the correct result is `15 × 2 = 30`. Check: manual mode is identified; recalculation changes B1 to `30`; switching to automatic makes a later input change update B1 promptly.
Watch the distinction: Seeing a formula in B1 does not guarantee its displayed value reflects the latest A1. In manual mode, a correct formula can show an old calculated result.
Reference: [2]
Manage and format data
9. Extract patterns with Flash Fill
Flash Fill infers a text transformation from examples you type beside existing data. It is useful for extracting a consistent part of a name, combining fields, or changing a visible pattern without writing a formula. Enter a clear example in the first output cell, invoke Flash Fill, and inspect the generated results. Its output is stored text, so it does not automatically update when a source name changes. Ambiguous names expose the limit of pattern matching: a one-word name, a suffix, or a multi-part surname may need a different rule or manual correction. Compare the filled column with the source records and check unusual entries before using it as an identifier. If the transformation must remain live or follow an explicit rule, a formula or structured data process is more suitable.
Worked example: A2:A4 contain `Mia Chen`, `Leo Patel`, and `Ava Ruiz`. Type `Chen` in B2 and use Flash Fill for B3:B4. Inspect the output against each full name. Check: B2 is `Chen`; B3 is `Patel`; B4 is `Ruiz`. If A5 contains only `Mia`, leave its surname result for review rather than assuming a valid extraction.
Watch the distinction: Flash Fill does not create a dependable surname formula. It writes inferred results, so later source edits and unusual name structures require another inspection or a fresh fill.
Reference: [2]
10. Extend a controlled series
A fill handle can copy a value, extend a detected pattern, or generate a series, so specify the intended operation instead of relying on its default behavior. Fill Series lets you choose a linear step, a growth pattern, or a date interval and define where the sequence stops. For a linear sequence, each new value equals the previous value plus the step. A date series instead advances by the selected date unit, which matters for months because calendar months have different lengths. Check the first, second, and last results to catch a copied constant or an incorrect increment. If the sequence is part of a recurring workbook task, practice the command in a copy of the file before using it on production data. The related Excel Expert study guide can help place this operation among other workbook skills.
Worked example: Enter `5` in A2. Select A2:A5 and use Fill Series with a linear step value of `5`. The four cells become `5`, `10`, `15`, and `20`, since each row adds `5`. Check: A2 remains `5`; A3 is `10`; A5 is `20`. A column of four `5` values indicates a copy operation instead.
Watch the distinction: Dragging from a single numeric seed may copy it rather than infer a step of five. Select the Fill Series settings or provide enough seed values to establish the pattern.
Reference: [2]
11. Generate values with RANDARRAY
`RANDARRAY` returns an array that spills from one formula cell into adjacent cells. Its arguments specify rows, columns, minimum, maximum, and whether to return integers. In Microsoft 365 Excel with comma argument separators, `=RANDARRAY(3,2,1,6,TRUE)` requests three rows, two columns, and whole numbers from 1 through 6, inclusive. The spill area must be empty; an occupied cell can produce a spill error. The individual draws are random, so there is no predetermined sequence to check. The result can change on recalculation, which makes it unsuitable as a stable record until the generated cells are copied and pasted as values. If a reproducible sample is needed, store the sampled values and document the draw conditions. Do not interpret six outputs as guaranteed to contain every integer once.
Worked example: Enter `=RANDARRAY(3,2,1,6,TRUE)` in D2 with D2:E4 empty. Inspect the six spilled cells, then copy D2:E4 and paste values into a fixed sample area. Check: the spill is three rows by two columns; every value is an integer from `1` to `6`; the pasted record remains unchanged after recalculation.
Watch the distinction: The formula requests six draws, not one copy of each face of a die. Recalculation may change the values, and duplicates are possible.
Reference: [2]
12. Design a custom number format
A custom number format changes how a stored value appears; it does not change the underlying number used by formulas. Format sections are separated by semicolons in the order positive, negative, zero, and text. Literal words belong in quotation marks. For example, `#,##0" units";(#,##0" units");"-";@` displays positive quantities with a thousands separator and label, negatives in parentheses, zero as a dash, and text unchanged. A zero displayed as `-` is still numeric zero, which differs from a blank cell. Test all sections with representative inputs before applying the format to a whole column. A format should communicate the unit consistently and should not conceal a meaningful negative sign without another clear convention. Calculations use the stored numbers, so verify totals from the values, not by reading the decorative text alone.
Worked example: Put `1250`, `-30`, and `0` in A2:A4. Apply `#,##0" units";(#,##0" units");"-";@`. They display as `1,250 units`, `(30 units)`, and `-`. In A5, `=SUM(A2:A4)` returns `1250 - 30 + 0 = 1220`. Check: all three displays match; A5 is numeric `1220`; A4's stored value remains zero.
Watch the distinction: The displayed dash is not a blank or missing number. It represents stored zero here, and formulas such as SUM still include that zero.
Reference: [2]
13. Validate entries from a list
List validation narrows ordinary entry to a defined set of labels, improving consistency for later filtering and summaries. Store the allowed statuses in a small reference range or provide them directly in the rule, then set the validation source for the input cells. A Stop error alert rejects an entry outside the set when a user types into a validated cell; other alert styles can allow it. Decide how blank entries should be handled and whether the list may expand. A reference range is easier to maintain when labels change. Validation does not automatically repair existing invalid data, and copying or pasting can bypass some entry controls, so inspect the column for invalid records after applying the rule. Test one allowed label and one disallowed label rather than trusting the settings dialog alone.
Worked example: Place `Open`, `Hold`, and `Closed` in F2:F4. Apply List validation to B2:B20 using that range and a Stop alert. Type `Open` in B2, then try `Pending` in B3. Check: `Open` is retained; `Pending` is rejected; the dropdown shows exactly the three allowed labels. Review pre-existing B2:B20 entries separately for exceptions.
Watch the distinction: A dropdown is not a complete data-cleaning step. Existing entries may remain invalid, and the Stop alert only governs entries made through the validation rule.
Reference: [2]
14. Validate a numeric range
Choose the validation type from the meaning of the field. A quantity counted in whole items calls for Whole number, while a measurement that permits fractions calls for Decimal. Set the comparison to between and enter inclusive lower and upper bounds. Test both boundary values because they reveal whether the rule uses the intended comparison. Then test values just outside the bounds and a fractional value. Decide separately whether a blank is acceptable; a blank is not the same as zero. Validation helps prevent ordinary entry mistakes, but it does not make imported or pasted data automatically trustworthy. Inspect existing cells for invalid values when applying the rule to a populated range. The limits in a practice task are supplied business assumptions, not a general Excel or certification threshold.
Worked example: Assume an order quantity must be a whole number from `1` through `500`. Set Whole number, between `1` and `500`, with a Stop alert. Test `1`, `500`, `0`, `501`, and `2.5`. Check: both endpoints are accepted; `0` and `501` are rejected; `2.5` is rejected because it is not whole.
Watch the distinction: Using Decimal between `1` and `500` enforces the range but permits `2.5`. That is wrong when the field counts indivisible items.
Reference: [2]
15. Validate across cells
Custom validation can compare one cell with another. The formula is written as if it applies to the first cell in the selected range, and relative row references adjust as Excel applies it down the column. For end dates in C2:C20 and start dates in B2:B20, `=C2>=B2` tests the intended same-row relationship. A more defensive rule, `=AND(ISNUMBER(B2),ISNUMBER(C2),C2>=B2)`, also rejects text and missing date values during ordinary entry. Excel stores valid dates as numbers, which makes the comparison work. If copied sideways, consider fixing the columns with `$B2` and `$C2` while leaving the row relative. Test an allowed later date and an earlier date in more than one row. Validation does not necessarily flag old entries until you audit the range.
Worked example: Select C2:C20 and set Custom validation to `=AND(ISNUMBER($B2),ISNUMBER($C2),$C2>=$B2)`. Assume B2 holds `10 June 2026`. Enter `12 June 2026` in C2, then try `9 June 2026`. Check: the later date is accepted; the earlier date is rejected; in row 3 the rule compares C3 with B3, not row 2.
Watch the distinction: Using `$B$2` as the start-date reference would compare every end date with B2. Fix the column if needed, but leave the row relative.
Reference: [2]
16. Group detail rows
An outline group controls the visibility of detail rows without deleting their contents. Select the detail rows, group them, and use the outline controls to collapse or expand them. Keep a summary row outside the grouped detail if it must remain visible when the group is collapsed. Grouping does not alter formulas by itself: a sum over the underlying rows can still calculate from hidden detail. Distinguish this from filtering, which hides rows according to field values, and from deleting, which removes records. If groups are nested, their outline levels let a reader choose how much detail to see. When removing a group, use Ungroup rather than deleting rows. After changing an outline, inspect both the collapsed display and the expanded source so a hidden line is not mistaken for a missing expense.
Worked example: Rows 3:7 contain expenses of `100`, `150`, `200`, `250`, and `200`, totaling `900`; row 8 shows their sum. Group rows 3:7 and collapse the outline. Check: five detail rows are hidden; row 8 still displays `900`; expanding restores all five lines. Ungrouping later removes the outline controls while retaining the expense records.
Watch the distinction: Collapsed rows are hidden, not removed from the workbook. A visible `900` summary can still depend on all five hidden expense lines.
Reference: [2]
17. Insert category subtotals
The Subtotal command inserts summary rows whenever the selected category changes, so sort the detail by that category first. Choose the category field, the summary function, and the numeric field to aggregate. With Sum, each inserted subtotal equals the detail values in its category, and the grand total equals all detail values once. The outline levels let you show just totals or expand the underlying rows. If the categories are scattered, the command can insert multiple separate subtotals for the same label, which may mislead readers. Check category boundaries and reconcile the grand total to an independent detail sum. Avoid summing a range that contains both detail and inserted subtotal rows with a plain SUM, since that can double count. Remove subtotals through the command when returning to raw detail.
Worked example: Sort records by Region: East `40`, East `60`, West `30`, West `20`. Insert Sum subtotals at each Region change. East is `40 + 60 = 100`; West is `30 + 20 = 50`; the grand total is `150`. Check: each subtotal follows its category; grand total is `150`; collapsing the outline leaves category summaries visible.
Watch the distinction: Adding detail rows and their subtotal rows gives `300`, which counts each sale twice. The grand total for these four records is `150`.
Reference: [2]
18. Use a table totals row
An Excel table's Totals Row summarizes a column without adding a normal data record. Its dropdown lets you choose Sum, Average, Count, or another suitable calculation. The default table subtotal behavior can reflect only visible rows after a filter, which is useful for answering a question about the current view. Keep that distinct from the sum of all stored records. A filtered-out amount is still in the table and may reappear when the filter is cleared. Inspect the formula or selected totals function when the result seems to change unexpectedly. Structured references keep the totals formula tied to the table column as rows are added. If a fixed all-record total is required alongside a visible-row total, label each result clearly and calculate them separately.
Worked example: Make a Sales table with Amount values `10`, `20`, and `30`. Turn on Totals Row and select Sum: it shows `60`. Filter out the row containing `20`; the visible-row total becomes `10 + 30 = 40`. Check: the Totals Row shows `40` under the filter; clearing it restores `60`; all three source records remain present.
Watch the distinction: A filtered total of `40` does not mean the `20` record was deleted. It is excluded from the current visible-row calculation.
Reference: [2]
19. Remove duplicates by the right key
Remove Duplicates compares the columns you select as a composite key. Selecting every column removes rows whose selected values match completely; selecting only an ID treats every repeated ID as a duplicate even when other fields differ. Decide what defines the same record before running the command. An ID repeated across regions may represent different transactions, or it may reveal a data problem requiring investigation. Make a copy or inspect the candidate records first, because removal changes the data range. Check how many rows Excel reports removed and compare the surviving records with the intended key. Header selection matters: a header mistaken for data can be included in the comparison. Normalize obvious spacing or case issues where appropriate, since apparently identical labels can differ in stored text.
Worked example: Three records are `(7, North, 10)`, `(7, North, 10)`, and `(7, South, 12)`. Select all three fields as the duplicate key and remove duplicates. Check: one exact repeat is removed; two distinct records remain; their amounts are `10` and `12`, totaling `22`. Selecting ID alone would leave only one row and lose a distinct region record.
Watch the distinction: Repeated ID does not automatically mean repeated record. If region and amount distinguish valid entries, using ID alone as the duplicate key discards information.
Reference: [2]
20. Filter records by combined criteria
Filters across different columns combine as AND conditions: a row must satisfy the Region selection and the Amount condition to remain visible. Multiple choices within a single column generally broaden that column's condition. Set each filter deliberately, then read the filter indicators before interpreting the visible subset. Filtering hides rows from the current view but does not alter the source records. For a visible-only total, use an appropriate subtotal calculation rather than a plain SUM that may include hidden rows. Check both the count and values of the visible records so an unexpected item is easy to spot. Clear the filters before handing off a workbook when the next reader expects the full dataset. The MO-211 practice questions can be used to rehearse this decision sequence with other data tasks.
Worked example: The records are East `120`, East `80`, West `150`, and East `200`. Filter Region to East and Amount to at least `100`. The visible amounts are `120` and `200`, giving `120 + 200 = 320`. Check: exactly two rows are visible; West `150` is excluded by Region; East `80` is excluded by Amount. Clearing filters restores four rows.
Watch the distinction: A plain SUM over the original amount range may still return `550`, including filtered-out rows. Use a visible-row calculation when the question asks for the filtered total.
Reference: [2]
21. Build a value-based format rule
A value-based conditional format tests each cell in its Applies To range against a condition, then changes its appearance when that condition is true. For a strict threshold, choose Greater Than and enter 100, or use a formula such as =B2>100 with B2 as the range’s upper-left cell. Greater Than excludes the boundary itself; Greater Than or Equal To includes it. Decide which comparison the requirement actually calls for before choosing a rule. Conditional formatting leaves the stored numbers intact, so sorting, formulas, and totals still use the original balances. In Microsoft 365 Excel, inspect the rule in Conditional Formatting > Manage Rules to confirm both its comparison and its Applies To range. The MO-211 skills outline includes custom conditional formatting rules.
Worked example: In B2:B5, enter 99, 100, 101, and 150. Select B2:B5, create a Greater Than rule with 100, and choose a visible fill. The comparison gives FALSE, FALSE, TRUE, TRUE, so only B4 and B5 change appearance. Check that the rule covers B2:B5, that 100 remains unformatted, and that the stored sum remains 450.
Watch the distinction: Formatting 100 assumes the threshold is inclusive. The wording “strictly greater than 100” requires >100; use >=100 only when the boundary must qualify.
Reference: [2]
22. Format a row using a formula
To format an entire record from one status cell, select the full record range and create a formula-based conditional formatting rule. Write the formula as if Excel were testing the upper-left cell of that range. In =$C2="Late", the dollar sign fixes column C while row 2 remains relative. As Excel applies the rule across row 2, every cell consults C2. On row 3, every cell consults C3. This produces one consistent decision per record even when the format spans several columns. A fully fixed reference, =$C$2, would make every row depend on the first status. Check for extra spaces or inconsistent status text if an expected row does not highlight. A formula rule evaluates its result as TRUE or FALSE; it does not replace the status or other source data.
Worked example: Place Late, Open, and Late in C2:C4. Select A2:D4 and create a formula rule =$C2="Late" with a fill color. Rows 2 and 4 satisfy the test; row 3 does not. Check that all four cells in each qualifying row highlight, that row 3 stays clear, and that the Applies To range is A2:D4.
Watch the distinction: Using =C2="Late" lets the tested column shift across A:D. Fix column C with $ while leaving the row relative, so each record follows its own status.
Reference: [2]
23. Anchor conditional format references
Conditional formatting formulas follow the same relative and absolute reference rules as ordinary formulas. Excel interprets a rule from the upper-left cell of its Applies To range, then adjusts unfixed references for each cell it formats. With A2:C4 selected, =B2>50 tests B2 for A2, C2 for B2, and D2 for C2. That shifting test can make a row appear only partly formatted or respond to an unrelated column. Fix the criterion column as =$B2>50. The row remains relative, allowing row 3 to test B3 and row 4 to test B4. When diagnosing a surprising result, inspect the formula, the range’s upper-left cell, and the reference each formatted cell will actually use. This reference check is especially useful when a rule was copied to a new range.
Worked example: Enter 40, 60, and 80 in B2:B4. Apply a rule to A2:C4 using =B2>50, then inspect the inconsistent cells. Edit it to =$B2>50. Now row 2 fails because 40≤50; rows 3 and 4 pass because 60>50 and 80>50. Check complete-row highlighting, the fixed B column, and the relative row numbers.
Watch the distinction: Adding dollar signs to both B and 2 creates =$B$2>50, so every cell tests 40. Fix only the column when each row needs its own value.
Reference: [2]
24. Control rule precedence
A cell can satisfy several conditional formatting rules at once. Manage Rules shows their order, with higher rules evaluated first. Stop If True prevents lower rules from affecting a cell once a higher rule succeeds. Use it when a high-priority condition must control the appearance, particularly if overlapping rules specify the same format property. Otherwise, the displayed result depends on rule precedence and which properties each rule sets. Design score bands in descending order, or write mutually exclusive conditions such as >=90 and AND(A2>=80,A2<90). The latter makes each band explicit, while Stop If True lets a simpler >=80 rule sit below the >=90 rule. Test values at both boundaries and inside each band. The MO-211 practice questions offer further opportunities to check these rule decisions.
Worked example: Put 95 in A2 and 85 in A3. Apply a green rule for >=90 above an amber rule for >=80, both to A2:A3, and enable Stop If True on green. A2 meets both comparisons but stops at green; A3 fails green and becomes amber. Check rule order, Stop If True, and the displayed colors for both scores.
Watch the distinction: Placing the broad >=80 rule first with Stop If True would prevent 95 from reaching the >=90 rule. Put the more specific priority condition first.
Reference: [2]
25. Repair a rule's Applies To range
A sound conditional formatting formula can appear broken when its Applies To range ends before new records. Open Manage Rules, choose the relevant worksheet, and inspect the exact range before changing the condition. Extend the range to include new entries, then confirm the formula still refers to the first cell correctly. Editing a rule changes its condition or target; duplicating creates another rule that can be adapted for a different range; deleting removes a rule that is no longer wanted. These operations have different consequences when formats overlap. Avoid extending a rule across adjacent fields merely to capture new rows, because that may format unrelated cells. After a range change, test one newly included qualifying cell, one nonqualifying cell, and a nearby cell outside the target. If the source data is an Excel table, also inspect how the rule behaves as rows are added.
Worked example: A late-date rule applies to =$D$2:$D$10, but dates now reach row 12. In Manage Rules, extend Applies To to =$D$2:$D$12 without changing the test. Give D11 a qualifying late date and D12 a nonqualifying date. Check that D11 highlights, D12 does not, and E11 remains outside the rule.
Watch the distinction: Changing the late-date test cannot help D11 while the rule ends at D10. Inspect Applies To before rewriting a condition that already works.
Reference: [2]
26. Read visual value scales
Data bars encode relative magnitude through bar length; icon sets place values into bands according to configured thresholds. Both are conditional formats, so neither changes the stored numbers. Before interpreting a bar, inspect the rule’s minimum, maximum, and Applies To range. Automatic bounds can make the same value look different when another value enters the range. For icon sets, check whether thresholds are numbers, percentages, percentiles, or formulas: a threshold of 50 as a number has a different meaning from 50 percent of a distribution. Decide whether the display should compare all records or only a selected subset. A bar is a visual cue, not a unit conversion, and equal-looking bars need not imply equal business importance. Verify exact values in the cells when calculating totals or making decisions at a boundary.
Worked example: Enter 10, 20, and 40 in B2:B4 and apply one data-bar rule to all three cells. With a common scale, 40 gets the longest bar and 10 the shortest. Calculate =SUM(B2:B4): the result is 70. Check that all three cells share one rule, their stored values remain 10, 20, 40, and no percentage conversion is inferred.
Watch the distinction: A bar covering half a cell does not mean its value is 50%. Its length depends on the rule’s scale and other values.
Reference: [2]
27. Use an advanced filter criteria range
Advanced Filter uses a criteria range whose headings match the source field names. Conditions written across one criteria row are combined with AND; conditions on different criteria rows are combined with OR. This layout lets you express alternatives such as “East over 100” or “West over 100” without changing the records. Put >100 under the Amount heading as text in each relevant criteria row, beside the corresponding Region. Include the source headers when selecting the list range, and choose whether to filter in place or copy matching records elsewhere. Empty criteria cells broaden a row’s condition, so an unintended blank Region beside >100 would admit every region over 100. Before accepting the result, read each criteria row as a complete statement and reconcile the returned records against the source.
Worked example: Create source columns Region and Amount with East/120, East/80, West/150, and West/60. In a separate criteria range, use the same headers; enter East and >100 on one row, West and >100 on the next. Advanced Filter returns East/120 and West/150. Check exact header names, two criteria rows, and exclusion of both amounts below 100.
Watch the distinction: Putting East and West in one Region cell does not express two alternatives. Use separate criteria rows; each row is one complete AND condition.
Reference: [2]
28. Filter by a format signal
Excel can filter a column by its visible cell color, including a color supplied by conditional formatting. This is useful for reviewing records flagged by a rule, but the color represents the rule’s current evaluation rather than a separate stored category. First inspect what the red format means, such as a due date before a stated reference date and an unpaid balance. Then filter by that color and total the visible balances with an appropriate visible-row calculation, such as SUBTOTAL with function number 109 for Sum. A plain SUM of the whole balance range includes hidden rows. If inputs or the reference date change, recalculate and reapply the filter as needed before treating the visible set as current. The rule, filter state, and total are three separate pieces to verify.
Worked example: Suppose a due-date rule colors two overdue rows red; their balances are 40 and 70. Filter the date column by red and use =SUBTOTAL(109,B2:B10) on the balance range. It returns 110 for those visible rows. Check that both red rows remain visible, other rows are hidden, and the total is 40+70. After changing a due date, reapply the filter.
Watch the distinction: Using =SUM(B2:B10) to total a color-filtered list may include hidden records. Use a visible-row subtotal when the question asks for the displayed subset.
Reference: [2]
Create advanced formulas and macros
29. Combine logical tests
Translate a business rule into its logical parts before nesting functions. Here, stock must be sufficient, one of two customer or payment conditions must hold, and Hold must be false. In Microsoft 365 Excel using comma argument separators, =IF(AND(A2>=5,OR(B2="Preferred",C2="Prepaid"),NOT(D2)),"Approve","Review") states those requirements directly. AND requires every listed condition; OR requires at least one; NOT reverses the Hold flag. IF then selects the label. Put exception tests where their effect is unmistakable, and use parentheses to show which alternatives belong together. Check representative cases: sufficient stock with an eligible customer, insufficient stock, and an otherwise eligible order on Hold. If Hold is stored as text rather than a TRUE/FALSE value, compare it to the actual text instead of treating it as a Boolean.
Worked example: Set A2=8 units, B2=Preferred, C2=Unpaid, and D2=FALSE. The formula’s parts evaluate to TRUE, TRUE, and TRUE, so it returns Approve. Change D2 to TRUE: NOT(D2) becomes FALSE, making AND false and the result Review. Check the five-unit boundary, either qualifying alternative, and Hold’s overriding effect.
Watch the distinction: Using OR around every test would approve an order with only enough stock, even if its customer and payment fail. Preserve the required AND structure.
Reference: [2]
30. Choose IFS or SWITCH
IFS is suited to ordered conditions, especially thresholds. It returns the result for the first TRUE test, so place the highest score band before lower ones. A final TRUE condition supplies a fallback. SWITCH evaluates one expression and compares it with exact listed values; it fits code translations such as W to West and E to East. Its last argument can supply a default for an unmatched code. Neither function decides precedence for you: =IFS(A2>=80,"B",A2>=90,"A",TRUE,"C") would classify 95 as B because the first test already succeeds. Conversely, SWITCH does not naturally express a range such as “at least 80.” Use IFS when tests differ or overlap, and SWITCH when comparing one value against several discrete alternatives. Confirm the stored type of a code because text W and a numeric code require different comparisons.
Worked example: With score 82 in A2, =IFS(A2>=90,"A",A2>=80,"B",TRUE,"C") skips A and returns B. With W in B2, =SWITCH(B2,"W","West","E","East","Unknown") returns West. Check the order of score tests, the exact W match, and the fallback by trying an unlisted code such as N, which returns Unknown.
Watch the distinction: SWITCH is a poor substitute for score bands because it compares exact values. Use ordered IFS conditions for ranges, with the highest overlapping threshold first.
Reference: [2]
31. Summarize one criterion
SUMIF adds values from rows matching one condition; AVERAGEIF averages their numeric values; COUNTIF counts matching cells. Their answers address different questions and should carry different interpretations. With regions in A2:A4 and amounts in B2:B4, =SUMIF(A2:A4,"East",B2:B4) adds East amounts. =AVERAGEIF(A2:A4,"East",B2:B4) divides their sum by the number of matching numeric amounts, while =COUNTIF(A2:A4,"East") counts East labels. Ensure the criterion range and sum or average range align row for row. A text amount or blank in a matching row can affect the average’s denominator differently from the label count, so inspect source types when results appear inconsistent. For a single exact region, these functions are clearer than a manually filtered total that can change with the view.
Worked example: Put East, West, East in A2:A4 and 10, 20, 30 in B2:B4. SUMIF for East returns 10+30=40; AVERAGEIF returns 40/2=20; COUNTIF returns 2 matching region cells. Check that the ranges cover rows 2 through 4, West’s 20 is excluded, and the average is an amount per matching numeric row.
Watch the distinction: COUNTIF’s 2 is a record count, not an amount. Do not read it as the East total or use it as the average when amounts differ.
Reference: [2]
32. Summarize several criteria
The plural criterion functions match conditions on the same row. For example, SUMIFS checks Region and Status for each record, then adds Amount only when both match. AVERAGEIFS, COUNTIFS, MAXIFS, and MINIFS apply the same row-level intersection to different summaries. In Microsoft 365 Excel, =SUMIFS(C2:C5,A2:A5,"East",B2:B5,"Open") uses the amount range first, followed by criterion range and criterion pairs. COUNTIFS omits a separate amount range because it counts matching rows. Keep all ranges the same size and aligned. A frequent diagnostic clue is a total that includes East/Closed records: one condition is missing or points at the wrong column. For averages, check whether matched amount cells are numeric; for maximum and minimum, interpret the extremes within the qualified subset, not the entire table.
Worked example: Let A2:C5 hold East/Open/10, East/Open/20, East/Closed/50, and East/Open/40. Filtering logically to East and Open leaves 10, 20, 40. SUMIFS returns 70, AVERAGEIFS returns 70/3 or about 23.33, COUNTIFS returns 3, MAXIFS returns 40, and MINIFS returns 10. Check both criteria, aligned ranges, and exclusion of 50.
Watch the distinction: Summing all East rows gives 120 and includes the Closed record. Every specified condition must match on the same row for these summaries.
Reference: [2]
33. Name intermediate values with LET
LET assigns names to calculations inside one formula, then uses those names in the final expression. The pattern is =LET(name,value,calculation). It helps when a repeated expression is long or when a named intermediate result makes the order of operations easier to inspect. In =LET(net,A2*(1-B2),net*1.05), net is the price after discount; the final expression adds a hypothetical 5% charge to that discounted amount. The name exists only within this formula, so another cell cannot refer to net as though it were a workbook name. Choose names that describe values, not cell addresses, and verify each intermediate calculation separately when troubleshooting. LET does not change the arithmetic or stored inputs; it makes the formula’s stages explicit and avoids repeating the same expression.
Worked example: Enter 80 in A2 and 10% in B2. Use =LET(net,A2*(1-B2),net*1.05). The discount leaves net=80×0.90=72; the hypothetical 5% charge produces 72×1.05=75.60. Check the input percentage, the 72 intermediate amount, and the final 75.60. A charge applied before the discount happens to match here, but verify the intended business order.
Watch the distinction: Defining net as A2*B2 would name the discount amount, 8, rather than the discounted price. Confirm what each LET name represents before reusing it.
Reference: [2]
34. Use XLOOKUP for exact IDs
XLOOKUP searches a lookup array and returns the corresponding position from a return array. For identifiers, use its default exact-match behavior and provide an if_not_found result that makes an absent ID visible. For example, =XLOOKUP(E2,A2:A3,B2:B3,"Missing") returns a quantity for a found ID and the word Missing otherwise. A returned zero is a valid value when the matching quantity is zero. A blank result can indicate an empty return cell and needs inspection; it should not automatically be treated as an absent identifier. Keep the lookup and return arrays aligned and check whether IDs are stored consistently as numbers or text. A clear missing label supports diagnosis, while replacing missing IDs with zero would merge two different states. The related Excel Expert study guide provides broader workbook practice.
Worked example: Enter IDs 101 and 102 in A2:A3 and quantities 0 and 5 in B2:B3. With E2=101, =XLOOKUP(E2,A2:A3,B2:B3,"Missing") returns 0, confirming a found item with no quantity. Change E2 to 999 and it returns Missing. Check exact ID matching, array alignment, and the distinct meanings of zero and Missing.
Watch the distinction: Treating a zero return as “ID absent” can hide a stockout. The if_not_found result applies only when no lookup match exists.
Reference: [2]
35. Work with VLOOKUP and HLOOKUP
VLOOKUP searches the first column of a vertical table and returns a value from a specified column to its right. HLOOKUP searches the first row of a horizontal table and returns a value from a specified row below it. The final argument should be FALSE for exact identifier or month-label matches. Omitting that argument permits approximate matching, which can return an unintended neighbor when the lookup key is absent. With VLOOKUP, count the return column from the left edge of the selected table; with HLOOKUP, count the return row from its top edge. Lock the table range if copying a formula down or across, while allowing the lookup-cell reference to shift where intended. These functions depend on table orientation, so inspect the source layout before choosing one. For more flexible return positions, XLOOKUP or INDEX with MATCH may fit better.
Worked example: Place A12/40 and B17/60 in A2:B3. =VLOOKUP("B17",A2:B3,2,FALSE) finds the second row and returns 60. Put Jan and Feb in D1:E1, with 10 and 15 in D2:E2. =HLOOKUP("Feb",D1:E2,2,FALSE) returns 15. Check search direction, return index 2, and FALSE for exact matches.
Watch the distinction: Leaving out FALSE can allow approximate matching. For IDs such as B17, specify exact matching so an absent ID does not silently return a neighbor.
Reference: [2]
36. Combine INDEX and MATCH
MATCH returns a position within a lookup range; INDEX uses a position to return a value from another range. Together they separate the question “which row has this ID?” from “what value is on that row?” In =INDEX(B2:B4,MATCH(E2,A2:A4,0)), the zero requests an exact ID match in A2:A4, and INDEX returns the corresponding price from B2:B4. The two ranges must cover the same records in the same order, even though they are selected independently. Unlike a left-to-right VLOOKUP table, the return range can sit on either side of the ID range. If MATCH cannot find the ID, it returns an error that INDEX propagates; handle that deliberately if a friendly missing result is required. Test a middle record to catch an off-by-one range.
Worked example: Put P1, P2, P3 in A2:A4 and prices 12, 18, 25 in B2:B4. With E2=P2, MATCH(E2,A2:A4,0) returns position 2. INDEX(B2:B4,2) returns 18. Check exact match mode 0, matching three-row ranges, and that position 2 maps to P2’s price rather than the worksheet’s row number 2.
Watch the distinction: MATCH’s 2 is a position within A2:A4, not worksheet row 2. INDEX must use an aligned return range beginning with the corresponding first record.
Reference: [2]
37. Use current date and time carefully
TODAY returns the current date; NOW returns the current date and time. Both are recalculated functions, so a cell containing one is a live view of the workbook’s current calculation state, not a permanent record of when an event happened. Excel stores dates and times as numeric serial values with formatting controlling their display. A NOW value formatted as a date may appear identical to TODAY even though it contains a time fraction. Use these functions for dynamic questions such as “days until due,” where changing with time is intended. For a transaction timestamp, enter a fixed value or paste a calculated value as a value so later recalculation cannot rewrite history. If a date seems stale, check calculation mode and recalculate before diagnosing the function itself.
Worked example: Assume recalculation occurs on 15 June 2026 at 14:30. =TODAY() displays 15 June 2026; =NOW() contains that date plus 14:30, even if its format hides the time. A transaction completed on 14 June 2026 needs a fixed date entry. Check the time format, the calculation state, and that the transaction date stays 14 June after recalculation.
Watch the distinction: Using TODAY in a completed transaction row makes yesterday’s transaction appear dated today after recalculation. Use a fixed entry for historical facts.
Reference: [2]
38. Calculate weekdays and workdays
WEEKDAY converts a date to a day number; its return_type determines the numbering system. With return_type 2, Monday is 1 and Sunday is 7, so document that choice before interpreting a result. WORKDAY moves a specified number of working days from a start date, skipping Saturday and Sunday by default and optionally excluding dates in a supplied holiday range. The start date is the reference point; moving one workday from a Friday reaches Monday when no holiday intervenes. Confirm that source cells hold real Excel dates rather than text that merely looks like dates. A supplied holiday range changes the result only when a listed holiday lies on the traversed workdays. For schedules with a different weekend pattern, inspect whether a more specialized function is needed rather than assuming every organization follows the default.
Worked example: Use Friday 5 June 2026 in A2 and no holidays. =WEEKDAY(A2,2) returns 5 because Monday is 1. =WORKDAY(A2,2) skips Saturday 6 and Sunday 7, counts Monday 8 as day 1, and returns Tuesday 9 June as day 2. Check the numbering convention, weekend skip, and two counted workdays.
Watch the distinction: Counting Saturday and Sunday as the two days gives Sunday 7 June. WORKDAY counts business days under its default weekend pattern, so the answer is Tuesday.
Reference: [2]
39. Consolidate separate ranges
Consolidate combines values from separate ranges using a selected summary function such as Sum. When the ranges contain the same labels but might list them in different orders, use category labels rather than relying on cell positions. Select the source ranges, choose Sum, and enable the appropriate top-row or left-column label settings. Excel then matches Paper to Paper and Pens to Pens. Without labels, a positional consolidation may add the first row of one region to the first row of another even if their categories differ. Before consolidating, check that numeric measures share units and that labels are spelled consistently; a variation such as “Pen” can create a separate category. Choose whether source links are needed if later source changes should affect the summary, and verify the resulting totals against a manual calculation.
Worked example: Region 1 lists Paper 10 and Pens 6; Region 2 lists Pens 4 and Paper 15. Consolidate both labeled ranges with Sum and the left-column category labels. Paper totals 10+15=25, Pens totals 6+4=10, and the combined grand sum is 35. Check label matching despite reversed order, the Sum function, and both category totals.
Watch the distinction: Adding corresponding row positions would pair Paper 10 with Pens 4. Use matching category labels when the source ranges have different row orders.
Reference: [2]
40. Compare Goal Seek and scenarios
Goal Seek solves for one changing input that makes one formula cell reach a specified target. Set the result cell, target value, and single input cell; the result cell must contain a formula dependent on that input. Scenario Manager answers a different question: what happens under named sets of chosen input values? It stores alternatives and reports their outcomes without solving for a target. For profit =units*price−fixed cost, Goal Seek can find the units needed for a desired profit. Scenarios can then compare plausible unit and price combinations. Check whether a mathematical answer respects practical constraints, such as whole units or capacity, before using it. Record the input assumptions with each scenario so the comparison is interpretable. The MO-201 guide covers a different exam version; use the MO-211 exam page for this version’s scope.
Worked example: Enter units in A2, price 20 in B2, cost 1000 in C2, and =A2*B2-C2 in D2. Goal Seek D2 to 500 by changing A2 gives (500+1000)/20=75 units. Named scenarios with 60 and 90 units instead return profits 200 and 800. Check the dependent formula, the 75-unit solution, and both scenario outcomes.
Watch the distinction: A scenario showing 90 units and profit 800 has not solved for the 500 target. Use Goal Seek to find the required input.
41. Model payments and periods
PMT calculates a constant payment for a loan with a constant rate; NPER solves for the number of payments when the payment is known. Express the rate and term in the same period. For monthly payments, use a monthly rate and a count of months. If the annual rate is stated as a nominal rate compounded monthly, divide it by 12; do not apply that conversion blindly to an effective annual rate. Excel treats money received and money paid as opposite cash flows, so a positive loan amount normally produces a negative PMT. In NPER, enter the payment with that negative sign. At zero interest, payment magnitude is principal divided by periods. An IF or AND test can then label whether the calculated term meets a planning target. These functions are listed in the MO-211 skills outline.
Worked example: In Microsoft 365 Excel using English function names and comma separators, put 1200 in B2, 0 in B3 for the monthly rate, and 12 in B4. `=PMT(B3,B4,B2)` returns -100 per month. `=NPER(B3,-100,B2)` returns 12 months. `=IF(NPER(B3,-100,B2)<=10,"Met","Unmet")` returns Unmet. Check: the payment is negative; 12 payments total 1200; the 10-month target is unmet.
Watch the distinction: Using an annual rate with monthly periods distorts both results. Match the rate to the payment interval, and keep the loan and payments on opposite sides of the cash flow.
Reference: [2]
42. Filter and sort spilled results
FILTER returns only rows whose include test is TRUE. SORTBY orders an array using values from a corresponding sort array; an ascending sort uses 1. When sorting filtered rows, filter the sort key by the same condition or extract that key from the filtered array. Otherwise, mismatched array sizes produce an error or an incorrect design. A dynamic array formula spills into adjacent cells, so its output range must be empty and outside an Excel Table's calculated columns. The spill changes size as source records change, and a blocked destination produces a `#SPILL!` error. Give FILTER an `if_empty` result if no matches are possible, so the worksheet communicates that state clearly. Keep source columns together when returning whole records; sorting only the amount column would break its association with region and product.
Worked example: Set A1:C4 to Region, Product, Amount, followed by East/A/30, West/B/50, and East/C/20. In E2 enter `=LET(x,FILTER(A2:C4,A2:A4="East","None"),SORTBY(x,INDEX(x,,3),1))`. With the supplied data, E2:G3 spills East/C/20 then East/A/30. Check: West/B is absent; C's 20 precedes A's 30; each product stays with its original amount.
Watch the distinction: Sorting the filtered products by the unfiltered amount range gives arrays of different heights. Derive the sort key from the filtered rows so each key stays aligned with its record.
Reference: [2]
43. Diagnose a wrong formula result
Start a formula investigation at the cell showing the wrong result, then distinguish an error in the formula from an error in its inputs. Trace Precedents draws the cells feeding the formula; Trace Dependents shows where its result flows next. Evaluate Formula exposes intermediate substitutions, which is useful when a long expression hides a zero divisor or an unexpected branch. Error Checking flags recognized problems but cannot establish that a plausible number is correct. The Watch Window lets you monitor selected cells while editing elsewhere. Inspect the formula bar and number formats too: a displayed zero may come from rounding while the underlying value is nonzero. After correcting a source cell, recalculate if the workbook is in manual calculation mode, and verify the final result against a quick independent calculation.
Worked example: In a sheet, A2 contains 120, B2 contains 0, and C2 contains `=A2/B2`. C2 shows `#DIV/0!`. Trace Precedents points to A2 and B2; Evaluate Formula reaches `120/0`. Change B2 to 4, then recalculate if needed. C2 becomes 30 because 120 divided by 4 is 30. Check: the divisor is 4; the error disappears; a Watch Window entry for C2 shows 30.
Watch the distinction: Wrapping every division in IFERROR can hide bad source data. Diagnose why the denominator is zero first; display a fallback only when a zero denominator is an expected business case.
Reference: [2]
44. Record and edit a simple macro
A recorded macro captures a sequence of workbook actions for reuse. Decide whether it should act on a fixed range or the current selection before recording, because that choice affects where it later runs. Give it a descriptive name without spaces, record the shortest reliable sequence, stop recording, and inspect the generated procedure in the Visual Basic Editor. A small change to a literal range can be appropriate; advanced VBA design is unnecessary for this task. To rename the recorded macro, change the procedure name in its `Sub` and `End Sub` lines and confirm that any button assigned to the old name is updated. Keep the workbook in a macro-enabled format such as `.xlsm`. Run the macro on a copy or a known sheet first, then inspect its visible result and undo implications.
Worked example: On Sheet1, A1:E1 contains five headings. Record BoldHeader while selecting A1:D1 and applying bold. In the Visual Basic Editor, rename the procedure FormatHeader and change its recorded `Range("A1:D1")` reference to `Range("A1:E1")`. Save as `.xlsm` and run FormatHeader. Check: the macro is listed under its new name; A1:E1 is bold; a cell outside the header is unaffected.
Watch the distinction: Changing a module's name does not rename its macro procedure. Edit the procedure declaration and matching end line, then update any assigned button before relying on the new name.
Reference: [2]
Manage advanced charts and tables
45. Use a second chart axis
A secondary axis lets one chart display series with different units or scales, such as currency and a percentage. Select the rate series, place it on the secondary axis, and format that axis as a percentage. Label the primary axis with its currency unit and the secondary axis with its rate unit. Check both axis bounds: automatic scaling can exaggerate small movements or make two unrelated lines appear to intersect meaningfully. The plotted height of a point has meaning only against its own axis. A secondary axis is useful when the rate would otherwise be compressed near zero beside large amounts, but a separate chart may be clearer if the dual scales make comparison ambiguous. This is one of the advanced chart capabilities named for Excel Expert MO-211.
Worked example: Enter Month, Revenue, Margin in A1:C2, with May, 100000, and 20% in row 2. Create a chart with revenue on the primary currency axis and margin on a secondary percentage axis. Label both axes. Check: revenue reads 100000 currency units; margin reads 20%; the margin point is interpreted against the right axis, not as a revenue amount.
Watch the distinction: Two marks at the same height need not represent equal values on different axes. Read each series against its labeled scale, and avoid inferring a monetary margin directly from the chart position.
46. Build a combination chart
A combination chart assigns different visual forms to series that play different roles. Columns make discrete period amounts easy to compare; a line can show a target or trend across those periods. Start with one row per period and separate columns for actual and target values. Select both series, choose a combo chart, and assign actuals to columns and targets to a line. If both are amounts in the same unit, keep them on the same axis so the intersection is meaningful. Check the category order, axis baseline, legend, and data labels before interpreting the chart. A line connecting targets does not imply that intermediate dates were measured. If you want to determine whether a period met its target, compare the underlying values rather than relying on apparent bar height alone.
Worked example: Put Q1, Q2, Q3 in A2:A4; sales 40, 50, 45 in B2:B4; and targets 45, 45, 45 in C2:C4. Create a combo chart with sales columns and a target line, both in the same units. Check: Q1 misses by 5; Q2 exceeds by 5; Q3 meets exactly. Two of three quarters meet or exceed target.
Watch the distinction: A target line should not automatically use a secondary axis. When target and sales share units, different scales can make a miss look like a hit.
Reference: [2]
47. Read a Box and Whisker chart
A Box and Whisker chart summarizes how values are distributed within groups. The line inside a box is the median; the box represents the central portion of the observations, and whiskers extend according to the chart's selected method. Potential outliers may appear as separate points. Excel chart options can change the quartile calculation, so compare groups using the chosen settings consistently rather than assuming a universal quartile value. A shorter box suggests less spread in the middle of the data, while a long upper tail suggests occasional high observations. The median is often more informative than the mean when an extreme value pulls the average upward. Before interpreting performance, confirm that the groups use the same units and that an unusually high value is a valid observation rather than a data-entry mistake.
Worked example: Enter Team A times 4, 5, 5, 6, 20 and Team B times 6, 6, 7, 7, 8 in two labeled columns, using the same time unit. Create a Box and Whisker chart. Check: A's median is 5; B's is 7; A's maximum of 20 is far above its other four times. Investigate that observation before calling A consistently faster.
Watch the distinction: Comparing only means hides distribution differences: A's mean is 8 while its median is 5. Inspect median, spread, and unusual points before summarizing either team's typical time.
Reference: [2]
48. Build a funnel chart
A funnel chart displays an ordered sequence of stages, usually with counts that shrink as items move forward. Prepare one row per stage in process order; do not sort by size if that would scramble the actual path. A stage's width represents its count, not a component to add to other stage counts. Calculate conversion by dividing the later stage by the relevant earlier stage. Adjacent conversion measures the step just completed; overall conversion uses the first stage as its denominator. These ratios answer different questions, so label them explicitly. Confirm that the counts refer to the same cohort and compatible time window before interpreting drop-off. If records can reenter a stage or branch into multiple paths, a simple funnel may conceal those flows and needs a more careful explanation.
Worked example: In A1:B4 enter Stage and Count, then Leads 200, Qualified 80, Sales 20. Insert a funnel chart in that order. Check: lead-to-qualified conversion is 80/200 = 40%; qualified-to-sale is 20/80 = 25%; lead-to-sale is 20/200 = 10%. The counts are stages of one hypothetical cohort, so adding them would double-count people.
Watch the distinction: Dividing sales by qualified leads gives the final-step rate, not overall conversion. Use the first-stage count for the overall rate and state which denominator each percentage uses.
Reference: [2]
49. Choose histogram bins
A histogram groups numeric observations into intervals called bins and counts how many values fall in each one. Choose boundaries that answer the question at a useful resolution: too many bins produce a noisy chart, while too few can hide clusters. Excel's bin controls can use an automatic width, a specified width, a number of bins, or overflow and underflow limits. Inspect the displayed bin labels to establish exactly which boundary values belong to each interval. The bar height is a frequency, and the bin width is a range of source values; neither changes the stored observations. Comparing histograms requires care when their bin widths differ, because raw bar heights may then mislead. Missing values and text should be identified in the source before you reconcile the total frequency to the record count.
Worked example: Put 2, 4, 5, 7, 9, 10 in A2:A7. Set two bins with upper bounds 5 and 10, so the first contains values up to 5 and the second contains values above 5 through 10. Check: counts are 3 and 3; 5 belongs in the first bin; frequencies total six observations.
Watch the distinction: A taller histogram bar means more observations in that interval, not a larger sum of its values. Check bin boundaries and counts before drawing a conclusion about concentration.
Reference: [2]
50. Show hierarchy with Sunburst
A Sunburst chart represents a hierarchy using concentric rings. Put parent categories before child categories in the source columns, followed by one numeric value per leaf. The inner ring shows the parent level; outer sectors break each parent into its children. Values must be comparable parts of the same whole, and repeated child labels can be valid when they sit under different parents. Check the category path rather than assuming every item named A is one global category. Sector size reflects the values within the hierarchy, while color helps distinguish branches but does not create a new measurement. A Sunburst is useful for seeing both total share and composition, provided the number of categories stays readable. Verify subtotals from the source table because the chart may make small differences difficult to judge precisely.
Worked example: Create columns Region, Product, Amount with rows North/A/30, North/B/20, South/A/10, South/B/40. Insert a Sunburst with Region inside and Product outside. Check: North totals 30 + 20 = 50; South totals 10 + 40 = 50; the inner sectors are equal, while South's B sector is larger than North's B sector.
Watch the distinction: Combining every A label across regions erases the hierarchy. Keep both Region and Product columns so each product value remains attached to its parent.
Reference: [2]
51. Explain a Waterfall bridge
A Waterfall chart explains how a starting value becomes an ending value through signed changes. Supply the start, each increase or decrease, and the independently calculated end. Mark the start and end columns as totals so they rest on the baseline; intermediate changes should float from the running balance. Use positive numbers for additions and negative numbers for deductions. The final total must equal the start plus all intermediate changes, which provides a simple reconciliation check. The visual height of a floating bar expresses a change, not an absolute balance. Labels should distinguish units and the direction of each driver. If an intermediate value is itself a subtotal, mark it appropriately; otherwise the chart can treat it as another change and produce a misleading bridge.
Worked example: Enter Start cash 100, Receipts 40, Costs -25, End cash 115 in two columns. Insert a Waterfall chart and set Start cash and End cash as totals. Check: the running balance reaches 140 after receipts; costs reduce it to 115; the net change is +15. The ending bar must align with 100 + 40 - 25 = 115.
Watch the distinction: Entering costs as positive 25 makes the bridge end at 165. Use signed changes, and mark ending cash as a total rather than another increase.
Reference: [2]
52. Create a PivotTable
A PivotTable answers a summary question by arranging source fields into areas. Start with a rectangular dataset that has one header row, one record per row, and consistent data types. Put a category in Rows and a numeric measure in Values. Confirm the Values field uses Sum when the question asks for total amounts; Excel may choose Count when a field contains text or mixed values. The grand total should reconcile to an independent sum of the source records. An Excel Table is a useful source because its range expands with new records, although the PivotTable still needs a refresh to incorporate changes. Add filters or columns only when they clarify the question, and inspect whether blank categories or source filters affect what appears. Further Excel Expert study guidance can complement this hands-on check.
Worked example: In A1:B5 enter Region and Amount, then East/10, East/20, West/5, West/15. Select the range and insert a PivotTable. Put Region in Rows and Amount in Values, set to Sum. Check: East is 30; West is 20; grand total is 50, matching 10 + 20 + 5 + 15.
Watch the distinction: A count of two for each region is not a sales total. Open Value Field Settings and choose Sum, then verify the grand total against the source amounts.
Reference: [2]
53. Adjust PivotTable fields
PivotTable field placement changes the question without changing the underlying records. A Region field in Rows groups amounts geographically; replacing it with Product groups the same amounts by item. Placing both in Rows produces a nested breakdown, while moving one to Columns creates a cross-tabulation. After each change, confirm that the Values field still summarizes the intended measure and that the grand total remains consistent. Field options also control layout, subtotals, and how blank items appear. A change in totals can signal a filter, a different source range, or an unexpected aggregation rather than a legitimate consequence of rearranging fields. When using a PivotTable to compare alternative views, keep a clear note of active filters so readers know whether they are seeing all records.
Worked example: Use columns Region, Product, Amount and rows East/A/10, East/B/20, West/A/5. Create a PivotTable with Amount as Sum. Put Region in Rows: East is 30 and West is 5. Replace Region with Product: A is 15 and B is 20. Check: both views total 35; the source still has three rows; only the grouping changed.
Watch the distinction: Moving a field does not edit source data. If the grand total changes during the switch, inspect filters, source range, and Value Field Settings before accepting the new view.
Reference: [2]
54. Control PivotTables with slicers
A slicer is a visible control for filtering a PivotTable by selected field items. Insert a slicer for a category such as Region, select an item, and read the resulting totals as a subset of the source. Clear the slicer to restore the full view. If several PivotTables should respond together, use the slicer's report connections and verify each intended PivotTable is connected; compatible PivotTables must share a suitable source or cache. A slicer does not delete records, and its selection can remain active when the workbook is saved. This makes an apparently low grand total easy to misread unless the selected buttons are visible. Refresh the PivotTable after source changes, then confirm the slicer items and displayed totals still reflect the updated data.
Worked example: Create a PivotTable from East/10, East/20, West/5, and West/15, with Region in Rows and Amount summed. Its full total is 50. Insert a Region slicer and select East. Check: East's displayed total is 30; West is excluded from the view; clearing the slicer restores 50 without changing any source row.
Watch the distinction: Treating a slicer total as the dataset total ignores the active selection. Read the selected buttons and clear them before reporting a full-source figure.
Reference: [2]
55. Group PivotTable entries
Grouping in a PivotTable turns detailed date or numeric items into intervals that answer a broader question. For dates, place the actual date field in Rows, then group it by an appropriate unit such as months. Use real Excel dates, not text that only looks like dates. If the source spans several years, group by years as well as months so one January does not merge with another. For numeric fields, set interval boundaries and size to match the analysis. After grouping, reconcile the grouped grand total to the original records. Grouping changes the view, not the source values, and a refresh may be needed after source edits. Unexpected blank groups or failed grouping often indicate blanks, text, or errors mixed into a field meant to contain dates or numbers.
Worked example: Enter Date and Amount with 3 January/10, 20 January/15, and 2 February/8, all in the same hypothetical year. Create a PivotTable with Date in Rows and Amount summed, then group Date by months. Check: January is 10 + 15 = 25; February is 8; the grand total remains 33.
Watch the distinction: Grouping by month alone can combine Januaries from different years. Add Years when the source crosses years, then check each grouped subtotal against the underlying dates.
Reference: [2]
56. Add a PivotTable calculated field
A standard PivotTable calculated field builds a value from source fields, such as Sales minus Cost, within the PivotTable. Give the new field a clear name, enter its formula using field names, and put it in Values. For additive measures like profit dollars, summing the per-record differences gives the same result as subtracting summed cost from summed sales. Check that identity as a validation step. Ratios need more care: a calculated field's aggregation may not represent the overall ratio you intend, so inspect the result and calculate the appropriate weighted measure separately when needed. Calculated fields also depend on the PivotTable source type; some data-model or external-source PivotTables use measures instead. Identify the source type before looking for a command that may be unavailable.
Worked example: Use a standard PivotTable source with columns Sales and Cost and records 100/70 and 200/120. Add a calculated field named Profit with formula `=Sales-Cost`, then show its total. Check: row profits are 30 and 80; the total is 110; independent totals give Sales 300 minus Cost 190 = 110.
Watch the distinction: A margin percentage cannot always be validated by averaging row percentages. For overall margin, divide total profit by total sales and confirm the aggregation method matches the business question.
Reference: [2]
57. Configure Value Field Settings
Value Field Settings determine what a PivotTable measures. Sum adds numeric records; Count reports how many nonblank entries contribute; Average divides the sum by that count. Choose the function from the question rather than accepting the default. Show Values As is a separate setting that can express a summarized value as a share of a grand total, row total, or column total. Confirm the denominator selected by that option before interpreting the percentage. Number Format within Value Field Settings keeps formatting consistent when the PivotTable changes or refreshes. A cell format applied directly to displayed results may be lost. For a fair comparison, inspect filters and blanks as well: an average over two East records is not the same statistic as a sum over those records, even if another region happens to have the same displayed number.
Worked example: Use Region and Sale records East/10, East/30, West/20. With Sale in Values as Sum, East is 40, West 20, and grand total 60. Change the summary to Average: East is 20 and West 20. Restore Sum and set Show Values As to percentage of grand total. Check: East is 40/60 = 66.7%; West is 33.3%; percentages total 100% after rounding.
Watch the distinction: Formatting 40 as a percentage does not make it East's share. First choose Show Values As percentage of grand total, then apply a percentage number format.
Reference: [2]
58. Create a PivotChart
A PivotChart visualizes a PivotTable's summarized data and follows its field layout and filters. Build the PivotTable first with the category and measure you need, then insert a PivotChart suited to that comparison. A column chart works well for a small set of category totals. Check that its plotted Values field uses the intended aggregation, and label the units clearly. Filtering the PivotTable or a connected slicer changes the visible bars, but it does not change the source records. Refresh the PivotTable after adding source rows so both table and chart incorporate them. A chart title should state the view, especially if a filter is active. For additional hands-on cases, use the MO-211 practice questions.
Worked example: Create a PivotTable from East/10, East/20, West/5, and West/15, with Region in Rows and Amount summed. Insert a column PivotChart. Check: the bars are East 30 and West 20; their sum is 50; filtering the PivotTable to East leaves a single 30 bar, while the four source amounts still total 50.
Watch the distinction: A one-bar chart after filtering does not prove the other region was deleted. Check PivotTable filters and source rows before treating the visible bar as the full dataset.
Reference: [2]
59. Modify PivotChart options and style
PivotChart options and styles should make the selected measure and categories easy to read. Change chart type when it improves comparison: horizontal bars can give long product names more room than columns. Add value labels when exact totals matter, and keep the axis and number format consistent with the PivotTable's Values field. Field buttons can help an analyst change the view, but hiding them may produce a cleaner presentation; if you hide them, make any active filter clear in the title or nearby text. Styles alter color, spacing, and emphasis, not the underlying figures. After changing type or style, verify the legend, labels, category order, and displayed totals. An attractive chart can still communicate the wrong measure if a field was accidentally switched from Sum to Count.
Worked example: A PivotTable summarizes Product A as 15 and Product B as 35. Insert its PivotChart, switch to horizontal bars, and add value labels. Choose a readable style without altering the Values field. Check: A's label remains 15; B's remains 35; B's bar is longer because 35 exceeds 15 by 20.
Watch the distinction: Changing colors or bar orientation does not change the calculation. If a total looks different afterward, inspect the PivotTable fields and filters rather than attributing it to the style.
Reference: [2]
60. Drill into PivotChart detail
A PivotChart bar represents an aggregate, and its underlying PivotTable can reveal the records contributing to that value. Identify the category and measure behind the plotted bar, then use the corresponding PivotTable value to show details in a new sheet. Sum the returned measure to reconcile it with the chart. This is useful for investigating surprising totals, duplicates, or missing entries. The detail sheet is a snapshot of records in that PivotTable result; it does not replace the original source or automatically prove that the source range is complete. If an expected record is absent, inspect the PivotTable's source range, refresh state, filters, and whether the record's category text differs subtly. If a record appears twice, check source duplicates before changing the summarized figure.
Worked example: An East bar displays 30. Locate its East value in the linked PivotTable and open Show Details. The new sheet lists East amounts 10 and 20. Check: there are two contributing records; 10 + 20 = 30; the bar reconciles. If an expected third East sale is missing, inspect the source range and active filters, then refresh.
Watch the distinction: Drilling into a correct-looking 30 confirms only the included records. It cannot establish that every intended East record was in the PivotTable source.
Reference: [2]
Official references and further reading
- Exam MO 211: Microsoft Excel Expert (Microsoft 365 Apps) - Certifications | Microsoft Learn
- mos-current-mo211-skills-native