John Serra
Back to Blog
Data QualitySmall BusinessSmall Business AnalyticsSpreadsheet Managementspreadsheets

Reconcile Stripe or Square Payouts to Bank Deposits in a Spreadsheet

Match each Stripe or Square payout batch to one bank deposit, then bridge the month: net activity plus money still in the pipeline at the start, minus money still in the pipeline at the end. In the example, $14,800 of April sales becomes $13,170.80 in the bank.

To reconcile Stripe or Square payouts to bank deposits, stop comparing sales to the bank. Export transactions with their payout IDs, net each row after fees, and add up each payout batch so it matches one bank deposit to the cent. Then close the month with one bridge: net activity, plus money still in the pipeline at the start, minus money still in the pipeline at the end, equals bank deposits.

In the example below, April card sales total $14,800.00, but the bank received $13,170.80. The $1,629.20 gap breaks into four pieces. Refunds and disputes of $600.00 and fees of $446.90 come out. March sales of $1,164.90 that were paid out in April come in. April sales of $1,747.20 that hadn’t been paid out by April 30 come out. Once each piece has its own line, every April deposit matches its payout batch exactly.

Business numbers fall out of sync across systems often; I’ve seen it plenty. Why Your Business Numbers Don’t Match Across Systems explains the usual causes. Gross Sales, Returns, and Net Sales: Reconcile Your POS Export to Accounting stops at net sales and sales tax. This article picks up from there: processor fees, payout batches, and the timing between your processor and your checking account.

My preferred tool is Google Sheets because a spreadsheet should be shareable and make collaboration easy. Every formula below also works in Excel for the web. The results below come from a test of this exact workbook in Google Sheets and Excel for the web, both in US English.

The April Example and the Bridge It Has to Close

A payout reconciliation answers two questions:

  • Does each bank deposit equal the payout batch the processor says it sent? This is a batch match, one payout to one bank line.
  • Does the month’s processor activity explain every dollar that reached the bank? This is a bridge across the whole month.

The bridge follows one simple chain: April net activity + money still in the pipeline on March 31 − money still in the pipeline on April 30 = April bank deposits.

“In the pipeline” covers two different places, and the sheet keeps them apart:

  • Awaiting payout: The processor has the money and hasn’t sent it yet.
  • In transit: The processor sent a payout, but your bank hasn’t posted it yet.

Here is the April bridge:

Bridge line April 2026 Where it comes from
Gross charges $14,800.00 Nine April charges
Less refunds and disputes -$600.00 A $400.00 refund and a $200.00 dispute
Less processing and dispute fees -$446.90 Fees read straight from the export
= April net activity $13,753.10 Charges less refunds, disputes, and fees
+ Awaiting payout on March 31 +$1,164.90 A March 30 sale paid out on April 2
+ In transit on March 31 $0.00 No payout was between processor and bank
− Awaiting payout on April 30 -$1,747.20 April 29 and 30 sales not yet paid out
− In transit on April 30 $0.00 No payout was between processor and bank
= Expected April deposits $13,170.80 Net activity plus opening less ending
Actual April deposits $13,170.80 Four deposits on the April bank statement
Gap $0.00 Actual less expected

Below is the 12-row processor export and 4-deposit bank table I made up for this article. Everything sits on one worksheet named Payout_Recon, in three blocks separated by blank columns M and V:

  • Processor export (A1:L13): Twelve transactions, TXN-01 to TXN-12. Columns A to G are typed inputs (download the processor CSV), and columns H to L are helper formulas.
  • Bank deposits (N1:U6): Four deposits, PO-01 to PO-04, plus a Total_Bank row (download the bank CSV). Columns N to Q are typed inputs, and columns R to U are formulas.
  • Audit block (W1:Z27): The bridge, four month-end controls, and a checker for a reconciliation someone else built (download the audit layout CSV).

Here is the processor export in A1:L13:

Excel for the web screenshot of Payout_Recon!A1:L13 showing 12 processor transactions TXN-01 through TXN-12 with live row checks, duplicate counts, period buckets, net amounts, and payout link statuses.
Excel for the web screenshot of Payout_Recon!A1:L13 showing the 12-row processor export and helper columns H through L. Open full-size image.

A few rows do most of the teaching:

  • TXN-01 (March 30, $1,200.00 charge): A March sale that the processor paid out in April as part of PO-01. It belongs to March sales and to April deposits.
  • TXN-04 ($400.00 refund): Comes out of PO-02. The fee on the original sale isn’t returned, so the fee on this row is $0.00.
  • TXN-07 ($200.00 dispute and a $15.00 dispute fee): The fee is part of the example for a processor that charges one, such as Stripe. Square’s US fee page lists chargebacks and dispute management as free, so a Square dispute row would show $0.00 in column F.
  • TXN-11 and TXN-12 (April 29 and 30): Their payout ID is UNSETTLED, because no payout had picked them up by April 30.

Here are the four bank deposits in N1:U6:

Excel for the web screenshot of Payout_Recon!N1:U6 showing four April bank deposits PO-01 through PO-04, payout effective dates, deposit dates, $13,170.80 total, $0.00 batch diffs, and ALL_MATCHED status.
Excel for the web screenshot of Payout_Recon!N1:U6 showing the four April bank deposits, payout effective dates, and batch match checks. Open full-size image.

Each deposit matches its batch: PO-01 $2,912.40, PO-02 $3,483.40, PO-03 $3,474.20, and PO-04 $3,300.80, for $13,170.80 in total. Column O shows the date each payout took effect in the processor balance, and column P shows the date it actually posted on the bank statement. You need both dates, as Steps 2 and 3 show.

To build along, set up the worksheet before you try any of the changes below. The layout is in “How to Set Up the Worksheet” near the end, and the formulas follow in the Copy-Paste Formula Reference.

Step 1: Export Payout-Linked Transactions From Stripe or Square

Use a transaction-level export where each row carries the ID of the payout that included it. A daily sales summary won’t work, because you can’t add it up by payout.

  • Stripe: The Payout reconciliation report lists each balance transaction with the automatic payout that settled it, plus the transactions still in your balance at the end of the period. It needs automatic payouts. On manual payouts, the report can’t tie transactions to a specific payout, so you can reconcile the account as a whole but not batch by batch.
  • Square: The transfer details described in Match transfers to sales list the payments, refunds, and fees inside each transfer.

Map the export fields to the sheet like this:

Sheet column Stripe Payout reconciliation report Square transfer details Note
A txn_id balance_transaction_id Payment or refund ID Keep the exact ID, including upper and lower case
B txn_date created (report timezone) or created_utc, converted to a date Transaction date Date only, no time, on one timezone basis
C txn_type reporting_category, mapped to CHARGE, REFUND, or DISPUTE Payment, refund, or dispute Leave out cash and check tenders
D payout_id automatic_payout_id, or UNSETTLED Transfer ID, or UNSETTLED UNSETTLED means not in a payout yet
E gross_amount_usd Gross amount as a positive number Gross amount as a positive number The formulas apply the sign
F fee_usd fee as exported Processing fee as exported Negative only for a fee credit on a refund
G note Description Description Plain text with single spaces
O payout_effective_date automatic_payout_effective_at (or the UTC version), converted to a date Date the transfer was sent The date the payout affects your processor balance
P deposit_date Actual posting date on your bank statement Actual posting date on your bank statement From your bank, not the processor

Stripe’s created column uses the timezone you pick for the report, while created_utc is always UTC. Choose one and use the same basis for the month bounds in X2:X3 and the effective dates in column O.

Stripe exports these fields as timestamps, such as 2026-04-30 18:22:05. The sheet needs dates with no time part. Formatting a timestamp as a date only hides the time, so the row check in column H (or R for a bank row) still returns CHECK ROW. Convert each timestamp to its calendar date in the timezone you chose, and paste the dates as values. If the timestamps are already date-time values in a scratch sheet, =INT(A2) returns the date for a timestamp in A2. Copy the results and paste them as values only. Square groups sales by its close of day, which is 5 PM PT / 8 PM ET by default for standard transfers (Square transfer options). A sale late on April 30 can land in a transfer the next business day.

Read every fee from the export. Don’t calculate fees from a published rate, because rates vary by payment type and plan.

What column H checks

Column H returns OK or CHECK ROW for each transaction. A row passes when:

  • All seven inputs are filled, with numbers in B, E, and F, and text everywhere else.
  • The IDs in A and D are 3 to 48 characters of plain letters, digits, hyphens, and underscores. Native IDs such as txn_1Example and po_1Example pass.
  • The type in C is exactly CHARGE, REFUND, or DISPUTE.
  • The gross amount is positive and in whole cents.
  • The fee fits the row type:
    • CHARGE: zero or more, and less than the gross amount.
    • REFUND: zero or more, or negative for a fee credit. The credit must be smaller than the refund itself, so a -400 fee on a $400.00 refund returns CHECK ROW.
    • DISPUTE: zero or more.
  • The note has no leading, trailing, or double spaces.

The ID check is strict on purpose. A look-alike character, such as the full-width digits in TXN-123 or the long s in abſ, returns CHECK ROW. So does a double space in a note like “April order.” Both tools returned CHECK ROW for all three. If clean-looking IDs still fail, Remove Trailing Spaces and Hidden Characters That Break XLOOKUP shows how to find the hidden characters.

Keep IDs case-sensitive

Stripe IDs mix upper and lower case, and two real IDs can differ only by case. COUNTIF and SUMIF ignore case, so they would merge those two payouts. The sheet uses SUMPRODUCT with EXACT for every lookup, batch total, and duplicate check instead. In the test, po_AbC in the export and po_aBc on the bank row stayed unmatched, and the bank row returned UNMATCHED_BANK. Two different payouts whose IDs differed only by case reconciled separately in both tools.

