0
0
Tableaubi_tool~10 mins

Arithmetic calculations in Tableau - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows sales and cost values for three products.

CellValue
A1Sales
B1Cost
A21000
B2400
A31500
B3700
A41200
B4500
Formula Trace
[Sales] - [Cost]
Step 1: [Sales] - [Cost] for row 2
Step 2: 1000 - 400
Step 3: [Sales] - [Cost] for row 3
Step 4: 1500 - 700
Step 5: [Sales] - [Cost] for row 4
Step 6: 1200 - 500
Cell Reference Map
     A       B
1  Sales    Cost
2  1000     400
3  1500     700
4  1200     500
The formula subtracts the Cost column (B) from the Sales column (A) for each row.
Result
     A       B       C
1  Sales    Cost   Profit
2  1000     400     600
3  1500     700     800
4  1200     500     700
The Profit column (C) shows the result of Sales minus Cost for each product.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the profit for the first product?
A400
B600
C1000
D1400
Key Result
Subtract one column from another to find the difference per row.