Compare spreadsheet columns and highlight missing items

Generates straightforward formulas to match two lists, spot missing entries like unpaid invoices, and flag discrepancies instantly.

Text prompt for ChatGPT and Claude

You get: Status Column Formula, dynamic Extraction Formula and conditional Formatting Steps

Prompt

Prompt
Act as a small business financial analyst. Analyze the two lists or columns pasted below to provide exact formulas that highlight which items in List A are missing from List B, and vice versa.

Rules:
- Prioritize simple, fail-proof formulas like XLOOKUP, MATCH, or COUNTIF that any small business owner can paste.
- Provide an exact formula for generating a clean list of only the missing items.
- Provide conditional formatting rules to highlight missing cells with color.
- Do not use technical jargon; explain formula placements plainly.

Output format:
1. Status Column Formula (Side-by-side verification)
2. Dynamic Extraction Formula (Returns list of missing entries)
3. Conditional Formatting Steps
4. What to Double-Check

Here are my two lists:

Example output

Finding unpaid invoices in four stepsInvoices in A2:A100, bank cleared in B2:B80
  1. Add a status columnStep 1COUNTIF in C2 marks each invoice Unpaid / Missing or Cleared
  2. Extract unpaid listStep 2FILTER with XLOOKUP in E2 builds a clean list
  3. Highlight missing in redStep 3Conditional formatting rule on A2:A100
  4. Double-check the dataStep 4Use TRIM if trailing spaces break matches

Example for: List A invoice numbers against List B bank cleared numbers

  1. Status Column Formula
    Assuming Invoices are in Column A (A2:A100) and Bank Cleared records are in Column B (B2:B80):
    In cell C2, paste this formula and drag down:
    =IF(COUNTIF($B$2:$B$80, A2)=0, "Unpaid / Missing", "Cleared")
  2. Dynamic Extraction Formula
    To create a clean standalone list of unpaid invoice numbers in an empty column:
    For modern Excel or Google Sheets, paste in cell E2:
    =FILTER(A2:A100, ISNA(XLOOKUP(A2:A100, B2:B80, B2:B80)))
  3. Conditional Formatting Steps
    To turn missing invoices red automatically:
  4. Select your invoice numbers from cell A2 down to A100.
  5. Click Home > Conditional Formatting > New Rule.
  6. Choose 'Use a formula to determine which cells to format'.
  7. Enter this formula: =COUNTIF($B$2:$B$80, A2)=0
  8. Click Format, select a light red fill, and click OK.
  9. What to Double-Check
    Check for invisible trailing spaces in invoice IDs. If matches fail unexpectedly, wrap references in TRIM: =TRIM(A2).
Written by AI from this prompt. Your results will vary.

Paste your two columns or lists directly below the prompt in Gemini, Claude, or ChatGPT. Follow up by asking how to handle slight discrepancies caused by trailing spaces or uppercase versus lowercase differences.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

Excel & Spreadsheets

Pick XLOOKUP, VLOOKUP or INDEX MATCH and Get the Exact Formula

You get one recommended lookup method for your Excel version and data layout, a paste-ready formula, and clear handling for values that have no match.

Excel & Spreadsheets

Look up records across multiple sheets with automatic fallback

Write a multi-sheet lookup formula that searches a primary sheet and falls back to secondary sheets when an item is missing.

Excel & Spreadsheets

Build a Break-Even and Pricing Calculator Spreadsheet in Excel

You get an Excel layout that separates fixed and variable costs, formulas for break-even and margin at three prices, and a ranking of which inputs move the result most.

Excel & Spreadsheets

Build an Employee Shift Schedule and Hours Tracker with Overtime in Excel

You get a ready-to-build spreadsheet layout with formulas for overnight shifts, unpaid breaks, weekly hours per employee and highlighted overtime.

Excel & Spreadsheets

Build an Inventory Tracker Spreadsheet with Reorder Points and Low-Stock Alerts

You get exact columns, copy-ready reorder-point formulas, a status column and conditional formatting that highlights items to reorder now or this week.

Excel & Spreadsheets

Build an Invoice Template in Excel or Google Sheets with Automatic Totals

You get a cell-by-cell invoice layout with exact formulas for line totals, discount, tax, due date, and a duplicate-proof invoice numbering system.