John Serra
Back to Blog
AnalyticsBusiness OperationsreportingSmall BusinessSmall Business AnalyticsSpreadsheet Managementspreadsheets

Calculate Revenue Per Available Space or Hour (Capacity Utilization KPIs)

Learn how to calculate RevPAH and RevPAS in Google Sheets and Excel for the web using weighted SUM/SUM period totals, decompose RevPAH into occupancy and revenue per occupied hour, and audit five common capacity KPI mistakes.

To calculate revenue per available space or hour, log each day’s open units, scheduled hours, occupied unit-hours, and revenue. Divide total period revenue by total open space-days for daily RevPAS, or by total available unit-hours (open units × open hours) for RevPAH.

Add up the period first and divide once, instead of averaging daily ratios. Pair RevPAH with its two pieces—occupancy and revenue per occupied hour—to see which one drove the change.

In the example below, March revenue is $6,300.00 higher than February’s, and revenue per open space-day edges up from $223.13 to $224.00. Revenue per available unit-hour tells a different story: it fell from $25.50 to $22.40. March opened 114% more unit-hours but filled only 100% more, and each occupied hour brought in $2.00 less.

Revenue Per Available Parking Space, Explained covers the idea for parking lots. This article builds the spreadsheet for any business that sells time on a fixed number of spaces or people: service bays, studio rooms, sports courts, treatment chairs, or private tutors and coaches.

When I review a dashboard, I check whether each metric matters. Does it help increase revenue, make the company more efficient, and/or reduce costs? A capacity KPI earns its place when it shows how much revenue each available hour produced, not only how much revenue came in.

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 February and March Example

Two units of capacity show up in this article:

  • Available unit-hour: One unit open for one hour. A 10-bay shop open 10 hours has 100 available unit-hours that day.
  • Open space-day: One unit open for one day, however long the day is. The same shop has 10 open space-days that day.

Every KPI in the sheet is one period total divided by another:

  • Occupancy = occupied unit-hours ÷ available unit-hours
  • Revenue per occupied hour = revenue ÷ occupied unit-hours
  • RevPAH (revenue per available unit-hour) = revenue ÷ available unit-hours
  • RevPAS (revenue per open space-day) = revenue ÷ open space-days

The first three are linked: RevPAH = occupancy × revenue per occupied hour. That identity is what lets you split a change in RevPAH into its two measured pieces.

Here is how February and March compare:

KPI February March Change
Operating days 4 6 +2
Total revenue $7,140.00 $13,440.00 +$6,300.00
Available unit-hours 280.00 600.00 +320.00
Occupied unit-hours 210.00 420.00 +210.00
Occupancy 75.00% 70.00% -5.00 points
Revenue per occupied hour $34.00 $32.00 -$2.00
RevPAH $25.50 $22.40 -$3.10
RevPAS (per open space-day) $223.13 $224.00 +$0.87

Read the table from the top and March looks better. Read the bottom three rows, and it doesn’t:

  • Revenue rose 88.24%. Available unit-hours rose from 280 to 600, and occupied unit-hours doubled from 210 to 420. Revenue per occupied hour fell from $34.00 to $32.00, but the extra 210 occupied hours more than offset the lower rate.
  • Occupied hours grew more slowly than capacity. Available unit-hours grew 114.29%, while occupied unit-hours grew 100.00%. Occupancy fell 5 points.
  • Each occupied hour brought in less. Revenue per occupied hour fell from $34.00 to $32.00. This is realized revenue, not a price list. A shift in the mix of bookings can move it even when posted prices stay the same.
  • RevPAH fell $3.10, or 12.16%, and both of its pieces are lower: 75.00% × $34.00 = $25.50 in February, and 70.00% × $32.00 = $22.40 in March.
  • RevPAS rose anyway. February had one 6-hour day, so its average open space-day was shorter. March’s 10-hour days give each space-day more hours to earn in. The $0.87 shown is the difference between the two rounded values. The exact difference is $0.875, which would round to $0.88.

These daily records show lower occupancy and lower revenue per occupied hour. They can’t tell you why. They don’t prove there was unmet demand, a price cut, or revenue lost during the February maintenance days, and they can’t tell you how many bookings a different schedule would have produced.

Below is the 10-day operating log I made up for this article. It is a 10-bay facility open by appointment, but any bookable unit works the same way. Everything sits on one worksheet named Cap_Util, in three blocks separated by blank columns O and U:

  • Daily log (A1:N11): Ten days, LOG-01 to LOG-10. Columns A to I are typed inputs (download the log CSV), and columns J to N are helper formulas.
  • Period summary (P1:T9): February in column Q, March in column R, the change in S, and all rows combined in T (download the summary layout CSV).
  • Audit block (V1:Y20): Checks on the log and a checker for KPIs someone else calculated (download the audit layout CSV).

Here is the daily log in A1:N11:

Excel for the web worksheet Cap_Util showing ten daily capacity log rows LOG-01 through LOG-10 in A1:N11, with partial-closure open units highlighted in E3:E4, a shortened 6-hour day in F5, and live helper formulas in J2:N11.
Daily operating log and live helper columns in Cap_Util!A1:N11 (Excel for the web, en-US). Open full-size image.

A few rows do most of the teaching:

  • LOG-01 (February 5): A normal day. All 10 bays open for 10 hours, so 100 available unit-hours, with 60 of them booked.
  • LOG-02 and LOG-03 (February 12 and 19): Four bays were down for maintenance, so only 6 of 10 were open. Each day has 60 available unit-hours, not 100.
  • LOG-04 (February 28): A shortened Saturday. All 10 bays were open, but only for 6 hours, so again 60 available unit-hours.
  • LOG-05 to LOG-10 (March): Six full days of 10 bays × 10 hours, with no closures.

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: Log Daily Open Capacity, Scheduled Hours, and Occupied Unit-Hours

Use one row per day for one facility. A daily summary from your booking or point-of-sale system is enough. You don’t need every booking.

Each row has nine typed inputs:

  • A log_id: LOG- followed by two to four digits, such as LOG-01.
  • B op_date: The operating date, as a real date with no time part.
  • C period_month: The month of that date as text, such as 2026-02.
  • D nominal_units: How many units the facility has, open or not.
  • E open_units: How many units were open for booking that day.
  • F open_hours: Scheduled open hours that day, more than 0 and up to 24.
  • G occ_unit_hours: Hours booked across all units. Three bays booked for 4 hours each is 12 occupied unit-hours.
  • H bookings: The number of bookings.
  • I revenue_usd: Revenue for that day’s bookings.

Open units or total units?

The sheet divides by open units. It keeps total units in column D so maintenance downtime stays visible. This is a reporting choice for this example. It measures how well you sold the capacity you could actually sell that day.

The Federal Reserve makes a similar point about factories. Its capacity utilization notes define sustainable capacity as "the greatest level of output a plant can maintain within the framework of a realistic work schedule, after factoring in normal downtime." A service business isn’t a factory, but the idea carries over: measure against a realistic schedule, not a theoretical maximum. Mistakes 2 and 5 below show what happens when you don’t.

If you’d rather count closed units against yourself, you can report both. Just label which one you’re showing.

What column J checks

Column J returns OK or CHECK ROW for each day. It checks this workbook’s input rules. A row passes when:

  • All nine inputs are filled, with text in A and C and numbers everywhere else.
  • The ID follows the LOG-01 pattern, with no spaces or hidden characters.
  • The date is a whole date, and C matches its month exactly.
  • Units are whole numbers greater than 0, and open units are no more than total units.
  • Open hours are more than 0 and no more than 24.
  • Occupied unit-hours are 0 or more and no more than open units × open hours.
  • Bookings are whole numbers, 0 or more. A day with occupied hours needs at least one booking, and a day with no occupied hours has none and no revenue.
  • Revenue is 0 or more.
  • Hours and revenue use no more than two decimals.

A quiet day with zero bookings and zero revenue is valid. Some real records still fall outside these rules. The log covers operating days only, so leave out a day when the facility was fully closed. If your system uses a different ID scheme, map each ID to the LOG-01 pattern before you paste.

What columns K to N do

  • Column K counts how often each row’s ID and date appear. A clean row returns 1. Two rows with the same ID, or two rows for the same date under different IDs, both stop the sheet. A repeated import with fresh IDs would otherwise count the same day twice.
  • Column L calculates available unit-hours: open units × open hours.
  • Column M shows the day’s occupancy, and column N shows the day’s RevPAH. These are for spotting unusual days. The period KPIs don’t average them.

Each helper also checks that the helpers around it are still formulas. If someone pastes values over a helper, or a fill-down misses a cell, the summary shows CHECK INPUTS instead of a number. Step 3 shows how to test that.

Step 2: Build Weighted Period Totals and Split RevPAH Into Occupancy and Rate

The rule for every KPI in the summary is the same: add up the period first, then divide once. A 100-hour day should count for more than a 60-hour day, and dividing period totals does that automatically. Averaging daily percentages doesn’t.

Type the two months you want to compare in Q1 and R1 as text: 2026-02 and 2026-03. Type the same two months in W2 and W3, because the audit in Step 3 checks that they match. Then the summary builds each column:

  • Q2 counts February’s operating days with COUNTIF.
  • Q3:Q5 add up February’s revenue, available unit-hours, and occupied unit-hours with SUMIFS.
  • Q6:Q9 divide those totals: occupancy, revenue per occupied hour, RevPAH, and RevPAS.

Here is the available unit-hours total in Q4:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMIFS($L$2:$L$11, $C$2:$C$11, $Q$1), 2)))

The first part stops the total when the audit in W4:W6 finds a problem. The last part is the actual sum. Column R does the same for March, column S subtracts February from March, and column T totals all rows for reference.

RevPAS needs one more sum. Q9 divides February’s revenue by the open units across its days: 10 + 6 + 6 + 10 = 32 open space-days, so $7,140.00 ÷ 32 = $223.13.

Read the two pieces of RevPAH

Once the summary is built, check the identity for each month. In February, 75.00% × $34.00 = $25.50. In March, 70.00% × $32.00 = $22.40. The audit block runs the same check on February in W16, which should show $0.00.

Now you can say what changed. Occupancy fell 5 points, and revenue per occupied hour fell $2.00. Both pieces are lower in March. As a calculation, hold occupancy at February’s 75.00% and apply March’s rate: 75.00% × $32.00 = $24.00. That is still $1.50 below February’s $25.50, so the lower rate alone lowers RevPAH at constant occupancy.

When a month has no data

Change the comparison month to 2026-04 in both R1 and W3, as text. The log has no April rows, so:

  • R2 shows 0. That is a real count: zero recorded April days.
  • R3:R9 and every change in S2:S9 show NO DATA. April’s revenue isn’t zero. It is unavailable, because the log has no April rows. April’s yields are undefined, because there is nothing to divide.
  • W20 stops because there are no rows for the comparison month.

If you change only R1, the two selectors no longer match. The summary shows CHECK INPUTS, and W20 stops on mismatched month labels instead.

A real day with no bookings is different from a missing month. It stays in the totals as a valid quiet day with $0.00 revenue. Set R1 and W3 back to 2026-03 when you’re done.

RevPAS or RevPAH?

RevPAS per open space-day works when every open day runs the same hours, such as a 24-hour facility. Then a space-day always means the same number of hours, and RevPAS and RevPAH move together.

When daily hours vary, RevPAS can hide a decline. February’s average open space-day was 8.75 hours (280 ÷ 32), while March’s was 10. March earned a little more per space-day only because each one was longer. If you also compare months with different numbers of trading days, Compare Monthly Sales When Trading Days Differ covers that part.

What occupancy should be

I wouldn’t set a target like "80% occupancy is good" without looking at what the business sells and how it works. A universal number skips both. For example, a shop that needs 30 minutes to turn a bay between bookings can’t reach the same occupancy as one that turns a bay in five. A business that prices peak hours higher may accept lower occupancy in exchange for a higher rate. Use the sheet to compare your own periods first.

Here is the period summary in the test:

Excel for the web period summary in Cap_Util!P1:T9 comparing 2026-02 and 2026-03, showing revenue up $6,300.00 and RevPAS up $0.87 per open space-day while RevPAH falls $3.10 per available unit-hour from $25.50 to $22.40.
Weighted period summary in Cap_Util!P1:T9 showing revenue and RevPAS rising while RevPAH drops $3.10 per available unit-hour (Excel for the web, en-US). Open full-size image.

Step 3: Audit the Source Before You Report

The audit block in V1:Y20 has two halves. Column W checks the log and the summary. Column Y checks a set of KPIs someone else calculated, covered in the next section.

Type the same two months in W2 and W3 as in Q1 and R1, as text. W20 then returns RECONCILED only when everything below checks out:

  • The months are valid. W2 and W3 match Q1 and R1 exactly, differ from each other, and are real months in the form 2026-02. A wildcard such as 2026-0? stops the sheet, because COUNTIF and SUMIFS would treat the ? as "any character."
  • Every log row passes column J.
  • Every helper in J2:N11 is a live formula, and its value matches the inputs.
  • No ID or date appears twice.
  • Nothing sits in columns A:N below the log or in column P below the summary labels. A row typed in row 12 without resizing stops the sheet.
  • Both months have at least one row.
  • The RevPAH identity holds for the target month, with a $0.00 gap in W16.

On the baseline, W20 returns RECONCILED, followed by February’s revenue, available hours, occupancy, rate, and RevPAH, the -$3.10 change against March, and a $0.00 identity gap.

When a check fails, W20 starts with STOP: and names the problem in a few words, and the affected summary cells show CHECK INPUTS or NO DATA.

Test the checks

Try each change on the baseline sheet, and restore each cell before the next one. Both tools returned the same results:

  • A missing helper: Clear L2. The summary shows CHECK INPUTS, and W20 stops on incomplete helper formulas. Fill L2 again from L3, or paste the formula back.
  • Helpers pasted as values: Copy J3:N4 and paste them back as values only. Then change B4 to the date in B3. Without the formulas, nothing would catch the repeated date. With them, W20 stops on incomplete helper formulas. Restore both rows by filling J2:N2 down through row 11, and set B4 back to 2026-02-19.
  • A repeated date: Change B3 to the date in B2, 2026-02-05. K2 and K3 both show 2, and W20 stops on duplicate IDs or dates. Set B3 back to 2026-02-12.
  • Shuffled rows (a control): Start from the restored baseline, with no repeated date. Sort A2:I11 by date, newest first, so each day’s nine inputs move together and the formulas in J:N stay where they are. The sheet still reconciles, with the same -$3.10 change in RevPAH. Row order doesn’t matter. A repeated date does. Sort back to oldest first.
  • More open units than the facility has: Change E3 to 12. J3 returns CHECK ROW, and W20 stops on invalid log rows.
  • A month with no rows: Type 2026-04 in both R1 and W3. R2 shows 0 recorded April days, the other cells in column R and the changes in S show NO DATA, and W20 stops because there are no rows for the comparison month. Set both cells back to 2026-03.
  • A wildcard month: Type 2026-0? in both Q1 and W2. The summary shows CHECK INPUTS before anything is added up.
  • A quiet day: Set G2, H2, and I2 to 0. J2 still returns OK, February’s RevPAH drops to $19.07, and W20 still reconciles.

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

When W20 returns RECONCILED, every row in the log is possible, every helper is a live formula, the dates and IDs are unique, and the KPIs follow from the log. It doesn’t prove the log is complete or that the occupied hours are right. A day missing from your export, or a booking system that counts no-shows as occupied, passes every check. Tie the period’s revenue and occupied hours to your booking or point-of-sale system’s own totals before you report them.

Five Ways a Capacity KPI Goes Wrong

Here is how five common mistakes change February’s RevPAH on the same data:

Mistake February RevPAH Gap vs. $25.50 Occupancy shown
1. Average the daily percentages $26.75 +$1.25 77.50%
2. Divide by total units, including closed ones $19.83 -$5.67 58.33%
3. Multiply occupancy by the average ticket $53.55 +$28.05 75.00%
4. Leave both months in the totals $23.39 -$2.11 71.59%
5. Divide by 24 hours a day $9.30 -$16.20 27.34%

Each one has a different cause:

  • Mistake 1, averaging daily percentages: The daily occupancies are 60%, 80%, 80%, and 90%, and their average is 77.50%. But the two 80% days and the 90% day each had only 60 available unit-hours, while the 60% day had 100. Averaging gives the short days the same weight as the long one. The result also breaks the identity: 77.50% × $34.00 = $26.35, not the $26.75 the averaged daily RevPAH shows. Why You Should Not Average Margin Percentages explains the same problem with margins.
  • Mistake 2, total units: Dividing by 360 unit-hours instead of 280 leaves the 80 hours of closed bays in the denominator. February’s RevPAH drops to $19.83, below March’s $22.40, and the comparison flips. March had no closures, so its figure doesn’t change.
  • Mistake 3, average ticket: February’s 100 bookings averaged $71.40 each. But a booking isn’t an hour. These bookings averaged 2.10 hours, so occupancy × average ticket gives 2.10 times the correct RevPAH. Multiply occupancy by revenue per occupied hour instead.
  • Mistake 4, both months: Adding all 10 rows gives $20,580.00 over 880 unit-hours. The result is a blend of the two months, so it hides March’s decline.
  • Mistake 5, 24-hour days: 32 open space-days × 24 hours = 768 unit-hours, for a facility open 6 to 10 hours a day. Occupancy falls to 27.34%. For a facility that really is open 24 hours, enter 24.00 in column F, and this mistake can’t happen.

Check KPIs someone else calculated

The candidate half of the audit block, X1:Y20, checks a set of February KPIs from somewhere else, such as a colleague’s report or last quarter’s dashboard. Type its figures into Y2:Y10:

  • Y2: the method you think it used.
  • Y3: its revenue.
  • Y4: its available unit-hours, the denominator.
  • Y5: its occupied unit-hours.
  • Y6: its occupancy as a decimal, such as 0.75. Typing 75% also works, because the sheet stores it as 0.75. Don’t type 75.
  • Y7: its rate: revenue per occupied hour, or the average ticket if that’s what it used.
  • Y8: its RevPAH.
  • Y9 and Y10: 0. These two guard cells must stay at 0.

Type plain values without dollar signs or commas, and never use formulas in Y2:Y10. Y12 through Y16 show how far the main figures are from the correct ones, Y17 checks whether the candidate’s own occupancy × rate equals its RevPAH, and Y19 replays the named method from the log and counts how many of the six figures don’t match that replay. Y20 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 Y2:Y10, 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 Y10 overwrites the checker’s formulas.

Scenario Y2 (Method) Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
Initial untested NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED NOT TESTED 0 0
Correct KPIs CLEAN_WEIGHTED_REVPAH 7140.00 280.00 210.00 0.7500 34.00 25.50 0 0
1. Daily average UNWEIGHTED_DAILY_AVERAGE 7140.00 280.00 210.00 0.7750 34.00 26.75 0 0
2. Total units NOMINAL_CAPACITY_DENOMINATOR 7140.00 360.00 210.00 0.5833 34.00 19.83 0 0
3. Average ticket OCCUPANCY_X_AVG_TICKET 7140.00 280.00 210.00 0.7500 71.40 53.55 0 0
4. Both months UNFILTERED_COMBINED_PERIOD 20580.00 880.00 630.00 0.7159 32.67 23.39 0 0
5. 24-hour days CALENDAR_24H_DENOMINATOR 7140.00 768.00 210.00 0.2734 34.00 9.30 0 0

Y20 returned the same verdicts in both tools. The initial row returns NOT TESTED: ENTER CANDIDATE CAPACITY KPI SUMMARY, and the correct row returns RECONCILED. Here is the correct row in the test:

Excel for the web source and candidate audit block in V1:Y20 for Scenario 1 CLEAN_WEIGHTED_REVPAH, showing 280.00 available unit-hours, 75.00% occupancy, $34.00 per occupied hour, $25.50 RevPAH, $0.00 gaps, and RECONCILED verdicts in W20 and Y20.
Source and candidate audit block in V1:Y20 reconciling all six February 2026 KPIs with $0.00 gaps (Excel for the web, en-US). Open full-size image.

Each mistake row returns a STOP that names the mistake, the gap, and the fix. Here is the total-units mistake in the test:

Excel for the web audit block in V1:Y20 for NOMINAL_CAPACITY_DENOMINATOR, showing 360.00 denominator hours (+80.00 closed hours), 58.33% occupancy (-16.67 points), $19.83 RevPAH (-$5.67/hr gap), and a STOP verdict in Y20.
Candidate audit block catching the nominal-capacity denominator trap (+80.00 closed unit-hours, -$5.67/hr RevPAH gap, STOP) (Excel for the web, en-US). Open full-size image.

In plain English, the verdicts say:

  • 1. Daily average: RevPAH is $1.25 too high and occupancy 2.50 points too high. Add up the period and divide once.
  • 2. Total units: RevPAH is $5.67 too low and occupancy 16.67 points too low, because the denominator includes 80.00 hours of closed bays. Leave closed units out.
  • 3. Average ticket: RevPAH is $28.05 too high. Use $34.00 per occupied hour, not the $71.40 ticket.
  • 4. Both months: RevPAH is $2.11 too low, and revenue is $13,440.00 too high. Filter to 2026-02.
  • 5. 24-hour days: RevPAH is $16.20 too low and occupancy 47.66 points too low. Use scheduled open hours.

Here is the average-ticket mistake in the test:

Excel for the web audit block in V1:Y20 for OCCUPANCY_X_AVG_TICKET, showing $71.40 average ticket instead of $34.00 per occupied hour, $53.55 RevPAH (+$28.05/hr overstatement), and a STOP verdict in Y20.
Candidate audit block catching the occupancy times average ticket error ($71.40 ticket vs. $34.00/occupied hour, +$28.05/hr RevPAH overstatement, STOP) (Excel for the web, en-US). Open full-size image.

Two more cases are worth knowing:

  • A near miss: If any figure in Y3:Y8 is off by even a cent from both the correct KPIs and the named replay, Y20 stops and tells you how many of the six figures differ.
  • A coincidence: On some data, a wrong method gives the same six figures as the right one. Daily averages match when every day has the same available hours, and sometimes when they don’t. Y20 then says the results coincide on these inputs and asks you to switch to CLEAN_WEIGHTED_REVPAH. It doesn’t guess why they match.

Resize the Log for Your Own Period

Your months won’t have exactly 10 rows between them. Every formula that points at the log uses a column-qualified endpoint, such as :$A$11 or :$L$11. A Find and Replace on those endpoints updates the references inside the summary and audit formulas, while the summary and the audit block stay in the same cells.

Warning: Never insert or delete whole worksheet rows to resize the log. The log, the summary, and the audit block share rows 1 to 20, so a whole-row change shifts all three and breaks the formulas.

Step A: Note the old and new last rows

Call the current last row R_prev (11 in the baseline) and your new last row R_new (the number of days plus 1).

Step B: Expand the log

  1. Enter the new days directly below the current last row, in columns A:I.
  2. Run Find and Replace for each endpoint from :$A$ through :$N$ followed by R_prev, replacing it with the same column followed by R_new. For 3 more days, :$A$11 becomes :$A$14, :$B$11 becomes :$B$14, and so on through :$N$11.
  3. Fill J2:N2 down through row R_new. Every helper cell must be a formula, or W20 stops.

Step C: Shrink the log

  1. Run Find and Replace the same way first, from R_prev to R_new.
  2. Clear the old inputs and helpers in columns A:N from row R_new + 1 through row R_prev, so W6 returns 0.

Warning: Replace all 14 endpoints, :$A$ through :$N$. A SUMIFS whose ranges end on different rows returns #VALUE!. In the test, changing only :$L$11 to :$L$14 in a SUMIFS that still used $C$2:$C$11 did exactly that.

Step D: Change the months

Type the new months as text in all four selector cells: Q1 and W2 get the target month, and R1 and W3 get the comparison month. W20 stops until each pair matches.

Here is what was checked, and how:

  • Resized sheets: A prepared 13-row version and a prepared 8-row version both reconciled in both tools.
  • The Find and Replace step: Tried in both tools on a single test formula, with the results described below.
  • The full sequence on one sheet: Growing from 10 rows to 13, shrinking to 8, and returning to 10 was checked in a formula evaluator, not clicked through in either tool.

Find and Replace in each tool

  • Google Sheets (Edit > Find and replace): The Search setting started at All sheets. Change it to This sheet. 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): The Within setting starts at Sheet, and 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 Cap_Util:

  1. Set the text cells first. Format column C and the cells Q1, R1, W2, and W3 as plain text before you import (Google Sheets: Format > Number > Plain text; Excel for the web: Home > Number Format > Text). Both tools can turn 2026-02 into a date, such as Feb-26. Formatting first helps, but some import routes still convert it, so check these cells in step 5.
  2. Daily log (A1:N11): Import or paste the log CSV starting at A1. It fills the headings and the 10 days. Columns J:N arrive with the example’s results, and the formulas will replace them.
  3. Period summary (P1:T9): Import or paste the summary layout CSV starting at P1. Keep the labels in P2:P9 exactly as they are, because W4 checks them. The numbers in Q2:T9 will be replaced by formulas.
  4. Audit block (V1:Y20): Import or paste the audit layout CSV starting at V1. It brings the labels in columns V and X, the two months in W2:W3, and the candidate inputs in Y2:Y10.
  5. Check the typed values:
    • Dates in column B are real dates with no time part.
    • Column C, Q1, R1, W2, and W3 hold text. If any of them shows as a date or a number, retype it with a leading apostrophe, such as ‘2026-02. W4 counts a month that turned into a date, and the summary shows CHECK INPUTS until you fix it.
    • Y2:Y8 say NOT TESTED, and Y9:Y10 are 0.
  6. Paste the formulas by block:
    • Log helpers: Paste into J2:N2, and fill down through row 11.
    • Period summary: Paste into Q2:T9, one cell at a time.
    • Source audit: Paste into W4:W20.
    • Candidate audit: Paste into Y11:Y20.
  7. Format the percentages. Format M2:M11 and Q6:T6 as percentages. S6 then shows -5.00%, which is the 5-point drop.