Column I counts how often each transaction ID appears, with the same case-sensitive match, so a duplicate stops the sheet.

Net each row to the cash it moved

Column K turns each row into signed cash:

  • Charges: gross minus fee. TXN-02 is $1,800.00 less $52.50, or $1,747.50.
  • Refunds and disputes: minus gross, minus fee. TXN-07 is -$200.00 less the $15.00 fee, or -$215.00.

A fee credit works the same way. If the processor returned $3.00 of fees on the TXN-04 refund, enter -3 in F5. K5 becomes -$397.00, and the PO-02 bank deposit would be $3,486.40.

Sort each row by where the money was at each cutoff

Column J answers one question for each row: on March 31 and on April 30, where was this money? It compares the transaction date with the month in X2:X3, then looks up the payout’s effective date in column O and deposit date in column P. The main buckets are:

  • IN_MONTH_SETTLED: An April sale whose payout posted at the bank in April.
  • PRIOR_AWAITING_SETTLED: A March sale still with the processor on March 31 and deposited in April, like TXN-01.
  • PRIOR_IN_TRANSIT_SETTLED: A March sale whose payout left the processor by March 31 and posted in April.
  • IN_MONTH_AWAITING_PAYOUT: An April sale still with the processor on April 30.
  • IN_MONTH_IN_TRANSIT: An April sale in a payout that left by April 30 but posted after it.
  • POST_MONTH: A May transaction, kept out of April’s totals.

Three more carryover buckets handle March sales that were still in the pipeline on April 30. Column L then shows each row’s link to the bank: LINKED_TO_BANK, AWAITING_PAYOUT, IN_TRANSIT_NEXT_MONTH, NEXT_MONTH_PAYOUT, or a stop such as UNMATCHED_PAYOUT or DATE_ORDER_ERROR.

Step 2: Match Each Payout to One Bank Deposit

Enter one row per payout in N2:Q5: the payout ID, the date it took effect in the processor balance, the date it actually posted at your bank, and the amount on your bank statement. Then the formulas compare each deposit with its batch:

  • Column R checks the row. The ID must be valid and appear only once. The effective date can’t be more than 14 days before the month starts, and the deposit date can’t come before the effective date. The deposit must post between the first of the month and 14 days after month-end.
  • Column S adds up column K for every export row with exactly that payout ID.
  • Column T subtracts the batch from the bank amount.
  • Column U returns MATCHED, MISMATCH, NEXT_MONTH_POSTING for a deposit that posted after month-end, or UNMATCHED_BANK when no export row carries that ID.

Here is the batch total in S2:

=IF(OR($X$8>0, $X$9>0, $X$10>0), "CHECK INPUTS", ROUND(SUMPRODUCT(--EXACT($D$2:$D$13, N2), $K$2:$K$13), 2))

The total row adds only deposits that posted by April 30, so a May posting never lands in April’s total.

PO-01 is a good first check because it mixes two months. It contains March 30’s TXN-01 ($1,164.90 net) and April 1’s TXN-02 ($1,747.50 net), for $2,912.40. That is exactly what the bank received on April 3. PO-03 shows a dispute inside a batch: $2,135.90 plus $1,553.30, less the $215.00 dispute row, equals $3,474.20.

Find the payout behind each bank line

Bank statements rarely print the processor’s payout ID, so you assign it from evidence:

  • Amount: The exact net amount, to the cent.
  • Date: The bank posting date. It comes on or after the payout’s effective date, and weekends, bank holidays, and your own bank’s processing can push it later (Stripe payout timing).
  • Description: The processor’s name in the statement description.
  • Destination account (Square): Square’s transfer details show the last three digits of the bank account each transfer went to. Use them to confirm the account, especially if deposits go to more than one.

Two transfers of the same amount to the same account are the hard case. Suppose two $1,250.00 transfers post on April 14 and April 15. Amount, description, and account digits fit both bank lines. Use trace details, such as the ACH trace number on each transfer and on the bank line, or other evidence that ties each transfer to exactly one statement line. Until you have it, keep both matches open instead of assigning the IDs by guess.

Payouts that cross month-end

The bank posting date alone can’t tell you where the money was on April 30. The effective date can. Here are two variations, both tested in both tools. Start each one from a fresh copy of the baseline sheet. Each needs a fifth bank row, so first grow the bank table to five deposits with the steps in “Resize the bank table.” The new deposit goes in N6:Q6, and the total row moves to row 7.

  • Sent April 30, posted May 1: TXN-12 ($776.50 net) left in payout PO-05 on April 30 and posted at the bank on May 1.
    • Change D13 to PO-05.
    • Enter the fifth bank row: PO-05, 2026-04-30, 2026-05-01, 776.50.
    • On April 30, only TXN-11‘s $970.70 was still with the processor, and $776.50 was in transit. Enter 970.70 in X6 and 776.50 in X7.
    • Result: J13 returns IN_MONTH_IN_TRANSIT, U6 returns NEXT_MONTH_POSTING, April’s bank total in Q7 stays at $13,170.80, and X27 returns RECONCILED.
  • Sent May 2 with a May sale inside: TXN-11 happened on May 1 instead, and both sales went out together in PO-05 on May 2, posting May 4 for $1,747.20.
    • Change B12 to 2026-05-01, and change D12 and D13 to PO-05.
    • Enter the fifth bank row: PO-05, 2026-05-02, 2026-05-04, 1747.20.
    • On April 30, TXN-12‘s $776.50 was still with the processor, and nothing was in transit. Enter 776.50 in X6 and 0 in X7.
    • Result: The sheet keeps the May 1 sale out of April, matches the full $1,747.20 May deposit as NEXT_MONTH_POSTING, and still reconciles April’s $13,170.80. April net activity drops to $12,782.40, because the $970.70 sale is now May’s.

In both variations, a wrong split between X6 and X7 stops the sheet. In the first one, try all $1,747.20 in X6. In the second, try the $776.50 in X7 instead of X6. Also in the second one, changing O6 to 2026-04-30 returns DATE_ORDER_ERROR in L12, because a payout can’t leave before a sale it contains. A payout ID in the export with no bank row, such as PO-99, returns UNMATCHED_PAYOUT.

Test the batch checks

Try each change on the baseline sheet, and restore each cell before the next one:

  • Short deposit: Change Q3 to 3400. PO-02 is now $83.40 short. U3 returns MISMATCH, and X27 stops with a -$83.40 bridge gap and one batch difference. Restore Q3 to 3483.40.
  • Offsetting errors: Change Q2 to 3012.40 and Q3 to 3383.40. The total is still $13,170.80, and the bridge gap is $0.00. X27 still stops, because two batches don’t match. Checking each batch, not only the total, catches errors that cancel out. Restore both cells.
  • Duplicate ID: Change A3 to TXN-01. X27 stops on a duplicate transaction ID. Restore A3 to TXN-02.
  • Extra row without a resize: Type a 13th transaction in A14:G14. X27 stops and asks you to resize the ranges. Clear A14:G14.

Both tools returned these stops. Here is the short PO-02 deposit in the test:

Excel for the web screenshot of Payout_Recon!N1:Z27 showing PO-02 short by -$83.40 ($3,400.00 vs $3,483.40), flagging MISMATCH in U3, 1 mismatched batch in X26, -$83.40 bank gap in X25, and STOP in X27.
Excel for the web screenshot of the short PO-02 test ($3,400.00 vs. $3,483.40), showing -$83.40 in T3 and X25, MISMATCH in U3, and STOP in X27. Open full-size image.

Step 3: Close the Bridge Against Four Month-End Controls

The bridge in X12:X25 builds April’s numbers from the export. On its own, it can’t catch a missing row. Suppose TXN-11 and TXN-12 never made it into your export. April activity falls by $1,747.20, and so does the ending balance the sheet builds. Expected deposits stay at $13,170.80, and the bridge gap in X25 stays at $0.00.

That is why you type four controls from the processor’s own reports into X4:X7. Never copy them from the sheet’s results:

  • X4, still with the processor on March 31: On Stripe, the ending balance for March on the Balance report. On Square, the sales not yet included in a transfer at March 31’s close of day.
  • X5, in transit on March 31: Whole payouts that left the processor by March 31 but hadn’t posted at your bank by March 31.
  • X6, still with the processor on April 30: The same measure as X4, for April 30.
  • X7, in transit on April 30: The same measure as X5, for April 30.

Enter whole payouts in X5 and X7, even when part of the payout comes from an earlier month. In the baseline, X4 is 1164.90, X6 is 1747.20, and X5 and X7 are 0.

The sheet compares each control with the matching amount it built from the export. Z22 and Z23 show the two opening gaps, and Z25 and Z26 show the two closing gaps. X22 shows the largest of the four gaps, ignoring the sign. Z21 and Z24 show each pair’s combined total. Checking the pieces separately catches mistakes that a combined total misses.

Both tools returned the same results for these cases. Start each one from a fresh copy of the baseline sheet:

  • Missing rows: Shrink the export from 12 transactions to 10 with the steps in “Resize the processor export.” Replace :$A$13 through :$L$13 with the same columns ending in 11, then clear A12:L13. Leave X6 at 1747.20, because the processor’s report still shows that balance.
    • Result: X25 stays at $0.00, but the closing awaiting-payout gap in Z25 is -$1,747.20, and X27 stops.
    • Don’t just clear the two rows inside the table. Column H flags the blank rows, and X27 stops on invalid rows before it reaches the controls.
  • Opening controls swapped: With 0 in X4 and 1164.90 in X5, the combined opening total still equals $1,164.90. The separate gaps show +$1,164.90 and -$1,164.90.
  • A partial payout in X7: Suppose March’s TXN-01 stayed with the processor through April and went out with TXN-12 in PO-05 on April 30, posting May 1 for $1,941.40. First grow the bank table to five deposits.
    • Change D2 and D13 to PO-05. Change Q2 to 1747.50, because PO-01 now holds only TXN-02.
    • Enter the fifth bank row: PO-05, 2026-04-30, 2026-05-01, 1941.40.
    • Keep X4 at 1164.90 and X5 at 0. Change X6 to 970.70, because only TXN-11 was still with the processor on April 30.
    • Result: Enter the full $1,941.40 in X7, and April deposits of $12,005.90 reconcile. Enter only April’s $776.50, and the closing in-transit gap is +$1,164.90.

