Why airline vendor cost can double-count after a ticket export join
Sum each confirmed fare once when several ticket numbers share the same vendor cost. In the fictional exports below, joining cost directly to ticket rows produces USD 450. The fare register supports USD 310. Fare F1 explains the full USD 140 difference.
How to check your records
- Preserve the booking reference, fare reference, ticket number and entity scope. Ask the export owner how the records connect. If you have no confirmed fare key or crosswalk, leave the relationship open for review.
- Check the fare register for duplicate keys and conflicting amounts. Use the documented scope for the key, such as booking plus fare ID within one supplier, currency and accounting window. Keep the child ticket numbers for evidence and sum from the verified fare rows.
- Keep gross fare cost and refunds in separate columns. Attribute a refund only where the confirmed link identifies the fare. A single booking can include multiple valid fares.
Worked example with fictional records
Import each example CSV into its own spreadsheet tab. Keep the original row order and headers for the cell references below.
| Finding | Record or amount | Cells to check | What the records show |
|---|---|---|---|
| Gross vendor cost | USD 310 | Fares!A2:C4 | USD 140 + USD 90 + USD 80. |
| At ticket-row level | USD 450 | Fares!A2:C4, TicketNumbers!A2:C5 | Joining the amount to each ticket repeats USD 140 for F1. |
| Confirmed and open refunds | USD 30 linked, USD 20 open | Refunds!A2:C3 | The first has fare F2. The second supplies booking P1 only. |
What to review before acting
Within P1, dropping every row except the first fare would lose the legitimate USD 90 for F2. Review an unmatched ticket row or an unexplained fare duplicate before relying on the total. The product documentation describes ticket and fare groupings. Confirm available IDs and refund fields in your own authorized export.
Download the fictional practice files
Copy the practice data
| booking | fare | cost_usd |
|---|---|---|
| P1 | F1 | 140 |
| P1 | F2 | 90 |
| P2 | F3 | 80 |
| booking | fare | refund_usd |
|---|---|---|
| P1 | F2 | 30 |
| P1 | 20 |
| booking | fare | ticket |
|---|---|---|
| P1 | F1 | T11 |
| P1 | F1 | T12 |
| P1 | F2 | T21 |
| P2 | F3 | T31 |
Find more spreadsheet practices and workbook studies.