Hello All,
I'm trying to use the Auto-Fill handle to copy a formula down a column and it's not filling the formula down each row incrementally. Instead, it's copying the EXACT formula using row data from the original location of the formula.
In the example below, the formula I used for the first row with "Blue" (highlighted in green) says "=Amount x total" or..
Code:
=B3*GETPIVOTDATA("COLOR",$A$1,"COLOR","Blue","Amount",100)
so, the formula for the "Blue" row is correct. But when trying to use the fill handle to copy the formula to the "Dark Blue" row (highlighted in red), the formula is still basing its data on the "Blue" row and NOT the "Dark Blue" row as it should. Here's the formula it copied down to the "Dark Blue" row..
Code:
=B4*GETPIVOTDATA("COLOR",$A$1,"COLOR","Blue","Amount",100)
However, if I do the "Dark Green" row manually by putting in the formula
Code:
=B5*GETPIVOTDATA("COLOR",$A$1,"COLOR","Dark Green","Amount",100)
The formula works correctly (without using the auto-fill).
Does anyone know what's wrong here?
COLOR
Amount
Total
Blue
$100.00
1
$100.00
Dark Blue
$100.00
3
$100.00
Dark Green
$100.00
3
$300.00
Dark Red
$100.00
3
Green
$100.00
1
Light Blue
$100.00
2
Light Green
$100.00
2
Light Red
$100.00
2
Red
$100.00
1
Thanks