X27 returns RECONCILED only when all four control gaps are $0.00, the bridge gap in X25 is $0.00, and every batch matches. A $0.00 bridge gap alone isn’t enough. In the offsetting-errors test in Step 2, X25 showed $0.00 while two batches didn’t match, and X27 stopped. When X27 does return RECONCILED, its message lists the deposits, net activity, and both clearing balances split into awaiting payout and in transit. Here is the reconciled April audit block:

Excel for the web screenshot of Payout_Recon!W1:Z27 showing the reconciled April bridge ($14,800.00 gross, $600.00 refunds/disputes, $446.90 fees, $13,753.10 net activity, +$1,164.90 beginning clearing, -$1,747.20 ending clearing, $13,170.80 deposits, $0.00 gaps, and RECONCILED verdict in X27).
Excel for the web screenshot of the reconciled April audit block in W1:Z27 with $0.00 control gaps, $0.00 bank gap, and RECONCILED in X27. Open full-size image.

What a reconciled result proves, and what it doesn’t

When X27 returns RECONCILED, every loaded batch matches its bank deposit, and the four month-end controls match the processor’s reports. A missing or wrong row that changes a payout batch or a month-end balance shows up as a gap, measured to the cent, in the affected batch or control.

It doesn’t name the missing row. It also can’t see a missing pair that nets to zero inside one batch. Suppose a $100.00 charge and a $100.00 refund, both with no fee, sat inside PO-02 and never made it into your export. Gross charges would read $14,800.00 instead of $14,900.00, and refunds and disputes $600.00 instead of $700.00. The batch, the bridge, and the bank still match. This case was checked in a formula evaluator, not in the two-tool test.

Comparing gross category totals with a separate report can reveal a missing pair like this one:

  • Stripe: Use Balance change from activity on the Balance report. It breaks out gross, fees, and net by reporting category. Compare the charge category’s gross with X12, and the refund and dispute categories with X13, for the same currency and period. The top-level Balance summary gives opening and closing balances and net movement, not these category totals.
  • Square: Compare against an itemized transactions export for the same dates.

Category totals tell you that something is missing, not which row. To find the exact missing rows, compare transaction IDs between your sheet and the itemized export.

What this version leaves out

This sheet models charges, refunds, disputes, fees, and payout timing. It doesn’t model rolling reserves, instant-payout fees, financing repayments taken out of payouts, failed or reversed payouts, currency conversion, cash or check tenders, or sales tax inside gross charges. If your account has any of these, work out the account mapping with your bookkeeper or CPA before you rely on the bridge.

Five Ways a Payout Reconciliation Goes Wrong

Here is how five common mistakes change the expected deposit on the same April data:

Mistake Expected deposits Gap vs. $13,170.80 What it misses
1. Compare gross card sales to the bank $14,800.00 +$1,629.20 Refunds, disputes, fees, and timing
2. Ignore processor fees $13,600.00 +$429.20 Fees inside the April deposits
3. Ignore month-end timing $13,753.10 +$582.30 March sales paid in April and April sales not yet paid
4. Leave out refunds and disputes $13,785.80 +$615.00 $600.00 of refunds and disputes and the $15.00 dispute fee
5. Count unpaid sales as deposited $14,918.00 +$1,747.20 Sales still awaiting payout on April 30

Mistakes 2 and 3 need a closer look.

  • Mistake 2: The gap is $429.20, not the month’s $446.90 in fees. The deposits include TXN-01‘s March fee of $35.10, and they don’t include the $52.80 of fees on the April 29 and 30 sales that weren’t paid out yet. If the fees in your deposits net to a credit, the checker tells you to add the credit instead of deducting it.
  • Mistake 3: The fix is two separate steps: add the $1,164.90 opening balance and subtract the $1,747.20 ending balance. Netting them into one number and subtracting it with the wrong sign is an easy way to make the gap bigger.

Mistake 4 is $615.00 because two things go missing together: the $600.00 of refund and dispute amounts, and the $15.00 dispute fee on the dispute row. The fees on the original charges stay in, since those rows are still counted.

Here is the ignored-fees mistake in the test:

Excel for the web screenshot of Payout_Recon!W1:Z27 showing the ignored-fees candidate scenario overstating April deposits by +$429.20 ($13,600.00 vs $13,170.80) and triggering STOP in Z27.
Excel for the web screenshot of the ignored-fees candidate test in W1:Z27, flagging a +$429.20 deposit gap and STOP in Z27. Open full-size image.

Check a reconciliation someone else built

The candidate half of the audit block, Y1:Z27, checks a reconciliation summary from somewhere else, such as a colleague’s file or last month’s close. Type its figures into Z2:Z10:

  • Z2: the method you think it used.
  • Z3: its expected bank deposits.
  • Z4 and Z5: its gross charges and its refunds and disputes.
  • Z6: its fees.
  • Z7 and Z8: its beginning and ending clearing balances.
  • Z9 and Z10: 0. These two guard cells must stay at 0.

Type plain values without dollar signs or commas, and never use formulas in Z2:Z10. Z12 through Z17 show how far each figure is from the bridge. Z12 is the candidate’s expected deposits minus actual deposits, so a positive number means the candidate expects more than the bank received. Z19 replays the named method from the export and counts how many of the six figures don’t match that replay. Z27 names a mistake only when all six figures match it.

To replay a mistake on the baseline sheet, type the values from one row of the table below into Z2:Z10, one cell at a time, top to bottom. Leave out the Scenario column, and type the text entries without quote marks. Don’t paste a whole row from another file. Anything that lands below Z10 overwrites the checker’s formulas.

Scenario Z2 (Method) Z3 Z4 Z5 Z6 Z7 Z8 Z9 Z10
Initial untested NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED 0 0
Correct bridge CLEAN_PAYOUT_BRIDGE 13170.80 14800.00 600.00 446.90 1164.90 1747.20 0 0
1. Gross vs. bank GROSS_SALES_VS_BANK 14800.00 14800.00 0.00 0.00 0.00 0.00 0 0
2. Ignore fees IGNORE_PROCESSOR_FEES 13600.00 14800.00 600.00 0.00 1200.00 1800.00 0 0
3. Ignore timing IGNORE_CUTOFF_TIMING 13753.10 14800.00 600.00 446.90 0.00 0.00 0 0
4. Omit refunds and disputes OMIT_REFUNDS_AND_DISPUTES 13785.80 14800.00 0.00 431.90 1164.90 1747.20 0 0
5. Count unpaid sales INCLUDE_UNSETTLED_IN_BANK 14918.00 14800.00 600.00 446.90 1164.90 0.00 0 0

Z27 returned the same verdicts in both tools. The initial row returns NOT TESTED: ENTER CANDIDATE RECONCILIATION SUMMARY. Each mistake row returns a stop that names the mistake, the gap against the $13,170.80 in deposits, and the fix. Here is the one for ignored fees:

STOP: MATCHES IGNORED-FEES REPLAY (+$429.20 ABOVE $13170.80 BANK DEPOSITS; DEDUCT $429.20 SETTLED PROCESSOR AND DISPUTE FEES)

The others say this, in plain English:

  • Correct bridge: RECONCILED. All six figures match the bridge.
  • 1. Gross vs. bank: $1,629.20 too high. Deduct refunds, disputes, fees, and the month-end timing.
  • 3. Ignore timing: $582.30 too high. Add the $1,164.90 opening balance and subtract the $1,747.20 ending balance as two separate steps.
  • 4. Omit refunds and disputes: $615.00 too high. Include the $600.00 of refunds and disputes and the $15.00 dispute fee.
  • 5. Count unpaid sales: $1,747.20 too high. Take out the $1,747.20 still awaiting payout on April 30.

If any figure in Z3:Z8 is off by even a cent from both the bridge and the named replay, Z27 stops and tells you how many of the six figures differ and by how much the deposit is off.

Resize the Tables for Your Own Month

Your month won’t have exactly 12 transactions and 4 deposits. The two input tables resize separately.

Warning: Never insert or delete whole worksheet rows to resize a table. The processor export, the bank table, and the audit block share rows 1 to 27, so a whole-row change shifts all three and breaks the formulas.

Resize the processor export

Every formula that points at the export uses a column-qualified endpoint, such as :$A$13 or :$K$13. A Find and Replace on those endpoints never touches the bank table or the audit block. Call your current last row R_prev (13 in the baseline) and your new last row R_new (the number of transactions plus 1).

  • When expanding: Enter the new transactions directly below the current last row in columns A:G. Select H2:Z27, or down to row R_prev if your export already runs past row 27. Run Find and Replace for each endpoint from :$A$ through :$L$ followed by R_prev, replacing it with the same column followed by R_new. Then fill H2:L2 down through row R_new.
  • When shrinking: Run Find and Replace the same way first. Then clear the old inputs and helper formulas in columns A:L from row R_new + 1 through row R_prev, so X10 returns 0.

If added or removed rows change the money in the pipeline at either cutoff, update X4:X7 from the processor’s reports too. In the test, growing the export from 12 to 15 transactions reconciled in both tools.

Resize the bank table

The bank table has a total row right below the last deposit, so it takes a few more steps. These steps grow it from four deposits to five, which moves the total row from row 6 to row 7:

  1. Select N6:U6, cut it, and paste it into N7:U7.
  2. Select H2:Z27 and run Find and Replace for the total-row references: $R$6 to $R$7, then $Q$6 to $Q$7. If nothing is found, the cut already updated them.
  3. Replace the deposit endpoints: :$N$5, :$O$5, :$P$5, :$Q$5, :$R$5, and :$U$5, each to the same column followed by 6. Then replace the total row’s own ranges: O2:O5, P2:P5, Q2:Q5, S2:S5, and U2:U5, each ending in 6.
  4. Type the new deposit in N6:Q6, and fill R5:U5 down to row 6.

Then check two formulas against what they should now say:

  • Q7: =IF(OR($X$8>0, $X$9>0, COUNT(Q2:Q6)<ROWS($N$2:$N$6)), "CHECK INPUTS", ROUND(SUMIFS(Q2:Q6, P2:P6, "<="&$X$3), 2))
  • X10: =COUNTA($A:$G)-COUNTA($A$1:$G$13)+COUNTA($N:$Q)-COUNTA($N$1:$Q$7)

To shrink from four deposits to three, work in the opposite order:

  1. Replace the deposit endpoints first, each from 5 to 4, including the total row’s own ranges.
  2. Clear N5:U5.
  3. Cut N6:U6, and paste it into N5:U5.
  4. Run Find and Replace for $R$6 to $R$5 and $Q$6 to $Q$5, if any remain.

After shrinking, Q5 should use Q2:Q4, P2:P4, and $N$2:$N$4, and X10 should end in COUNTA($N$1:$Q$5).

Once the table is resized, the total row’s check in column R should return OK, X10 should return 0, and X27 should return RECONCILED or a stop you can explain. If a formula differs from the version above or shows #REF!, go back to a fresh copy of the baseline sheet and repeat the steps in order. The resized three-deposit and five-deposit tables were tested in both tools.

Find and Replace in each tool

  • Google Sheets (Edit > Find and replace): The Search setting started at All sheets. Change it to This sheet, or Sheets asks whether to replace in all sheets. Check Also search within formulas before you click Replace all. Sheets showed the formulas while the box was checked and went back to values after Done.
  • Excel for the web (Ctrl+H): There is no separate formula checkbox. Replace all updates the formula references on the active sheet directly.

How to Set Up the Worksheet

Everything runs on one worksheet named Payout_Recon:

  1. Processor export (A1:L13): Import or paste the processor CSV starting at A1. It fills the headings and the 12 transactions. Columns H:L arrive with the example’s results, and the formulas will replace them.
  2. Bank deposits (N1:U6): Import or paste the bank CSV starting at N1. Keep Total_Bank in N6 exactly as shown, because R6 checks it.
  3. Audit block (W1:Z27): Import or paste the audit layout CSV starting at W1. It brings the labels in columns W and Y, the six typed settings in X2:X7, and the candidate inputs in Z2:Z10.
  4. Check the typed values: Dates in columns B, O, and P and in X2:X3 must be real dates with no time part. X2 is 2026-04-01, X3 is 2026-04-30, X4 is 1164.90, X5 is 0, X6 is 1747.20, and X7 is 0, all typed as plain values. Z2:Z8 say NOT TESTED, and Z9:Z10 are 0.
  5. Paste the formulas by block:
    • Processor helpers: Paste into H2:L2, and fill down through row 13.
    • Bank checks: Paste into R2:U2, and fill down through row 5. Paste the total-row formulas into O6:U6.
    • Source audit: Paste into X8:X27.
    • Candidate audit: Paste into Z11:Z27.

Once everything is in place, X27 should begin with RECONCILED: 2026-04 PAYOUT-TO-BANK BRIDGE, and Z27 should say NOT TESTED: ENTER CANDIDATE RECONCILIATION SUMMARY.

Keep columns M and V blank. Keep anything else out of columns A:G below the export and columns N:Q below the total row. X10 counts those cells as trailing rows and stops the sheet.

Build It Faster With Your Favorite AI

If you’d rather not paste the formulas by hand, drop the prompt below into ChatGPT, Claude, or Gemini. It asks for a .xlsx file or cell-by-cell setup instructions for your own month. The prompt builds the source bridge: the processor block, the bank block, and the month-end audit. It leaves out the candidate-grading rows (Z2:Z20 and Z27), which only check a summary someone else made, while keeping separate gap checks for all four month-end controls (in the reference workbook, those four gaps sit in Z22, Z23, Z25, and Z26 and feed X22 and X27).

The first line of the prompt is a privacy step for you. Follow it before you paste, then delete it. See Is It Safe to Upload Business Data to ChatGPT? for a quick privacy checklist.

[BEFORE PASTING: Replace customer names and bank account numbers with generic labels such as Customer A. Replace each real payout ID with an alias such as PO-01, and use exactly the same alias, with the same upper and lower case, in the transactions and the bank deposits. Then delete this line.]

Build a single-sheet payout-to-bank reconciliation named Payout_Recon that works identically in Google Sheets and Excel for the web. Use classic formulas only (SUMPRODUCT, EXACT, SUMIFS, COUNTIF, COUNTBLANK, ROUND, MAX, ABS, IF, TEXT, ISFORMULA). Do not use XLOOKUP, FILTER, LET, LAMBDA, or dynamic array formulas. All ID lookups, batch totals, and duplicate checks must be case-sensitive (SUMPRODUCT with EXACT), never COUNTIF or SUMIF on IDs. Keep every ID exactly as I give it.

My inputs:
- Month start and month end (typed dates, never formulas): [YYYY-MM-DD, YYYY-MM-DD]
- Processor transactions (txn_id, txn_date, CHARGE/REFUND/DISPUTE, payout_id or UNSETTLED, positive gross amount, fee as exported, note):
[PASTE YOUR EXPORT OR ATTACH CSV HERE]
- Bank deposits (payout_id, date the payout took effect in the processor balance, actual bank posting date, bank amount). All dates are date-only values with no time:
[PASTE YOUR DEPOSITS HERE]
- Four typed controls from processor reports: balance still with the processor at the opening cutoff, whole payouts in transit at the opening cutoff, balance still with the processor at the closing cutoff, whole payouts in transit at the closing cutoff.

Required structure and guardrails:
1. Processor block (A:L): validate each row (OK vs CHECK ROW), count duplicate IDs, compute signed row net (charge = gross - fee; refund or dispute = -gross - fee), and classify each row by where its money was at each cutoff using the payout's effective date and deposit date (awaiting payout vs in transit vs settled vs next month).
2. Bank block (N:U): validate each deposit row, roll up each payout's batch net by exact payout ID, show the bank-minus-batch difference and MATCHED / MISMATCH / NEXT_MONTH_POSTING / UNMATCHED_BANK, and total only deposits posted in the month.
3. Audit block (W:X): build gross charges, refunds and disputes, fees, net activity, opening and ending awaiting-payout and in-transit balances from the export; compare each of the four with its typed control separately in four dedicated control-gap cells so swapping opening or closing balances stops the close; check Expected deposits = net activity + opening clearing - ending clearing against actual in-month deposits; count mismatched batches so offsetting errors still stop; output RECONCILED or a readable STOP verdict.

Output:
- Generate a downloadable .xlsx file (or give exact cell-by-cell formulas if file export isn't available).
- Before handing it back, confirm every batch difference is 0.00, all four control gaps are 0.00, and the bridge gap is 0.00, and list any batch or control that doesn't tie.

Treat the AI’s output as a starting draft, not a finished reconciliation. Once you open the file, run the batch checks from Step 2 (shorten one deposit, then try two offsetting errors) and the swapped-controls check from Step 3, confirming each fault triggers a stop (and shows where the four control gaps sit) before you restore the baseline and rely on the numbers.

Three Quick Questions

Why doesn’t Stripe’s Balance report match the Payout reconciliation report?

They answer different questions. The Balance report covers all balance activity in a date range, with opening and closing balances, but it doesn’t tie transactions to the payouts that settled them. The Payout reconciliation report groups transactions by the automatic payout that included them and lists what was still in your balance at the end. Use the payout report for batch matching. Use the Balance report for the balances in X4 and X6 and for the gross-activity check in Step 3.

How should I record fees on a refund or dispute row?

Enter whatever fee the export shows on that row. On many refunds, the fee from the original sale isn’t returned, so the refund row’s fee is $0.00 and the original fee stays on the charge row. If the processor credits part of a fee back, enter it as a negative number. A dispute fee goes in as a positive number if your processor charges one. On Square in the US, it is $0.00.

Where do awaiting-payout and in-transit balances go in my books?

Many businesses record card sales in a clearing account and clear it when the deposit posts. In that setup, the clearing balance at month-end should equal the ending awaiting-payout and in-transit amounts, $1,747.20 in the example. Account names and mapping vary, so set them up with your bookkeeper or CPA.

What to Do Next

Pull last month’s payout-linked export and bank statement, and run them through the sheet before your next close. Start by matching the batches. Then type the four month-end controls from the processor’s reports, and fix whichever gap appears first. If you want to plan upcoming payouts against payroll and rent, Build a 13-Week Cash Forecast in Google Sheets and Excel uses the date each payout reaches the bank. For a quick check on where your reporting breaks down, try the 4-Minute Small Business Data Audit.

Copy-Paste Formula Reference

Paste these 53 portable formulas into the Payout_Recon worksheet after importing the three CSVs into A1, N1, and W1, as described in “How to Set Up the Worksheet.” Every formula uses classic functions supported by both Google Sheets and Excel for the web, including SUMPRODUCT, EXACT, SUMIFS, COUNTIF, COUNTBLANK, SUBSTITUTE, ROUND, TEXT, and ISFORMULA.

Block 1: Processor helpers (enter in row 2, fill down through row 13)

H2, row check (validates the seven inputs and the month bounds):

=IF(OR(COUNTA(A2:G2)<7, NOT(ISTEXT(A2)), NOT(ISNUMBER(B2)), NOT(ISTEXT(C2)), NOT(ISTEXT(D2)), NOT(ISNUMBER(E2)), NOT(ISNUMBER(F2)), NOT(ISTEXT(G2)), NOT(ISNUMBER($X$2)), NOT(ISNUMBER($X$3))), "CHECK ROW", IF(OR(TRIM(SUBSTITUTE(A2, CHAR(160), " "))="", TRIM(SUBSTITUTE(D2, CHAR(160), " "))="", TRIM(SUBSTITUTE(G2, CHAR(160), " "))="", NOT(EXACT(A2, TRIM(SUBSTITUTE(A2, CHAR(160), " ")))), NOT(EXACT(D2, TRIM(SUBSTITUTE(D2, CHAR(160), " ")))), NOT(EXACT(G2, TRIM(SUBSTITUTE(G2, CHAR(160), " ")))), NOT(ISERROR(FIND(" ", A2&C2&D2))), NOT(ISERROR(FIND(CHAR(10), A2&C2&D2&G2))), NOT(ISERROR(FIND(CHAR(13), A2&C2&D2&G2))), LEN(A2)<3, LEN(A2)>48, LEN(D2)<3, LEN(D2)>48, LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2&D2, "0", ""), "1", ""), "2", ""), "3", ""), "4", ""), "5", ""), "6", ""), "7", ""), "8", ""), "9", ""), "A", ""), "B", ""), "C", ""), "D", ""), "E", ""), "F", ""), "G", ""), "H", ""), "I", ""), "J", ""), "K", ""), "L", ""), "M", ""), "N", ""), "O", ""), "P", ""), "Q", ""), "R", ""), "S", ""), "T", ""), "U", ""), "V", ""), "W", ""), "X", ""), "Y", ""), "Z", ""), "-", ""), "_", ""))+LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2&D2, "a", ""), "b", ""), "c", ""), "d", ""), "e", ""), "f", ""), "g", ""), "h", ""), "i", ""), "j", ""), "k", ""), "l", ""), "m", ""), "n", ""), "o", ""), "p", ""), "q", ""), "r", ""), "s", ""), "t", ""), "u", ""), "v", ""), "w", ""), "x", ""), "y", ""), "z", ""))<>LEN(A2&D2), NOT(OR(EXACT(C2, "CHARGE"), EXACT(C2, "REFUND"), EXACT(C2, "DISPUTE"))), INT(B2)<>B2, B2<DATE(2000,1,1), B2>DATE(2100,1,1), INT($X$2)<>$X$2, INT($X$3)<>$X$3, $X$2<DATE(2000,1,1), $X$2>DATE(2100,1,1), $X$3<DATE(2000,1,1), $X$3>DATE(2100,1,1), $X$3<$X$2, E2<=0, ROUND(E2, 2)<>E2, ROUND(F2, 2)<>F2, AND(EXACT(C2, "CHARGE"), OR(F2<0, F2>=E2)), AND(EXACT(C2, "REFUND"), F2<=-E2), AND(EXACT(C2, "DISPUTE"), F2<0)), "CHECK ROW", "OK"))

I2, transaction ID frequency (case-sensitive):

=IF(OR(NOT(EXACT(H2, "OK")), COUNTIF($H$2:$H$13, "OK")<ROWS($A$2:$A$13)), "", SUMPRODUCT(--EXACT($A$2:$A$13, A2)))

J2, period bucket (where the money was at each cutoff):

=IF(OR(NOT(EXACT(H2, "OK")), COUNTIF($R$2:$R$5, "OK")<ROWS($N$2:$N$5), NOT(EXACT($R$6, "OK"))), "", IF(B2>$X$3, "POST_MONTH", IF(EXACT(D2, "UNSETTLED"), IF(B2<$X$2, "PRIOR_CARRYOVER_AWAITING", "IN_MONTH_AWAITING_PAYOUT"), IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2))<>1, "UNMATCHED_BUCKET", IF(B2<$X$2, IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $P$2:$P$5)<=$X$3, IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<$X$2, "PRIOR_IN_TRANSIT_SETTLED", "PRIOR_AWAITING_SETTLED"), IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<$X$2, "PRIOR_CARRYOVER_IN_TRANSIT", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<=$X$3, "PRIOR_AWAIT_END_TRANSIT", "PRIOR_CARRYOVER_AWAITING"))), IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $P$2:$P$5)<=$X$3, "IN_MONTH_SETTLED", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<=$X$3, "IN_MONTH_IN_TRANSIT", "IN_MONTH_AWAITING_PAYOUT")))))))

K2, row net cash:

=IF(NOT(EXACT(H2, "OK")), "", IF(EXACT(C2, "CHARGE"), ROUND(E2-F2, 2), ROUND(-E2-F2, 2)))

L2, payout link status:

=IF(OR(NOT(EXACT(H2, "OK")), COUNTIF($R$2:$R$5, "OK")<ROWS($N$2:$N$5), NOT(EXACT($R$6, "OK"))), "", IF(EXACT(J2, "POST_MONTH"), IF(EXACT(D2, "UNSETTLED"), "POST_MONTH", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2))<>1, "UNMATCHED_PAYOUT", IF(OR(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<B2, SUMPRODUCT(--EXACT($N$2:$N$5, D2), $P$2:$P$5)<B2), "DATE_ORDER_ERROR", "POST_MONTH_LINKED"))), IF(EXACT(D2, "UNSETTLED"), "AWAITING_PAYOUT", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2))<>1, "UNMATCHED_PAYOUT", IF(OR(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<B2, SUMPRODUCT(--EXACT($N$2:$N$5, D2), $P$2:$P$5)<B2), "DATE_ORDER_ERROR", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $P$2:$P$5)<=$X$3, "LINKED_TO_BANK", IF(SUMPRODUCT(--EXACT($N$2:$N$5, D2), $O$2:$O$5)<=$X$3, "IN_TRANSIT_NEXT_MONTH", "NEXT_MONTH_PAYOUT")))))))

Block 2A: Bank deposit checks (enter in row 2, fill down through row 5)

R2, bank row check:

=IF(OR(COUNTA(N2:Q2)<4, NOT(ISTEXT(N2)), NOT(ISNUMBER(O2)), NOT(ISNUMBER(P2)), NOT(ISNUMBER(Q2)), NOT(ISNUMBER($X$2)), NOT(ISNUMBER($X$3))), "CHECK ROW", IF(OR(TRIM(SUBSTITUTE(N2, CHAR(160), " "))="", NOT(EXACT(N2, TRIM(SUBSTITUTE(N2, CHAR(160), " ")))), NOT(ISERROR(FIND(" ", N2))), LEN(N2)<3, LEN(N2)>48, LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(N2, "0", ""), "1", ""), "2", ""), "3", ""), "4", ""), "5", ""), "6", ""), "7", ""), "8", ""), "9", ""), "A", ""), "B", ""), "C", ""), "D", ""), "E", ""), "F", ""), "G", ""), "H", ""), "I", ""), "J", ""), "K", ""), "L", ""), "M", ""), "N", ""), "O", ""), "P", ""), "Q", ""), "R", ""), "S", ""), "T", ""), "U", ""), "V", ""), "W", ""), "X", ""), "Y", ""), "Z", ""), "-", ""), "_", ""))+LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(N2, "a", ""), "b", ""), "c", ""), "d", ""), "e", ""), "f", ""), "g", ""), "h", ""), "i", ""), "j", ""), "k", ""), "l", ""), "m", ""), "n", ""), "o", ""), "p", ""), "q", ""), "r", ""), "s", ""), "t", ""), "u", ""), "v", ""), "w", ""), "x", ""), "y", ""), "z", ""))<>LEN(N2), EXACT(UPPER(N2), "UNSETTLED"), INT($X$2)<>$X$2, INT($X$3)<>$X$3, $X$2<DATE(2000,1,1), $X$2>DATE(2100,1,1), $X$3<DATE(2000,1,1), $X$3>DATE(2100,1,1), $X$3<$X$2, INT(O2)<>O2, INT(P2)<>P2, O2<($X$2-14), O2>P2, P2<$X$2, P2>($X$3+14), ROUND(Q2, 2)<>Q2), "CHECK ROW", IF(ISERROR(SUMPRODUCT(--EXACT($N$2:$N$5, N2))), "CHECK INPUTS", IF(SUMPRODUCT(--EXACT($N$2:$N$5, N2))>1, "DUPLICATE_PO", "OK"))))

S2, processor batch net:

=IF(OR($X$8>0, $X$9>0, $X$10>0), "CHECK INPUTS", ROUND(SUMPRODUCT(--EXACT($D$2:$D$13, N2), $K$2:$K$13), 2))

T2, batch difference:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(S2))), "CHECK INPUTS", ROUND(Q2-S2, 2))

U2, batch status:

=IF(OR($X$8>0, $X$9>0, $X$10>0), "CHECK INPUTS", IF(SUMPRODUCT(--EXACT($D$2:$D$13, N2))=0, "UNMATCHED_BANK", IF(NOT(ISNUMBER(T2)), "CHECK INPUTS", IF(T2<>0, "MISMATCH", IF(P2>$X$3, "NEXT_MONTH_POSTING", "MATCHED")))))

Block 2B: Bank total row (O6:U6; N6 is typed)

O6, latest payout effective date:

=IF(OR($X$8>0, $X$9>0, COUNT(O2:O5)<ROWS($N$2:$N$5)), "CHECK INPUTS", MAX(O2:O5))

