Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Pivot Table Glitch?
I have a very simple pivot table:
Name | Sales | Cost I'm using the GETPIVOTDATA function to grab data from it. =GETPIVOTDATA("Sales", $A$3, "Name", "Adam") So far so good. Then, in order to make this formula draggable, I replace the name of the salesperson with a cell reference. =GETPIVOTDATA("Sales", $A$3, "Name", C14) Still works. However, I want to take it one more level and replace the field name that's outputted ("Sales") with another cell reference. I try it and it returns a #REF message: =GETPIVOTDATA(D13, $A$3, "Name", C14) This isn't a formatting issue either, because cell D13 is spelled and formatted exactly the same in the pivot as it is outside the pivot. Also, running an IF= statement turns up true, further proving this. Is this an Excel glitch? I'm quite baffled... |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Pivot Table Glitch?
Try this
=GETPIVOTDATA(D13&"",$A$3,"Name",C14) (i don't know why either). Maybe some god will let us know. -- Allllen " wrote: I have a very simple pivot table: Name | Sales | Cost I'm using the GETPIVOTDATA function to grab data from it. =GETPIVOTDATA("Sales", $A$3, "Name", "Adam") So far so good. Then, in order to make this formula draggable, I replace the name of the salesperson with a cell reference. =GETPIVOTDATA("Sales", $A$3, "Name", C14) Still works. However, I want to take it one more level and replace the field name that's outputted ("Sales") with another cell reference. I try it and it returns a #REF message: =GETPIVOTDATA(D13, $A$3, "Name", C14) This isn't a formatting issue either, because cell D13 is spelled and formatted exactly the same in the pivot as it is outside the pivot. Also, running an IF= statement turns up true, further proving this. Is this an Excel glitch? I'm quite baffled... |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Pivot Table Glitch?
Hi Allllen
Thanks so much, works like a charm! Adam Allllen wrote: Try this =GETPIVOTDATA(D13&"",$A$3,"Name",C14) (i don't know why either). Maybe some god will let us know. -- Allllen " wrote: I have a very simple pivot table: Name | Sales | Cost I'm using the GETPIVOTDATA function to grab data from it. =GETPIVOTDATA("Sales", $A$3, "Name", "Adam") So far so good. Then, in order to make this formula draggable, I replace the name of the salesperson with a cell reference. =GETPIVOTDATA("Sales", $A$3, "Name", C14) Still works. However, I want to take it one more level and replace the field name that's outputted ("Sales") with another cell reference. I try it and it returns a #REF message: =GETPIVOTDATA(D13, $A$3, "Name", C14) This isn't a formatting issue either, because cell D13 is spelled and formatted exactly the same in the pivot as it is outside the pivot. Also, running an IF= statement turns up true, further proving this. Is this an Excel glitch? I'm quite baffled... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert a row after a pivot table | Excel Discussion (Misc queries) | |||
Derived Columns in Pivot Table | Excel Discussion (Misc queries) | |||
Using a Pivot Table Calculated Field to get a Unique Count | Excel Worksheet Functions | |||
Pivot -- want to use Max and Sum in same table | Excel Worksheet Functions | |||
how to delete/clean out the row list in pivot table | Excel Worksheet Functions |