0
0
Tableaubi_tool~10 mins

Reference bands in Tableau - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Monthly sales data for 5 months.

CellValue
A1Month
B1Sales
A2Jan
B2100
A3Feb
B3150
A4Mar
B4120
A5Apr
B5130
A6May
B6170
Formula Trace
AVG([Sales])
Step 1: SUM([Sales])
Step 2: COUNT([Sales])
Step 3: AVG([Sales]) = SUM([Sales]) / COUNT([Sales])
Cell Reference Map
    A       B
1 | Month | Sales |
2 |  Jan  | 100  |
3 |  Feb  | 150  |
4 |  Mar  | 120  |
5 |  Apr  | 130  |
6 |  May  | 170  |

References: [Sales] column (B2:B6) used to calculate average.
The formula uses the Sales values from cells B2 to B6.
Result
    A       B       C
1 | Month | Sales | Avg |
2 |  Jan  | 100   |     |
3 |  Feb  | 150   |     |
4 |  Mar  | 120   |     |
5 |  Apr  | 130   |     |
6 |  May  | 170   | 134 |

Cell C6 shows the average sales as a reference band value.
The average sales value 134 is shown as a reference band on the chart, representing the average line across months.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the total sum of sales used to calculate the average?
A5
B670
C134
D150
Key Result
Reference bands use aggregate calculations like AVG([Measure]) to draw lines or bands on charts.