P6, latest deposit date:

=IF(OR($X$8>0, $X$9>0, COUNT(P2:P5)<ROWS($N$2:$N$5)), "CHECK INPUTS", MAX(P2:P5))

Q6, in-month bank deposits:

=IF(OR($X$8>0, $X$9>0, COUNT(Q2:Q5)<ROWS($N$2:$N$5)), "CHECK INPUTS", ROUND(SUMIFS(Q2:Q5, P2:P5, "<="&$X$3), 2))

R6, total label check:

=IF(ISTEXT(N6), IF(EXACT(N6, "Total_Bank"), "OK", "CHECK ROW"), "CHECK ROW")

S6, in-month processor batch net:

=IF(COUNT(S2:S5)<ROWS($N$2:$N$5), "CHECK INPUTS", ROUND(SUMIFS(S2:S5, P2:P5, "<="&$X$3), 2))

T6, in-month batch difference:

=IF(OR(NOT(ISNUMBER(Q6)), NOT(ISNUMBER(S6))), "CHECK INPUTS", ROUND(Q6-S6, 2))

U6, all-batch status:

=IF(OR(NOT(ISNUMBER(T6)), COUNTIF(U2:U5, "CHECK INPUTS")>0, COUNTIF(U2:U5, "UNMATCHED_BANK")>0), "CHECK INPUTS", IF(AND(T6=0, COUNTIF(U2:U5, "MISMATCH")=0), "ALL_MATCHED", "STOP: BATCH DIFF"))

Block 3A: Source audit (X8:X27; X2:X7 are typed)

X8, invalid source or bank rows (also checks the six typed settings):

=COUNTIF($H$2:$H$13, "<>OK")+COUNTIF($R$2:$R$5, "CHECK ROW")+IF(EXACT($R$6, "OK"), 0, 1)+IF(OR(ISFORMULA($X$2), NOT(ISNUMBER($X$2)), ISFORMULA($X$3), NOT(ISNUMBER($X$3)), ISFORMULA($X$4), NOT(ISNUMBER($X$4)), ISFORMULA($X$5), NOT(ISNUMBER($X$5)), ISFORMULA($X$6), NOT(ISNUMBER($X$6)), ISFORMULA($X$7), NOT(ISNUMBER($X$7))), 1, IF(OR(IF(OR(INT($X$2)<>$X$2, INT($X$3)<>$X$3, $X$2<DATE(2000,1,1), $X$2>DATE(2100,1,1), $X$3<DATE(2000,1,1), $X$3>DATE(2100,1,1), $X$3<$X$2), TRUE, OR(DAY($X$2)<>1, DAY($X$3+1)<>1, MONTH($X$3)<>MONTH($X$2), YEAR($X$3)<>YEAR($X$2))), ROUND($X$4, 2)<>$X$4, ROUND($X$5, 2)<>$X$5, ROUND($X$6, 2)<>$X$6, ROUND($X$7, 2)<>$X$7), 1, 0))

X9, duplicate IDs:

=IF(X8>0, 0, COUNTIF($I$2:$I$13, ">1")+COUNTIF($R$2:$R$5, "DUPLICATE_PO"))

X10, trailing rows below the tables:

=COUNTA($A:$G)-COUNTA($A$1:$G$13)+COUNTA($N:$Q)-COUNTA($N$1:$Q$6)

X11, unmatched payout links and date-order errors:

=IF(OR(X8>0, X9>0, X10>0), 0, COUNTIF($L$2:$L$13, "UNMATCHED_PAYOUT")+COUNTIF($L$2:$L$13, "DATE_ORDER_ERROR")+COUNTIF($U$2:$U$5, "UNMATCHED_BANK"))

X12, gross charges:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_SETTLED", $C$2:$C$13, "CHARGE")+SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_AWAITING_PAYOUT", $C$2:$C$13, "CHARGE")+SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_IN_TRANSIT", $C$2:$C$13, "CHARGE"), 2))

X13, refunds and disputes:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_SETTLED", $C$2:$C$13, "<>CHARGE")+SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_AWAITING_PAYOUT", $C$2:$C$13, "<>CHARGE")+SUMIFS($E$2:$E$13, $J$2:$J$13, "IN_MONTH_IN_TRANSIT", $C$2:$C$13, "<>CHARGE"), 2))

X14, processing and dispute fees:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($F$2:$F$13, $J$2:$J$13, "IN_MONTH_SETTLED")+SUMIFS($F$2:$F$13, $J$2:$J$13, "IN_MONTH_AWAITING_PAYOUT")+SUMIFS($F$2:$F$13, $J$2:$J$13, "IN_MONTH_IN_TRANSIT"), 2))

X15, net activity:

=IF(OR(NOT(ISNUMBER(X12)), NOT(ISNUMBER(X13)), NOT(ISNUMBER(X14))), "CHECK INPUTS", ROUND(X12-X13-X14, 2))

X16, opening awaiting payout:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_AWAITING_SETTLED")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_CARRYOVER_AWAITING")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_AWAIT_END_TRANSIT"), 2))

X17, opening in transit:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_IN_TRANSIT_SETTLED")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_CARRYOVER_IN_TRANSIT"), 2))

X18, beginning clearing balance:

=IF(OR(NOT(ISNUMBER(X16)), NOT(ISNUMBER(X17))), "CHECK INPUTS", ROUND(X16+X17, 2))

X19, ending awaiting payout:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($K$2:$K$13, $J$2:$J$13, "IN_MONTH_AWAITING_PAYOUT")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_CARRYOVER_AWAITING"), 2))

X20, ending in transit:

