Table:
0
A
B
C
D
E
F
G
H
1
Candidate
Money Raised, 3Q
Loans Received, 3Q
Money Spent, 3Q
Total Receipts
Cash On Hand
Total Debt
After Debt
2
Rudy Giuliani
$11,624,255
–
$13,300,649
$47,253,520
$16,649,825
$169,256
$16,480,569
3
Mitt Romney
$9,896,719
$8,500,000
$21,301,755
$62,829,068
$9,216,517
$17,350,000
- $8,133,483
4
Fred Thompson
$9,750,820 †
–
$5,706,366
$12,828,110
$7,121,744
$678,432
$6,443,312
5
Ron Paul
$5,258,455
–
$2,169,644
$8,268,452
$5,443,667
–
$5,443,667
6
John McCain
$5,734,477
–
$5,470,277
$32,124,785
$3,488,627
$1,730,691
$1,757,936
7
Mike Huckabee
$1,034,486
–
$819,376
$2,345,797
$651,300
$47,810
$603,490
8
Duncan Hunter
$486,356
$50,000
$618,117
$1,890,873
$132,741
$50,000
$82,741
9
Tom Tancredo
$767,152
–
$1,209,583
$3,538,244
$110,079
$295,603
- $185,524
10
Sam Brownback
$925,745
–
$1,278,856
$4,235,333
$94,653
–
$94,653

Questions and formulas:
Question: How much cash was on hand after debt of $82,741?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,H1="$82,741"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,H2:H10="$82,741"),6))
Level: medium
Question: What was the amount of loans received with a total debt of $169,256?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1="$169,256"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,G2:G10="$169,256"),3))
Level: medium
Question: What was the amount of total receipts when $925,745 was raised?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,B1="$925,745"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,B2:B10="$925,745"),5))
Level: medium
Question: How much money was spent when the amount after debt was $1,757,936?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,H1="$1,757,936"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,H2:H10="$1,757,936"),4))
Level: medium
Question: How much is after debt when cash on hand is $651,300?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,F1="$651,300"),8))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,F2:F10="$651,300"),8))
Level: medium