I have values in an Excel file like this:
QR | QR AVG | val1 |
q1 5
q1 3
q1 4
q2 7
q2
Create a pivot table at the same spreadsheet.
Select columns A, B and C (Sheet1!$A:$C
). Click "Insert", and then "Pivot Table".
Place QR
at "Row Labels" field and Val1
(as average) at the "Values" field.
Then, use in B2
:
=VLOOKUP(A2,$E$2:$F$6,2,1)
Drag the formula to all cells in column B.
It will look like this:
: