L
Laurence Lombard
I have the following formula
=GETPIVOTDATA(Trial!$C$3,"ACC["& D46&"]")
Trial!$C$3 is a cell in a pivot table that has a list of various ACC with
amounts. In cell D46 I have the ACC number for which I want to look up the
corresponding amount. Some ACC are whole numbers 490, 499 etc and some are
decimal eg 490.1, 480.1
Now when D46 are fractions eg 490.1 it returns the correct value, but if it
is one of the whole numbers (eg 499) I get a #REF (both the whole numbers
and fractions exist in the list of ACC.
Any help would be appreciated
Thanks
Laurence
=GETPIVOTDATA(Trial!$C$3,"ACC["& D46&"]")
Trial!$C$3 is a cell in a pivot table that has a list of various ACC with
amounts. In cell D46 I have the ACC number for which I want to look up the
corresponding amount. Some ACC are whole numbers 490, 499 etc and some are
decimal eg 490.1, 480.1
Now when D46 are fractions eg 490.1 it returns the correct value, but if it
is one of the whole numbers (eg 499) I get a #REF (both the whole numbers
and fractions exist in the list of ACC.
Any help would be appreciated
Thanks
Laurence