=IF(OR(X8>0, X9>0, X10>0, X11>0), "CHECK INPUTS", ROUND(SUMIFS($K$2:$K$13, $J$2:$J$13, "IN_MONTH_IN_TRANSIT")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_AWAIT_END_TRANSIT")+SUMIFS($K$2:$K$13, $J$2:$J$13, "PRIOR_CARRYOVER_IN_TRANSIT"), 2))

X21, ending clearing balance:

=IF(OR(NOT(ISNUMBER(X19)), NOT(ISNUMBER(X20))), "CHECK INPUTS", ROUND(X19+X20, 2))

X22, largest month-end control gap:

=IF(OR(NOT(ISNUMBER(Z22)), NOT(ISNUMBER(Z23)), NOT(ISNUMBER(Z25)), NOT(ISNUMBER(Z26))), "CHECK INPUTS", ROUND(MAX(ABS(Z22), ABS(Z23), ABS(Z25), ABS(Z26)), 2))

X23, expected bank deposits:

=IF(OR(NOT(ISNUMBER(X15)), NOT(ISNUMBER(X18)), NOT(ISNUMBER(X21))), "CHECK INPUTS", ROUND(X15+X18-X21, 2))

X24, actual in-month bank deposits:

=IF(OR(X8>0, X9>0, X10>0, X11>0, NOT(ISNUMBER($Q$6))), "CHECK INPUTS", $Q$6)

X25, bridge-to-bank gap:

=IF(OR(NOT(ISNUMBER(X23)), NOT(ISNUMBER(X24))), "CHECK INPUTS", ROUND(X24-X23, 2))

X26, mismatched batches:

=IF(OR(X8>0, X9>0, X10>0, X11>0, COUNTIF($U$2:$U$5, "CHECK INPUTS")>0), "CHECK INPUTS", COUNTIF($U$2:$U$5, "MISMATCH"))

X27, source audit verdict:

=IF(OR(ISFORMULA($X$2), NOT(ISNUMBER($X$2)), ISFORMULA($X$3), NOT(ISNUMBER($X$3))), "STOP: ENTER STATIC MONTH START (X2) AND MONTH END (X3)", IF(IF(OR(INT($X$2)<>$X$2, INT($X$3)<>$X$3, $X$2<DATE(2000,1,1), $X$2>DATE(2100,1,1), $X$3<DATE(2000,1,1), $X$3>DATE(2100,1,1), $X$3<$X$2), TRUE, OR(DAY($X$2)<>1, DAY($X$3+1)<>1, MONTH($X$3)<>MONTH($X$2), YEAR($X$3)<>YEAR($X$2))), "STOP: X2 AND X3 MUST BE FIRST AND LAST DAY OF ONE CALENDAR MONTH", IF(OR(ISFORMULA($X$4), NOT(ISNUMBER($X$4)), ISFORMULA($X$5), NOT(ISNUMBER($X$5)), ISFORMULA($X$6), NOT(ISNUMBER($X$6)), ISFORMULA($X$7), NOT(ISNUMBER($X$7))), "STOP: ENTER STATIC PROCESSOR REPORT AND IN-TRANSIT CONTROLS IN X4:X7", IF(OR(ROUND($X$4, 2)<>$X$4, ROUND($X$5, 2)<>$X$5, ROUND($X$6, 2)<>$X$6, ROUND($X$7, 2)<>$X$7), "STOP: CLEARING CONTROLS IN X4:X7 MUST BE CENT AMOUNTS", IF(OR(COUNTIF($H$2:$H$13, "<>OK")>0, COUNTBLANK($A$2:$G$13)>0), "STOP: INVALID OR BLANK PROCESSOR TRANSACTION ROWS", IF(OR(COUNTIF($R$2:$R$5, "CHECK ROW")>0, NOT(EXACT($R$6, "OK")), COUNTBLANK($N$2:$Q$5)>0), "STOP: INVALID OR BLANK BANK DEPOSIT ROWS OR TOTAL LABEL", IF(X9>0, "STOP: DUPLICATE TRANSACTION IDS OR PAYOUT IDS", IF(X10>0, "STOP: TRAILING ROWS BELOW PROCESSOR OR BANK TABLE (RESIZE RANGES)", IF(X11>0, "STOP: UNMATCHED PAYOUT IDS OR EFFECTIVE/DEPOSIT DATE BEFORE TXN DATE", IF(OR(NOT(ISNUMBER(X22)), X22<>0), "STOP: CLEARING CONTROL MISMATCH (OPEN AWAITING GAP " & IF(Z22<0, "-$", IF(Z22>0, "+$", "$")) & TEXT(ABS(Z22), "0.00") & "; OPEN IN-TRANSIT GAP " & IF(Z23<0, "-$", IF(Z23>0, "+$", "$")) & TEXT(ABS(Z23), "0.00") & "; END AWAITING GAP " & IF(Z25<0, "-$", IF(Z25>0, "+$", "$")) & TEXT(ABS(Z25), "0.00") & "; END IN-TRANSIT GAP " & IF(Z26<0, "-$", IF(Z26>0, "+$", "$")) & TEXT(ABS(Z26), "0.00") & "; CHECK PROCESSOR REPORT BALANCES OR OMITTED ROWS)", IF(OR(NOT(ISNUMBER(X25)), X25<>0, NOT(ISNUMBER(X26)), X26>0), "STOP: BANK DEPOSIT MISMATCH (" & IF(X25<0, "-$", IF(X25>0, "+$", "$")) & TEXT(ABS(X25), "0.00") & " BRIDGE GAP; " & X26 & " BATCH DIFF" & IF(X26=1, "", "S") & ")", "RECONCILED: " & TEXT($X$2, "yyyy-mm") & " PAYOUT-TO-BANK BRIDGE (" & IF(X24<0, "-$", "$") & TEXT(ABS(X24), "0.00") & " DEPOSITED ACROSS " & COUNTIF($P$2:$P$5, "<="&$X$3) & " IN-MONTH BATCHES; " & IF(X15<0, "-$", "$") & TEXT(ABS(X15), "0.00") & " NET ACTIVITY; " & IF(X18<0, "-$", "+$") & TEXT(ABS(X18), "0.00") & " BEG CLEARING [" & IF(X16<0, "-$", "$") & TEXT(ABS(X16), "0.00") & " AWAITING + " & IF(X17<0, "-$", "$") & TEXT(ABS(X17), "0.00") & " IN TRANSIT]; " & IF(X21<0, "+$", "-$") & TEXT(ABS(X21), "0.00") & " END CLEARING [" & IF(X19<0, "-$", "$") & TEXT(ABS(X19), "0.00") & " AWAITING + " & IF(X20<0, "-$", "$") & TEXT(ABS(X20), "0.00") & " IN TRANSIT]; $0.00 CONTROL GAP; $0.00 BANK GAP)")))))))))))

Block 3B: Candidate audit and month-end controls (Z11:Z27; Z2:Z10 are typed)

Z11, candidate input status:

=IF(OR(LEFT(X27, 5)="STOP:", ISFORMULA(Z2), ISFORMULA(Z3), ISFORMULA(Z4), ISFORMULA(Z5), ISFORMULA(Z6), ISFORMULA(Z7), ISFORMULA(Z8), ISFORMULA(Z9), ISFORMULA(Z10), NOT(ISNUMBER(Z9)), NOT(ISNUMBER(Z10))), "CHECK INPUTS", IF(OR(INT(Z9)<>Z9, Z9<>0, INT(Z10)<>Z10, Z10<>0), "CHECK INPUTS", IF(IF(AND(ISTEXT(Z2), ISTEXT(Z3), ISTEXT(Z4), ISTEXT(Z5), ISTEXT(Z6), ISTEXT(Z7), ISTEXT(Z8)), AND(EXACT(Z2, "NOT TESTED"), EXACT(Z3, "NOT TESTED"), EXACT(Z4, "NOT TESTED"), EXACT(Z5, "NOT TESTED"), EXACT(Z6, "NOT TESTED"), EXACT(Z7, "NOT TESTED"), EXACT(Z8, "NOT TESTED")), FALSE), "NOT TESTED", IF(OR(NOT(ISTEXT(Z2)), NOT(ISNUMBER(Z3)), NOT(ISNUMBER(Z4)), NOT(ISNUMBER(Z5)), NOT(ISNUMBER(Z6)), NOT(ISNUMBER(Z7)), NOT(ISNUMBER(Z8))), "CHECK INPUTS", IF(OR(ROUND(Z3, 2)<>Z3, Z4<0, ROUND(Z4, 2)<>Z4, Z5<0, ROUND(Z5, 2)<>Z5, ROUND(Z6, 2)<>Z6, ROUND(Z7, 2)<>Z7, ROUND(Z8, 2)<>Z8), "CHECK INPUTS", "VALID")))))

Z12, candidate deposit gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z3-X24, 2)))

Z13, candidate internal bridge gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z3-(Z4-Z5-Z6+Z7-Z8), 2)))

Z14, candidate fee gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z6-X14, 2)))

Z15, candidate refund and dispute gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z5-X13, 2)))

Z16, candidate cutoff net gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND((Z7-Z8)-(X18-X21), 2)))

Z17, candidate ending clearing gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z8-X21, 2)))

Z18, candidate fields that differ from the bridge:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", IF(ROUND(Z3-X23, 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z15<>0, 1, 0)+IF(Z14<>0, 1, 0)+IF(Z20<>0, 1, 0)+IF(Z17<>0, 1, 0)))

Z19, candidate fields that differ from the named method’s replay:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", IF(EXACT(Z2, "CLEAN_PAYOUT_BRIDGE"), Z18, IF(EXACT(Z2, "GROSS_SALES_VS_BANK"), IF(ROUND(Z3-X12, 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z5<>0, 1, 0)+IF(Z6<>0, 1, 0)+IF(Z7<>0, 1, 0)+IF(Z8<>0, 1, 0), IF(EXACT(Z2, "IGNORE_PROCESSOR_FEES"), IF(ROUND(Z3-ROUND(X12-X13+(SUMIFS($E$2:$E$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "CHARGE")-SUMIFS($E$2:$E$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "<>CHARGE"))-(SUMIFS($E$2:$E$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "CHARGE")-SUMIFS($E$2:$E$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "<>CHARGE")), 2), 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z15<>0, 1, 0)+IF(Z6<>0, 1, 0)+IF(ROUND(Z7-ROUND(SUMIFS($E$2:$E$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "CHARGE")-SUMIFS($E$2:$E$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "<>CHARGE"), 2), 2)<>0, 1, 0)+IF(ROUND(Z8-ROUND(SUMIFS($E$2:$E$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "CHARGE")-SUMIFS($E$2:$E$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "<>CHARGE"), 2), 2)<>0, 1, 0), IF(EXACT(Z2, "IGNORE_CUTOFF_TIMING"), IF(ROUND(Z3-X15, 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z15<>0, 1, 0)+IF(Z14<>0, 1, 0)+IF(Z7<>0, 1, 0)+IF(Z8<>0, 1, 0), IF(EXACT(Z2, "OMIT_REFUNDS_AND_DISPUTES"), IF(ROUND(Z3-ROUND(X12-SUMIFS($F$2:$F$13, $B$2:$B$13, ">="&$X$2, $B$2:$B$13, "<="&$X$3, $C$2:$C$13, "CHARGE")+SUMIFS($K$2:$K$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "CHARGE")-SUMIFS($K$2:$K$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "CHARGE"), 2), 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z5<>0, 1, 0)+IF(ROUND(Z6-ROUND(SUMIFS($F$2:$F$13, $B$2:$B$13, ">="&$X$2, $B$2:$B$13, "<="&$X$3, $C$2:$C$13, "CHARGE"), 2), 2)<>0, 1, 0)+IF(ROUND(Z7-ROUND(SUMIFS($K$2:$K$13, $B$2:$B$13, "<"&$X$2, $C$2:$C$13, "CHARGE"), 2), 2)<>0, 1, 0)+IF(ROUND(Z8-ROUND(SUMIFS($K$2:$K$13, $B$2:$B$13, "<="&$X$3, $L$2:$L$13, "<>LINKED_TO_BANK", $C$2:$C$13, "CHARGE"), 2), 2)<>0, 1, 0), IF(EXACT(Z2, "INCLUDE_UNSETTLED_IN_BANK"), IF(ROUND(Z3-ROUND(X15+X18, 2), 2)<>0, 1, 0)+IF(ROUND(Z4-X12, 2)<>0, 1, 0)+IF(Z15<>0, 1, 0)+IF(Z14<>0, 1, 0)+IF(Z20<>0, 1, 0)+IF(Z8<>0, 1, 0), "CHECK INPUTS"))))))))

Z20, candidate beginning clearing gap:

=IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Z11, "VALID")), "CHECK INPUTS", ROUND(Z7-X18, 2)))

Z21, opening combined control (X4 + X5):

=IF(OR(ISFORMULA($X$4), NOT(ISNUMBER($X$4)), ISFORMULA($X$5), NOT(ISNUMBER($X$5))), "CHECK INPUTS", IF(OR(ROUND($X$4, 2)<>$X$4, ROUND($X$5, 2)<>$X$5), "CHECK INPUTS", ROUND($X$4+$X$5, 2)))

Z22, opening awaiting-payout control gap:

=IF(OR(NOT(ISNUMBER(X16)), ISFORMULA($X$4), NOT(ISNUMBER($X$4))), "CHECK INPUTS", IF(ROUND($X$4, 2)<>$X$4, "CHECK INPUTS", ROUND(X16-$X$4, 2)))

Z23, opening in-transit control gap:

=IF(OR(NOT(ISNUMBER(X17)), ISFORMULA($X$5), NOT(ISNUMBER($X$5))), "CHECK INPUTS", IF(ROUND($X$5, 2)<>$X$5, "CHECK INPUTS", ROUND(X17-$X$5, 2)))