Once everything is in place, W20 should begin with RECONCILED: 2026-02 CAPACITY KPI TIE-OUT, and Y20 should say NOT TESTED: ENTER CANDIDATE CAPACITY KPI SUMMARY.

Keep columns O and U blank. Keep anything else out of columns A:N below the log and out of column P below the summary labels in row 9. W6 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 log. The prompt builds the daily log, the period summary, and the source audit. It leaves out the candidate checker (Y2:Y20), which only checks KPIs someone else calculated.

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 your business name, location, and any customer names with generic labels such as Facility A. Keep only the daily totals listed below. Then delete this line.]

Build a single-sheet capacity KPI workbook named Cap_Util that works identically in Google Sheets and Excel for the web. Use classic formulas only (SUMIFS, COUNTIF, SUMPRODUCT, ISFORMULA, EXACT, ROUND, TEXT, IF). Do not use XLOOKUP, FILTER, AVERAGEIF, LET, LAMBDA, or dynamic array formulas.

My inputs:
- Two months to compare, typed as text in YYYY-MM form (never dates or formulas): [TARGET MONTH, COMPARISON MONTH]
- Daily log, one row per operating day for one facility (log_id, op_date, period_month as text, nominal_units, open_units, open_hours, occ_unit_hours, bookings, revenue_usd):
[PASTE YOUR DAILY LOG OR ATTACH CSV HERE]

Required structure and guardrails:
1. Log block: validate each row (OK vs CHECK ROW): open_units <= nominal_units, 0 < open_hours <= 24, 0 <= occ_unit_hours <= open_units * open_hours, whole bookings >= 0, bookings > 0 whenever occupied hours > 0, revenue >= 0, no revenue on a day with 0 occupied hours, and period_month equal to TEXT(op_date, "yyyy-mm"). Flag duplicate log IDs and duplicate dates. Compute available unit-hours = open_units * open_hours, daily occupancy, and daily RevPAH.
2. Summary block: for each month and for the change between them, compute operating days, revenue, available unit-hours, occupied unit-hours, occupancy, revenue per occupied hour, RevPAH, and RevPAS per open space-day. Add up each month first and divide once. Never average daily ratios. Keep three cases distinct: for a month with no rows, show operating days as 0 (a real count) and every total, ratio, and change as NO DATA (undefined, not zero); a real day with 0 bookings and 0 revenue is valid data that counts toward its month's totals.
3. Audit block: stop with a readable STOP message if any row fails, any helper cell is not a live formula (check each cell individually with ISFORMULA, never a range), any ID or date repeats, any cell sits below the log, the month selectors are not literal YYYY-MM text, or either month has no rows. Check RevPAH = occupancy * revenue per occupied hour to the cent, and output RECONCILED or STOP.

Output:
- Generate a downloadable .xlsx file (or give exact cell-by-cell formulas if file export isn't available).
- Before handing it back, list each month's occupancy, revenue per occupied hour, and RevPAH, and confirm the identity gap is 0.00.

Treat the AI’s output as a starting draft, not a finished workbook. Once you open the file, run three of the tests from Step 3: clear one helper cell, repeat one date, and type a month with no rows. Confirm each one stops the audit before you restore the log and rely on the numbers.

Three Quick Questions

Should I track RevPAS or RevPAH?

Use RevPAH whenever your open hours vary by day or you sell time by the hour. Use RevPAS per open space-day when every open day runs the same schedule, such as a 24-hour facility. In that case, the two move together, and RevPAS is easier to explain.

Should closed units stay in the denominator?

For operating performance, many operators divide by open units, so the KPI measures how well they sold the capacity that was actually available. Track total units alongside, as column D does, so the maintenance downtime stays visible. If you report the other way, label it clearly.

Why can’t I multiply occupancy by the average ticket?

Average ticket is revenue per booking, and a booking usually covers more than one hour. In February, bookings averaged 2.10 hours, so occupancy × average ticket gave 2.10 times the correct RevPAH: $53.55 instead of $25.50. Only occupancy × revenue per occupied hour equals revenue ÷ available unit-hours.

What to Do Next

Pull two recent months of daily totals from your booking or point-of-sale system and load them into the log. Before you report revenue growth, check RevPAH and its two pieces. If revenue rose while RevPAH fell, find out whether occupancy, revenue per occupied hour, or both moved. If you still need a reliable way to capture occupied hours, How to Measure Parking Facility Occupancy compares the common methods. To decide which KPIs belong on your dashboard at all, see How Many KPIs Should a Small Business Track?

Copy-Paste Formula Reference

Paste these 64 portable formulas into the Cap_Util worksheet after importing the three CSVs into A1, P1, and V1, 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 SUMIFS, COUNTIF, SUMPRODUCT, EXACT, ROUND, TEXT, and ISFORMULA. Each ISFORMULA check points at a single cell, because Google Sheets checks only the first cell when you give it a range.

Block 1: Log helpers (enter in row 2, fill down through row 11)

J2, row check:

=IF(OR(COUNTA(A2:I2)<9, NOT(ISTEXT(A2)), NOT(ISNUMBER(B2)), NOT(ISTEXT(C2)), NOT(ISNUMBER(D2)), NOT(ISNUMBER(E2)), NOT(ISNUMBER(F2)), NOT(ISNUMBER(G2)), NOT(ISNUMBER(H2)), NOT(ISNUMBER(I2))), "CHECK ROW", IF(OR(TRIM(SUBSTITUTE(A2, CHAR(160), " "))="", TRIM(SUBSTITUTE(C2, CHAR(160), " "))="", NOT(EXACT(A2, UPPER(TRIM(SUBSTITUTE(A2, CHAR(160), " "))))), NOT(EXACT(C2, TRIM(SUBSTITUTE(C2, CHAR(160), " ")))), NOT(ISERROR(FIND(" ", A2&C2))), NOT(ISERROR(FIND(CHAR(10), A2&C2))), NOT(ISERROR(FIND(CHAR(13), A2&C2))), NOT(ISERROR(FIND("*", A2&C2))), NOT(ISERROR(FIND("?", A2&C2))), NOT(ISERROR(FIND("~", A2&C2))), LEN(A2)<6, LEN(A2)>8, NOT(EXACT(LEFT(A2, 4), "LOG-")), NOT(ISNUMBER(FIND(MID(A2, 5, 1), "0123456789"))), NOT(ISNUMBER(FIND(MID(A2, 6, 1), "0123456789"))), IF(LEN(A2)>=7, NOT(ISNUMBER(FIND(MID(A2, 7, 1), "0123456789"))), FALSE), IF(LEN(A2)=8, NOT(ISNUMBER(FIND(MID(A2, 8, 1), "0123456789"))), FALSE), INT(B2)<>B2, B2<DATE(2000,1,1), B2>DATE(2100,1,1), NOT(EXACT(C2, TEXT(B2, "yyyy-mm"))), INT(D2)<>D2, D2<=0, INT(E2)<>E2, E2<=0, E2>D2, F2<=0, F2>24, ROUND(F2, 2)<>F2, G2<0, ROUND(G2, 2)<>G2, G2>ROUND(E2*F2, 2), INT(H2)<>H2, H2<0, IF(G2>0, H2<=0, H2<>0), I2<0, ROUND(I2, 2)<>I2, AND(G2=0, I2>0)), "CHECK ROW", "OK"))

K2, ID and date frequency:

=IF(OR(NOT(ISFORMULA(J2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$11)-1, NOT(ISFORMULA(K3)), FALSE), NOT(EXACT(J2, "OK")), COUNTIF($J$2:$J$11, "OK")<ROWS($A$2:$A$11)), "", SUMPRODUCT(--(UPPER($A$2:$A$11)=UPPER(A2)))+SUMPRODUCT(--($B$2:$B$11=B2))-1)

L2, available unit-hours:

=IF(OR(NOT(ISFORMULA(J2)), NOT(ISFORMULA(K2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$11)-1, NOT(ISFORMULA(L3)), FALSE), NOT(EXACT(J2, "OK"))), "", ROUND(E2*F2, 2))

M2, daily occupancy:

=IF(OR(NOT(ISFORMULA(J2)), NOT(ISFORMULA(K2)), NOT(ISFORMULA(L2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$11)-1, NOT(ISFORMULA(M3)), FALSE), NOT(EXACT(J2, "OK")), NOT(ISNUMBER(L2))), "", IF(L2<=0, "", ROUND(G2/L2, 4)))

N2, daily RevPAH:

=IF(OR(NOT(ISFORMULA(J2)), NOT(ISFORMULA(K2)), NOT(ISFORMULA(L2)), NOT(ISFORMULA(M2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$11)-1, NOT(ISFORMULA(N3)), FALSE), NOT(EXACT(J2, "OK")), NOT(ISNUMBER(L2))), "", IF(L2<=0, "", ROUND(I2/L2, 2)))
Block 2A: Target month (column Q)

Q2, target month, operating days:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", COUNTIF($C$2:$C$11, $Q$1))

Q3, target month, total revenue:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMIFS($I$2:$I$11, $C$2:$C$11, $Q$1), 2)))

Q4, target month, available unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMIFS($L$2:$L$11, $C$2:$C$11, $Q$1), 2)))

Q5, target month, occupied unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMIFS($G$2:$G$11, $C$2:$C$11, $Q$1), 2)))

Q6, target month, occupancy:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(OR(NOT(ISNUMBER(Q4)), NOT(ISNUMBER(Q5))), "CHECK INPUTS", IF(Q4=0, 0, ROUND(Q5/Q4, 4)))))

Q7, target month, revenue per occupied hour:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(OR(NOT(ISNUMBER(Q3)), NOT(ISNUMBER(Q5))), "CHECK INPUTS", IF(Q5=0, 0, ROUND(Q3/Q5, 2)))))

Q8, target month, RevPAH:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(OR(NOT(ISNUMBER(Q3)), NOT(ISNUMBER(Q4))), "CHECK INPUTS", IF(Q4=0, 0, ROUND(Q3/Q4, 2)))))

Q9, target month, RevPAS per open space-day:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q3)), "CHECK INPUTS", IF(SUMIFS($E$2:$E$11, $C$2:$C$11, $Q$1)=0, 0, ROUND(Q3/SUMIFS($E$2:$E$11, $C$2:$C$11, $Q$1), 2)))))
Block 2B: Comparison month (column R)

R2, comparison month, operating days:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", COUNTIF($C$2:$C$11, $R$1))

R3, comparison month, total revenue:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(R2=0, "NO DATA", ROUND(SUMIFS($I$2:$I$11, $C$2:$C$11, $R$1), 2)))

R4, comparison month, available unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(R2=0, "NO DATA", ROUND(SUMIFS($L$2:$L$11, $C$2:$C$11, $R$1), 2)))

R5, comparison month, occupied unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(R2=0, "NO DATA", ROUND(SUMIFS($G$2:$G$11, $C$2:$C$11, $R$1), 2)))

R6, comparison month, occupancy:

=IF(NOT(ISNUMBER(R2)), "CHECK INPUTS", IF(R2=0, "NO DATA", IF(OR(NOT(ISNUMBER(R4)), NOT(ISNUMBER(R5))), "CHECK INPUTS", IF(R4=0, 0, ROUND(R5/R4, 4)))))

R7, comparison month, revenue per occupied hour:

=IF(NOT(ISNUMBER(R2)), "CHECK INPUTS", IF(R2=0, "NO DATA", IF(OR(NOT(ISNUMBER(R3)), NOT(ISNUMBER(R5))), "CHECK INPUTS", IF(R5=0, 0, ROUND(R3/R5, 2)))))

R8, comparison month, RevPAH:

=IF(NOT(ISNUMBER(R2)), "CHECK INPUTS", IF(R2=0, "NO DATA", IF(OR(NOT(ISNUMBER(R3)), NOT(ISNUMBER(R4))), "CHECK INPUTS", IF(R4=0, 0, ROUND(R3/R4, 2)))))

R9, comparison month, RevPAS per open space-day:

=IF(OR($W$4>0, $W$5>0, $W$6>0, NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(R2=0, "NO DATA", IF(NOT(ISNUMBER(R3)), "CHECK INPUTS", IF(SUMIFS($E$2:$E$11, $C$2:$C$11, $R$1)=0, 0, ROUND(R3/SUMIFS($E$2:$E$11, $C$2:$C$11, $R$1), 2)))))
Block 2C: Change (column S)

S2, change, operating days:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", R2-Q2))

S3, change, total revenue:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q3)), NOT(ISNUMBER(R3))), "CHECK INPUTS", ROUND(R3-Q3, 2))))

S4, change, available unit-hours:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q4)), NOT(ISNUMBER(R4))), "CHECK INPUTS", ROUND(R4-Q4, 2))))

S5, change, occupied unit-hours:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q5)), NOT(ISNUMBER(R5))), "CHECK INPUTS", ROUND(R5-Q5, 2))))

S6, change, occupancy:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q6)), NOT(ISNUMBER(R6))), "CHECK INPUTS", ROUND(R6-Q6, 4))))

S7, change, revenue per occupied hour:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q7)), NOT(ISNUMBER(R7))), "CHECK INPUTS", ROUND(R7-Q7, 2))))

S8, change, RevPAH:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q8)), NOT(ISNUMBER(R8))), "CHECK INPUTS", ROUND(R8-Q8, 2))))

S9, change, RevPAS per open space-day:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(OR(NOT(ISNUMBER(Q9)), NOT(ISNUMBER(R9))), "CHECK INPUTS", ROUND(R9-Q9, 2))))
Block 2D: All rows (column T)

T2, all rows, operating days:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", ROWS($A$2:$A$11))

T3, all rows, total revenue:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", ROUND(SUM($I$2:$I$11), 2))

T4, all rows, available unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", ROUND(SUM($L$2:$L$11), 2))

T5, all rows, occupied unit-hours:

=IF(OR($W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", ROUND(SUM($G$2:$G$11), 2))

T6, all rows, occupancy:

=IF(OR(NOT(ISNUMBER(T4)), NOT(ISNUMBER(T5))), "CHECK INPUTS", IF(T4=0, 0, ROUND(T5/T4, 4)))

T7, all rows, revenue per occupied hour:

=IF(OR(NOT(ISNUMBER(T3)), NOT(ISNUMBER(T5))), "CHECK INPUTS", IF(T5=0, 0, ROUND(T3/T5, 2)))

T8, all rows, RevPAH:

=IF(OR(NOT(ISNUMBER(T3)), NOT(ISNUMBER(T4))), "CHECK INPUTS", IF(T4=0, 0, ROUND(T3/T4, 2)))

T9, all rows, RevPAS per open space-day:

=IF(OR(NOT(ISNUMBER(T3)), $W$4>0, $W$5>0, $W$6>0), "CHECK INPUTS", IF(SUM($E$2:$E$11)=0, 0, ROUND(T3/SUM($E$2:$E$11), 2)))
Block 3A: Source audit (W4:W20; W2:W3 are typed)

W4, invalid source or label count:

=(ROWS($A$2:$A$11)-COUNTIF($J$2:$J$11, "OK"))+IF(COUNTIF($J$2:$J$11, "OK")<ROWS($A$2:$A$11), 0, IF(OR(NOT(ISFORMULA($J$2)), NOT(ISFORMULA($K$2)), NOT(ISFORMULA($L$2)), NOT(ISFORMULA($M$2)), NOT(ISFORMULA($N$2)), COUNTBLANK($A$2:$I$11)>0, COUNTIF($A$2:$A$11, "?*")<ROWS($A$2:$A$11), COUNT($B$2:$B$11)<ROWS($A$2:$A$11), COUNTIF($C$2:$C$11, "?*")<ROWS($A$2:$A$11), COUNT($D$2:$I$11)<6*ROWS($A$2:$A$11), COUNTIF($K$2:$K$11, ">=1")<ROWS($A$2:$A$11), COUNTIF($L$2:$L$11, ">0")<ROWS($A$2:$A$11), COUNTIF($M$2:$M$11, ">=0")<ROWS($A$2:$A$11), COUNTIF($M$2:$M$11, ">1")>0, COUNTIF($N$2:$N$11, ">=0")<ROWS($A$2:$A$11)), 1, IF(OR(SUMPRODUCT(--(INT($B$2:$B$11)<>$B$2:$B$11))>0, SUMPRODUCT(--($B$2:$B$11<DATE(2000,1,1)))>0, SUMPRODUCT(--($B$2:$B$11>DATE(2100,1,1)))>0, SUMPRODUCT(--(INT($D$2:$D$11)<>$D$2:$D$11))>0, SUMPRODUCT(--($D$2:$D$11<=0))>0, SUMPRODUCT(--(INT($E$2:$E$11)<>$E$2:$E$11))>0, SUMPRODUCT(--($E$2:$E$11<=0))>0, SUMPRODUCT(--($E$2:$E$11>$D$2:$D$11))>0, SUMPRODUCT(--($F$2:$F$11<=0))>0, SUMPRODUCT(--($F$2:$F$11>24))>0, SUMPRODUCT(--(ROUND($F$2:$F$11, 2)<>$F$2:$F$11))>0, SUMPRODUCT(--($G$2:$G$11<0))>0, SUMPRODUCT(--(ROUND($G$2:$G$11, 2)<>$G$2:$G$11))>0, SUMPRODUCT(--($G$2:$G$11>ROUND($E$2:$E$11*$F$2:$F$11, 2)))>0, SUMPRODUCT(--(INT($H$2:$H$11)<>$H$2:$H$11))>0, SUMPRODUCT(--($H$2:$H$11<0))>0, SUMPRODUCT(--($G$2:$G$11>0), --($H$2:$H$11<=0))>0, SUMPRODUCT(--($G$2:$G$11=0), --($H$2:$H$11<>0))>0, SUMPRODUCT(--($I$2:$I$11<0))>0, SUMPRODUCT(--(ROUND($I$2:$I$11, 2)<>$I$2:$I$11))>0, SUMPRODUCT(--($G$2:$G$11=0), --($I$2:$I$11>0))>0, SUMPRODUCT(--(ABS($L$2:$L$11-ROUND($E$2:$E$11*$F$2:$F$11, 2))>0.0001))>0, SUMPRODUCT(--(ABS($M$2:$M$11-ROUND($G$2:$G$11/$L$2:$L$11, 4))>0.00001))>0, SUMPRODUCT(--(ABS($N$2:$N$11-ROUND($I$2:$I$11/$L$2:$L$11, 2))>0.0001))>0), 1, IF(SUMPRODUCT(--($C$2:$C$11<>TEXT($B$2:$B$11, "yyyy-mm")))>0, 1, 0))))+IF(OR(ISFORMULA($W$2), NOT(ISTEXT($W$2)), ISFORMULA($W$3), NOT(ISTEXT($W$3)), ISFORMULA($Q$1), NOT(ISTEXT($Q$1)), ISFORMULA($R$1), NOT(ISTEXT($R$1))), 1, IF(OR(NOT(EXACT($W$2, $Q$1)), NOT(EXACT($W$3, $R$1)), EXACT($W$2, $W$3), LEN($W$2)<>7, NOT(OR(EXACT($W$2, "2100-01"), AND(EXACT(LEFT($W$2, 2), "20"), ISNUMBER(FIND(MID($W$2, 3, 1), "0123456789")), ISNUMBER(FIND(MID($W$2, 4, 1), "0123456789")), EXACT(MID($W$2, 5, 1), "-"), ISNUMBER(FIND("|"&MID($W$2, 6, 2)&"|", "|01|02|03|04|05|06|07|08|09|10|11|12|"))))), LEN($W$3)<>7, NOT(OR(EXACT($W$3, "2100-01"), AND(EXACT(LEFT($W$3, 2), "20"), ISNUMBER(FIND(MID($W$3, 3, 1), "0123456789")), ISNUMBER(FIND(MID($W$3, 4, 1), "0123456789")), EXACT(MID($W$3, 5, 1), "-"), ISNUMBER(FIND("|"&MID($W$3, 6, 2)&"|", "|01|02|03|04|05|06|07|08|09|10|11|12|")))))), 1, 0))+IF(IF(AND(ISTEXT(P2), ISTEXT(P3), ISTEXT(P4), ISTEXT(P5), ISTEXT(P6), ISTEXT(P7), ISTEXT(P8), ISTEXT(P9)), AND(EXACT(P2, "Operating_Days"), EXACT(P3, "Total_Revenue_USD"), EXACT(P4, "Avail_Unit_Hours"), EXACT(P5, "Occ_Unit_Hours"), EXACT(P6, "Weighted_Occ_Pct"), EXACT(P7, "Rate_Per_Occ_Hour_USD"), EXACT(P8, "RevPAH_USD"), EXACT(P9, "RevPAS_Per_Open_Day_USD")), FALSE), 0, 1)

W5, duplicate ID or date rows:

=IF(W4>0, 0, COUNTIF($K$2:$K$11, ">1"))

W6, trailing rows below the tables:

=COUNTA($A:$N)-COUNTA($A$1:$N$11)+COUNTA($P:$P)-COUNTA($P$1:$P$9)

W7, target operating days:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", Q2)

W8, target revenue:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q3)), "CHECK INPUTS", Q3)))

W9, target available unit-hours:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q4)), "CHECK INPUTS", Q4)))

W10, target total-unit hours (for mistake 2):

=IF(OR(W4>0, W5>0, W6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMPRODUCT(--($C$2:$C$11=$W$2), $D$2:$D$11, $F$2:$F$11), 2)))

W11, target 24-hour unit-hours (for mistake 5):

=IF(OR(W4>0, W5>0, W6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMPRODUCT(--($C$2:$C$11=$W$2), $E$2:$E$11)*24, 2)))

W12, target occupied unit-hours:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q5)), "CHECK INPUTS", Q5)))

W13, target occupancy:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q6)), "CHECK INPUTS", Q6)))

W14, target revenue per occupied hour:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q7)), "CHECK INPUTS", Q7)))

W15, target RevPAH:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q8)), "CHECK INPUTS", Q8)))

W16, RevPAH identity gap:

=IF(NOT(ISNUMBER(Q2)), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(OR(NOT(ISNUMBER(Q3)), NOT(ISNUMBER(Q4)), NOT(ISNUMBER(Q5)), NOT(ISNUMBER(Q8))), "CHECK INPUTS", IF(OR(Q4=0, Q5=0), IF(Q8=0, 0, Q8), ROUND(Q8-ROUND((Q5/Q4)*(Q3/Q5), 2), 2)))))

W17, target average ticket (for mistake 3):

=IF(OR(W4>0, W5>0, W6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", IF(NOT(ISNUMBER(Q3)), "CHECK INPUTS", IF(SUMIFS($H$2:$H$11, $C$2:$C$11, $W$2)=0, 0, ROUND(Q3/SUMIFS($H$2:$H$11, $C$2:$C$11, $W$2), 2)))))

W18, target unweighted daily RevPAH (for mistake 1):

=IF(OR(W4>0, W5>0, W6>0, NOT(ISNUMBER(Q2))), "CHECK INPUTS", IF(Q2=0, "NO DATA", ROUND(SUMIFS($N$2:$N$11, $C$2:$C$11, $W$2)/Q2, 2)))

W19, period RevPAH change:

=IF(OR(NOT(ISNUMBER(Q2)), NOT(ISNUMBER(R2))), "CHECK INPUTS", IF(OR(Q2=0, R2=0), "NO DATA", IF(NOT(ISNUMBER(S8)), "CHECK INPUTS", S8)))

W20, source audit verdict:

=IF(OR(ISFORMULA($W$2), NOT(ISTEXT($W$2)), ISFORMULA($W$3), NOT(ISTEXT($W$3)), ISFORMULA($Q$1), NOT(ISTEXT($Q$1)), ISFORMULA($R$1), NOT(ISTEXT($R$1))), "STOP: ENTER STATIC PERIOD LABELS IN W2/W3 AND Q1/R1", IF(OR(NOT(EXACT($W$2, $Q$1)), NOT(EXACT($W$3, $R$1)), EXACT($W$2, $W$3), LEN($W$2)<>7, NOT(OR(EXACT($W$2, "2100-01"), AND(EXACT(LEFT($W$2, 2), "20"), ISNUMBER(FIND(MID($W$2, 3, 1), "0123456789")), ISNUMBER(FIND(MID($W$2, 4, 1), "0123456789")), EXACT(MID($W$2, 5, 1), "-"), ISNUMBER(FIND("|"&MID($W$2, 6, 2)&"|", "|01|02|03|04|05|06|07|08|09|10|11|12|"))))), LEN($W$3)<>7, NOT(OR(EXACT($W$3, "2100-01"), AND(EXACT(LEFT($W$3, 2), "20"), ISNUMBER(FIND(MID($W$3, 3, 1), "0123456789")), ISNUMBER(FIND(MID($W$3, 4, 1), "0123456789")), EXACT(MID($W$3, 5, 1), "-"), ISNUMBER(FIND("|"&MID($W$3, 6, 2)&"|", "|01|02|03|04|05|06|07|08|09|10|11|12|")))))), "STOP: W2/W3 MUST MATCH DISTINCT LITERAL YYYY-MM HEADERS IN Q1/R1", IF(OR(COUNTIF($J$2:$J$11, "CHECK ROW")>0, COUNTBLANK($A$2:$I$11)>0, COUNTIF($A$2:$A$11, "?*")<ROWS($A$2:$A$11), COUNT($B$2:$B$11)<ROWS($A$2:$A$11), COUNTIF($C$2:$C$11, "?*")<ROWS($A$2:$A$11), COUNT($D$2:$I$11)<6*ROWS($A$2:$A$11)), "STOP: INVALID OR BLANK CAPACITY LOG ROWS", IF(OR(NOT(ISFORMULA($J$2)), NOT(ISFORMULA($K$2)), NOT(ISFORMULA($L$2)), NOT(ISFORMULA($M$2)), NOT(ISFORMULA($N$2)), COUNTIF($J$2:$J$11, "OK")<ROWS($A$2:$A$11), COUNTIF($K$2:$K$11, ">=1")<ROWS($A$2:$A$11), COUNTIF($L$2:$L$11, ">0")<ROWS($A$2:$A$11), COUNTIF($M$2:$M$11, ">=0")<ROWS($A$2:$A$11), COUNTIF($M$2:$M$11, ">1")>0, COUNTIF($N$2:$N$11, ">=0")<ROWS($A$2:$A$11)), "STOP: INCOMPLETE OR CORRUPTED HELPER FORMULAS IN J:N", IF(OR(SUMPRODUCT(--(INT($B$2:$B$11)<>$B$2:$B$11))>0, SUMPRODUCT(--($B$2:$B$11<DATE(2000,1,1)))>0, SUMPRODUCT(--($B$2:$B$11>DATE(2100,1,1)))>0, SUMPRODUCT(--(INT($D$2:$D$11)<>$D$2:$D$11))>0, SUMPRODUCT(--($D$2:$D$11<=0))>0, SUMPRODUCT(--(INT($E$2:$E$11)<>$E$2:$E$11))>0, SUMPRODUCT(--($E$2:$E$11<=0))>0, SUMPRODUCT(--($E$2:$E$11>$D$2:$D$11))>0, SUMPRODUCT(--($F$2:$F$11<=0))>0, SUMPRODUCT(--($F$2:$F$11>24))>0, SUMPRODUCT(--(ROUND($F$2:$F$11, 2)<>$F$2:$F$11))>0, SUMPRODUCT(--($G$2:$G$11<0))>0, SUMPRODUCT(--(ROUND($G$2:$G$11, 2)<>$G$2:$G$11))>0, SUMPRODUCT(--($G$2:$G$11>ROUND($E$2:$E$11*$F$2:$F$11, 2)))>0, SUMPRODUCT(--(INT($H$2:$H$11)<>$H$2:$H$11))>0, SUMPRODUCT(--($H$2:$H$11<0))>0, SUMPRODUCT(--($G$2:$G$11>0), --($H$2:$H$11<=0))>0, SUMPRODUCT(--($G$2:$G$11=0), --($H$2:$H$11<>0))>0, SUMPRODUCT(--($I$2:$I$11<0))>0, SUMPRODUCT(--(ROUND($I$2:$I$11, 2)<>$I$2:$I$11))>0, SUMPRODUCT(--($G$2:$G$11=0), --($I$2:$I$11>0))>0), "STOP: INVALID OR BLANK CAPACITY LOG ROWS", IF(SUMPRODUCT(--($C$2:$C$11<>TEXT($B$2:$B$11, "yyyy-mm")))>0, "STOP: INVALID OR BLANK CAPACITY LOG ROWS", IF(OR(SUMPRODUCT(--(ABS($L$2:$L$11-ROUND($E$2:$E$11*$F$2:$F$11, 2))>0.0001))>0, SUMPRODUCT(--(ABS($M$2:$M$11-ROUND($G$2:$G$11/$L$2:$L$11, 4))>0.00001))>0, SUMPRODUCT(--(ABS($N$2:$N$11-ROUND($I$2:$I$11/$L$2:$L$11, 2))>0.0001))>0), "STOP: INCOMPLETE OR CORRUPTED HELPER FORMULAS IN J:N", IF(W4>0, "STOP: CHECK KPI LABELS AND ORDER IN P2:P9", IF(W5>0, "STOP: DUPLICATE LOG IDS OR OPERATING DATES IN CAPACITY REGISTER", IF(W6>0, "STOP: TRAILING ROWS BELOW CAPACITY LOG OR SUMMARY TABLE (RESIZE RANGES)", IF(OR(NOT(ISNUMBER(W7)), W7=0), "STOP: NO OPERATING ROWS FOUND FOR TARGET PERIOD " & $W$2, IF(OR(NOT(ISNUMBER(R2)), R2=0), "STOP: NO OPERATING ROWS FOUND FOR COMPARISON PERIOD " & $W$3, IF(OR(NOT(ISNUMBER(W16)), W16<>0, NOT(ISNUMBER(W19))), "STOP: REVPAH IDENTITY CHECK FAILED", "RECONCILED: " & $W$2 & " CAPACITY KPI TIE-OUT ($" & TEXT(W8, "0.00") & " REV; " & TEXT(W9, "0.00") & " AVAIL HRS; " & TEXT(ROUND(W13*100, 2), "0.00") & "% OCC; $" & TEXT(W14, "0.00") & "/OCC HR; $" & TEXT(W15, "0.00") & " REVPAH; VS " & $W$3 & " " & IF(W19<0, "-$", IF(W19>0, "+$", "$")) & TEXT(ABS(W19), "0.00") & "/HR; $0.00 IDENTITY GAP)")))))))))))))
Block 3B: Candidate audit (Y11:Y20; Y2:Y10 are typed)

Y11, candidate input status:

=IF(EXACT(LEFT(W20, 29), "STOP: NO OPERATING ROWS FOUND"), "NO DATA", IF(OR(LEFT(W20, 5)="STOP:", ISFORMULA(Y2), ISFORMULA(Y3), ISFORMULA(Y4), ISFORMULA(Y5), ISFORMULA(Y6), ISFORMULA(Y7), ISFORMULA(Y8), ISFORMULA(Y9), ISFORMULA(Y10), NOT(ISNUMBER(Y9)), NOT(ISNUMBER(Y10))), "CHECK INPUTS", IF(OR(INT(Y9)<>Y9, Y9<>0, INT(Y10)<>Y10, Y10<>0), "CHECK INPUTS", IF(IF(AND(ISTEXT(Y2), ISTEXT(Y3), ISTEXT(Y4), ISTEXT(Y5), ISTEXT(Y6), ISTEXT(Y7), ISTEXT(Y8)), AND(EXACT(Y2, "NOT TESTED"), EXACT(Y3, "NOT TESTED"), EXACT(Y4, "NOT TESTED"), EXACT(Y5, "NOT TESTED"), EXACT(Y6, "NOT TESTED"), EXACT(Y7, "NOT TESTED"), EXACT(Y8, "NOT TESTED")), FALSE), "NOT TESTED", IF(OR(NOT(ISTEXT(Y2)), NOT(ISNUMBER(Y3)), NOT(ISNUMBER(Y4)), NOT(ISNUMBER(Y5)), NOT(ISNUMBER(Y6)), NOT(ISNUMBER(Y7)), NOT(ISNUMBER(Y8))), "CHECK INPUTS", IF(OR(Y3<0, ROUND(Y3, 2)<>Y3, Y4<=0, ROUND(Y4, 2)<>Y4, Y5<0, ROUND(Y5, 2)<>Y5, Y6<0, Y6>1, ROUND(Y6, 4)<>Y6, Y7<0, ROUND(Y7, 2)<>Y7, Y8<0, ROUND(Y8, 2)<>Y8), "CHECK INPUTS", "VALID"))))))

Y12, candidate RevPAH gap:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND(Y8-W15, 2))))

Y13, candidate occupancy gap in points:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND((Y6-W13)*100, 2))))

Y14, candidate denominator difference:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND(Y4-W9, 2))))

Y15, candidate rate gap:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND(Y7-W14, 2))))

Y16, candidate revenue gap:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND(Y3-W8, 2))))

Y17, candidate identity gap:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", ROUND(Y8-(Y6*Y7), 2))))

Y18, candidate fields that differ from the correct KPIs:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", IF(Y16<>0, 1, 0)+IF(Y14<>0, 1, 0)+IF(ROUND(Y5-W12, 2)<>0, 1, 0)+IF(ROUND(Y6-W13, 4)<>0, 1, 0)+IF(Y15<>0, 1, 0)+IF(Y12<>0, 1, 0))))

Y19, candidate fields that differ from the named replay:

=IF(EXACT(Y11, "NO DATA"), "NO DATA", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED", IF(NOT(EXACT(Y11, "VALID")), "CHECK INPUTS", IF(EXACT(Y2, "CLEAN_WEIGHTED_REVPAH"), Y18, IF(EXACT(Y2, "UNWEIGHTED_DAILY_AVERAGE"), IF(Y16<>0, 1, 0)+IF(Y14<>0, 1, 0)+IF(ROUND(Y5-W12, 2)<>0, 1, 0)+IF(ROUND(Y6-IF(W7=0, 0, ROUND(SUMIFS($M$2:$M$11, $C$2:$C$11, $W$2)/W7, 4)), 4)<>0, 1, 0)+IF(Y15<>0, 1, 0)+IF(ROUND(Y8-W18, 2)<>0, 1, 0), IF(EXACT(Y2, "NOMINAL_CAPACITY_DENOMINATOR"), IF(Y16<>0, 1, 0)+IF(ROUND(Y4-W10, 2)<>0, 1, 0)+IF(ROUND(Y5-W12, 2)<>0, 1, 0)+IF(ROUND(Y6-IF(W10=0, 0, ROUND(W12/W10, 4)), 4)<>0, 1, 0)+IF(Y15<>0, 1, 0)+IF(ROUND(Y8-IF(W10=0, 0, ROUND(W8/W10, 2)), 2)<>0, 1, 0), IF(EXACT(Y2, "OCCUPANCY_X_AVG_TICKET"), IF(Y16<>0, 1, 0)+IF(Y14<>0, 1, 0)+IF(ROUND(Y5-W12, 2)<>0, 1, 0)+IF(ROUND(Y6-W13, 4)<>0, 1, 0)+IF(ROUND(Y7-W17, 2)<>0, 1, 0)+IF(ROUND(Y8-ROUND(W13*W17, 2), 2)<>0, 1, 0), IF(EXACT(Y2, "UNFILTERED_COMBINED_PERIOD"), IF(ROUND(Y3-T3, 2)<>0, 1, 0)+IF(ROUND(Y4-T4, 2)<>0, 1, 0)+IF(ROUND(Y5-T5, 2)<>0, 1, 0)+IF(ROUND(Y6-T6, 4)<>0, 1, 0)+IF(ROUND(Y7-T7, 2)<>0, 1, 0)+IF(ROUND(Y8-T8, 2)<>0, 1, 0), IF(EXACT(Y2, "CALENDAR_24H_DENOMINATOR"), IF(Y16<>0, 1, 0)+IF(ROUND(Y4-W11, 2)<>0, 1, 0)+IF(ROUND(Y5-W12, 2)<>0, 1, 0)+IF(ROUND(Y6-IF(W11=0, 0, ROUND(W12/W11, 4)), 4)<>0, 1, 0)+IF(Y15<>0, 1, 0)+IF(ROUND(Y8-IF(W11=0, 0, ROUND(W8/W11, 2)), 2)<>0, 1, 0), "CHECK INPUTS")))))))))

Y20, candidate audit verdict:

=IF(LEFT(W20, 5)="STOP:", W20, IF(IF(AND(NOT(ISFORMULA(Y9)), NOT(ISFORMULA(Y10)), ISNUMBER(Y9), ISNUMBER(Y10)), OR(INT(Y9)<>Y9, Y9<>0, INT(Y10)<>Y10, Y10<>0), TRUE), "STOP: INVALID CANDIDATE GUARD INPUTS", IF(EXACT(Y11, "NOT TESTED"), "NOT TESTED: ENTER CANDIDATE CAPACITY KPI SUMMARY", IF(EXACT(Y11, "CHECK INPUTS"), "STOP: INVALID OR NON-NUMERIC CANDIDATE CAPACITY KPI INPUTS", IF(NOT(OR(EXACT(Y2, "CLEAN_WEIGHTED_REVPAH"), EXACT(Y2, "UNWEIGHTED_DAILY_AVERAGE"), EXACT(Y2, "NOMINAL_CAPACITY_DENOMINATOR"), EXACT(Y2, "OCCUPANCY_X_AVG_TICKET"), EXACT(Y2, "UNFILTERED_COMBINED_PERIOD"), EXACT(Y2, "CALENDAR_24H_DENOMINATOR"))), "STOP: UNKNOWN CANDIDATE CAPACITY METHOD", IF(EXACT(Y2, "UNWEIGHTED_DAILY_AVERAGE"), IF(Y19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD UNWEIGHTED-AVERAGE REPLAY (" & Y19 & " OF 6 FIELDS DIFFER; REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; " & Y18 & " OF 6 FIELDS DIFFER FROM " & $W$2 & ")", IF(Y18=0, "STOP: UNWEIGHTED_DAILY_AVERAGE COINCIDES WITH WEIGHTED KPIS ON THESE INPUTS (SWITCH TO CLEAN_WEIGHTED_REVPAH)", "STOP: MATCHES UNWEIGHTED-DAILY-AVERAGE REPLAY (REVPAH " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; OCC " & IF(Y13<0, "-", IF(Y13>0, "+", "")) & TEXT(ABS(Y13), "0.00") & " PP; USE SUM/SUM NOT AVERAGE OF DAILY RATIOS)")), IF(EXACT(Y2, "NOMINAL_CAPACITY_DENOMINATOR"), IF(Y19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD NOMINAL-CAPACITY REPLAY (" & Y19 & " OF 6 FIELDS DIFFER; REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; " & Y18 & " OF 6 FIELDS DIFFER FROM " & $W$2 & ")", IF(ROUND(W10-W9, 2)=0, "STOP: NOMINAL_CAPACITY_DENOMINATOR SELECTED WITH 0 CLOSED UNITS (SWITCH TO CLEAN_WEIGHTED_REVPAH)", "STOP: MATCHES NOMINAL-CAPACITY REPLAY (REVPAH " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; OCC " & IF(Y13<0, "-", IF(Y13>0, "+", "")) & TEXT(ABS(Y13), "0.00") & " PP; DENOMINATOR " & IF(Y14<0, "-", "+") & TEXT(ABS(Y14), "0.00") & " HRS; EXCLUDE CLOSED UNITS)")), IF(EXACT(Y2, "OCCUPANCY_X_AVG_TICKET"), IF(Y19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD AVG-TICKET REPLAY (" & Y19 & " OF 6 FIELDS DIFFER; REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; " & Y18 & " OF 6 FIELDS DIFFER FROM " & $W$2 & ")", IF(Y18=0, "STOP: OCCUPANCY_X_AVG_TICKET COINCIDES WITH WEIGHTED KPIS (AVG TICKET EQUALS HOURLY RATE; SWITCH TO CLEAN_WEIGHTED_REVPAH)", "STOP: MATCHES OCCUPANCY-X-AVG-TICKET REPLAY (REVPAH " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; TICKET $" & TEXT(Y7, "0.00") & " VS $" & TEXT(W14, "0.00") & "/OCC HR; USE RATE PER OCCUPIED HOUR)")), IF(EXACT(Y2, "UNFILTERED_COMBINED_PERIOD"), IF(Y19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD COMBINED-PERIOD REPLAY (" & Y19 & " OF 6 FIELDS DIFFER; REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; " & Y18 & " OF 6 FIELDS DIFFER FROM " & $W$2 & ")", IF(Y18=0, "STOP: UNFILTERED_COMBINED_PERIOD COINCIDES WITH TARGET PERIOD (SWITCH TO CLEAN_WEIGHTED_REVPAH)", "STOP: MATCHES UNFILTERED-COMBINED-PERIOD REPLAY (REVPAH " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; REV " & IF(Y16<0, "-$", IF(Y16>0, "+$", "$")) & TEXT(ABS(Y16), "0.00") & "; FILTER TO " & $W$2 & ")")), IF(EXACT(Y2, "CALENDAR_24H_DENOMINATOR"), IF(Y19>0, "STOP: CANDIDATE DOES NOT MATCH FULL 6-FIELD 24H-CALENDAR REPLAY (" & Y19 & " OF 6 FIELDS DIFFER; REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; " & Y18 & " OF 6 FIELDS DIFFER FROM " & $W$2 & ")", IF(ROUND(W11-W9, 2)=0, "STOP: CALENDAR_24H_DENOMINATOR SELECTED WITH 24-HOUR OPERATION (SWITCH TO CLEAN_WEIGHTED_REVPAH)", "STOP: MATCHES 24H-CALENDAR-DENOMINATOR REPLAY (REVPAH " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; OCC " & IF(Y13<0, "-", IF(Y13>0, "+", "")) & TEXT(ABS(Y13), "0.00") & " PP; USE SCHEDULED OPERATING HOURS)")), IF(Y18>0, "STOP: " & Y18 & " OF 6 CANDIDATE CAPACITY KPIS DIFFER FROM " & $W$2 & " (REVPAH GAP " & IF(Y12<0, "-$", IF(Y12>0, "+$", "$")) & TEXT(ABS(Y12), "0.00") & "/HR; OCC GAP " & IF(Y13<0, "-", IF(Y13>0, "+", "")) & TEXT(ABS(Y13), "0.00") & " PP; DENOM DIFF " & IF(Y14<0, "-", IF(Y14>0, "+", "")) & TEXT(ABS(Y14), "0.00") & " HRS)", "RECONCILED: ALL 6 CAPACITY KPIS MATCH " & $W$2 & " ($" & TEXT(Y3, "0.00") & " REV; " & TEXT(Y4, "0.00") & " AVAIL HRS; " & TEXT(ROUND(Y6*100, 2), "0.00") & "% OCC; $" & TEXT(Y7, "0.00") & "/OCC HR; $" & TEXT(Y8, "0.00") & " REVPAH)")))))))))))

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.