Z24, ending combined control (X6 + X7):

=IF(OR(ISFORMULA($X$6), NOT(ISNUMBER($X$6)), ISFORMULA($X$7), NOT(ISNUMBER($X$7))), "CHECK INPUTS", IF(OR(ROUND($X$6, 2)<>$X$6, ROUND($X$7, 2)<>$X$7), "CHECK INPUTS", ROUND($X$6+$X$7, 2)))

Z25, ending awaiting-payout control gap:

=IF(OR(NOT(ISNUMBER(X19)), ISFORMULA($X$6), NOT(ISNUMBER($X$6))), "CHECK INPUTS", IF(ROUND($X$6, 2)<>$X$6, "CHECK INPUTS", ROUND(X19-$X$6, 2)))

Z26, ending in-transit control gap:

=IF(OR(NOT(ISNUMBER(X20)), ISFORMULA($X$7), NOT(ISNUMBER($X$7))), "CHECK INPUTS", IF(ROUND($X$7, 2)<>$X$7, "CHECK INPUTS", ROUND(X20-$X$7, 2)))

Z27, candidate audit verdict:

=IF(LEFT(X27, 5)="STOP:", X27, IF(IF(AND(NOT(ISFORMULA(Z9)), NOT(ISFORMULA(Z10)), ISNUMBER(Z9), ISNUMBER(Z10)), OR(INT(Z9)<>Z9, Z9<>0, INT(Z10)<>Z10, Z10<>0), TRUE), "STOP: INVALID CANDIDATE GUARD INPUTS", IF(EXACT(Z11, "NOT TESTED"), "NOT TESTED: ENTER CANDIDATE RECONCILIATION SUMMARY", IF(EXACT(Z11, "CHECK INPUTS"), "STOP: INVALID OR NON-NUMERIC CANDIDATE RECONCILIATION INPUTS", IF(NOT(OR(EXACT(Z2, "CLEAN_PAYOUT_BRIDGE"), EXACT(Z2, "GROSS_SALES_VS_BANK"), EXACT(Z2, "IGNORE_PROCESSOR_FEES"), EXACT(Z2, "IGNORE_CUTOFF_TIMING"), EXACT(Z2, "OMIT_REFUNDS_AND_DISPUTES"), EXACT(Z2, "INCLUDE_UNSETTLED_IN_BANK"))), "STOP: UNKNOWN CANDIDATE RECONCILIATION METHOD", IF(EXACT(Z2, "GROSS_SALES_VS_BANK"), IF(Z19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD GROSS-SALES REPLAY (" & Z19 & " OF 6 FIELDS DIFFER; BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; " & Z18 & " OF 6 FIELDS DIFFER FROM BRIDGE)", IF(Z18=0, "STOP: GROSS_SALES_VS_BANK SELECTED BUT CANDIDATE MATCHES CLEAN BRIDGE (SWITCH TO CLEAN_PAYOUT_BRIDGE)", "STOP: MATCHES GROSS-SALES-VS-BANK REPLAY (" & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & " " & IF(Z12<0, "BELOW", IF(Z12>0, "ABOVE", "VS")) & " " & IF(X24<0, "-$", "$") & TEXT(ABS(X24), "0.00") & " BANK DEPOSITS; DEDUCT REFUNDS, DISPUTES, FEES, AND CUTOFF TIMING)")), IF(EXACT(Z2, "IGNORE_PROCESSOR_FEES"), IF(Z19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD IGNORED-FEES REPLAY (" & Z19 & " OF 6 FIELDS DIFFER; BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; " & Z18 & " OF 6 FIELDS DIFFER FROM BRIDGE)", IF(Z18=0, "STOP: IGNORE_PROCESSOR_FEES SELECTED WITH $0.00 PROCESSOR FEES (SWITCH TO CLEAN_PAYOUT_BRIDGE)", "STOP: MATCHES IGNORED-FEES REPLAY (" & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & " " & IF(Z12<0, "BELOW", IF(Z12>0, "ABOVE", "VS")) & " " & IF(X24<0, "-$", "$") & TEXT(ABS(X24), "0.00") & " BANK DEPOSITS; " & IF(Z12>0, "DEDUCT $" & TEXT(ABS(Z12), "0.00") & " SETTLED PROCESSOR AND DISPUTE FEES", IF(Z12<0, "ADD $" & TEXT(ABS(Z12), "0.00") & " NET SETTLED FEE CREDIT", "INCLUDE PROCESSOR FEES IN ACTIVITY AND CLEARING")) & ")")), IF(EXACT(Z2, "IGNORE_CUTOFF_TIMING"), IF(Z19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD IGNORED-CUTOFF REPLAY (" & Z19 & " OF 6 FIELDS DIFFER; BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; " & Z18 & " OF 6 FIELDS DIFFER FROM BRIDGE)", IF(AND(X18=0, X21=0), "STOP: IGNORE_CUTOFF_TIMING SELECTED WITH $0.00 BEGINNING AND ENDING CLEARING (SWITCH TO CLEAN_PAYOUT_BRIDGE)", "STOP: MATCHES IGNORED-CUTOFF-TIMING REPLAY (" & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & " VS BANK DEPOSITS; " & IF(X18>=0, "ADD $" & TEXT(X18, "0.00") & " BEG CLEARING", "SUBTRACT $" & TEXT(ABS(X18), "0.00") & " NEGATIVE BEG CLEARING") & " AND " & IF(X21>=0, "SUBTRACT $" & TEXT(X21, "0.00") & " END CLEARING", "ADD $" & TEXT(ABS(X21), "0.00") & " NEGATIVE END CLEARING") & ")")), IF(EXACT(Z2, "OMIT_REFUNDS_AND_DISPUTES"), IF(Z19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD OMITTED-REFUNDS REPLAY (" & Z19 & " OF 6 FIELDS DIFFER; BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; " & Z18 & " OF 6 FIELDS DIFFER FROM BRIDGE)", IF(Z18=0, "STOP: OMIT_REFUNDS_AND_DISPUTES SELECTED WITH 0 REFUNDS OR DISPUTES (SWITCH TO CLEAN_PAYOUT_BRIDGE)", "STOP: MATCHES OMITTED-REFUNDS-DISPUTES REPLAY (" & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & " " & IF(Z12<0, "BELOW", IF(Z12>0, "ABOVE", "VS")) & " " & IF(X24<0, "-$", "$") & TEXT(ABS(X24), "0.00") & " BANK DEPOSITS; INCLUDE $" & TEXT(X13, "0.00") & " REFUNDS/DISPUTES AND " & IF(ROUND(X14-Z6, 2)<0, "-$", "$") & TEXT(ABS(ROUND(X14-Z6, 2)), "0.00") & " NON-CHARGE FEES)")), IF(EXACT(Z2, "INCLUDE_UNSETTLED_IN_BANK"), IF(Z19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD AWAITING-PAYOUT REPLAY (" & Z19 & " OF 6 FIELDS DIFFER; BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; " & Z18 & " OF 6 FIELDS DIFFER FROM BRIDGE)", IF(X21=0, "STOP: INCLUDE_UNSETTLED_IN_BANK SELECTED WITH $0.00 ENDING CLEARING (SWITCH TO CLEAN_PAYOUT_BRIDGE)", "STOP: MATCHES INCLUDED-AWAITING-PAYOUT REPLAY (" & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & " " & IF(Z12<0, "BELOW", IF(Z12>0, "ABOVE", "VS")) & " " & IF(X24<0, "-$", "$") & TEXT(ABS(X24), "0.00") & " BANK DEPOSITS; " & IF(X21>=0, "EXCLUDE $" & TEXT(X21, "0.00") & " ENDING AWAITING-PAYOUT/IN-TRANSIT BALANCE", "ADD BACK $" & TEXT(ABS(X21), "0.00") & " NEGATIVE ENDING AWAITING-PAYOUT/IN-TRANSIT BALANCE") & ")")), IF(Z18>0, "STOP: " & Z18 & " OF 6 CANDIDATE BRIDGE METRICS DIFFER FROM PAYOUT-TO-BANK BRIDGE (BANK GAP " & IF(Z12<0, "-$", IF(Z12>0, "+$", "$")) & TEXT(ABS(Z12), "0.00") & "; INTERNAL BRIDGE GAP " & IF(Z13<0, "-$", IF(Z13>0, "+$", "$")) & TEXT(ABS(Z13), "0.00") & "; FEE GAP " & IF(Z14<0, "-$", IF(Z14>0, "+$", "$")) & TEXT(ABS(Z14), "0.00") & "; CUTOFF GAP " & IF(Z16<0, "-$", IF(Z16>0, "+$", "$")) & TEXT(ABS(Z16), "0.00") & ")", "RECONCILED: ALL 6 BRIDGE METRICS MATCH BANK DEPOSITS (" & IF(Z3<0, "-$", "$") & TEXT(ABS(Z3), "0.00") & " DEPOSITED; $" & TEXT(Z4, "0.00") & " GROSS; -$" & TEXT(Z5, "0.00") & " REF/DISP; " & IF(Z6<0, "+$", "-$") & TEXT(ABS(Z6), "0.00") & " FEES; " & IF(Z7<0, "-$", "+$") & TEXT(ABS(Z7), "0.00") & " BEG CLEARING; " & IF(Z8<0, "+$", "-$") & TEXT(ABS(Z8), "0.00") & " END CLEARING)")))))))))))

Continue Reading

Email Notifications

Get notified when new Practical Analytics articles are published.

Field notes on table grain, trustworthy KPIs, and AI-assisted data workflows for small and medium businesses. Sent only when a new guide goes live.

No spam or automated drip funnels. Unsubscribe anytime.