Scuba
07-30-2024, 05:24 AM
Hello,
I have a list of vendor names that I wish to reference within a GETPIVOTDATA statment so that I can auto populate the correct value per vendor name i.e. the corresponding quantity is pulled from the pivot table that matches the same vendor name.
I tried removing the actual name and referencing the actual cell but this returns a #ref error:
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor","GIZA SPINNING WEAVING CO","Month Name","Feb","Year","2024")
changed to
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor",$B14,"Month Name","Feb","Year","2024")
also tried
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor","$B14","Month Name","Feb","Year","2024")
Both fail
The end goal here is if I add any new names to the list, they are auto populated with correct data, when I drag the formula down (after refreshing the pivot table data of course)
Any help would be greatly appreciated.
Regards
I have a list of vendor names that I wish to reference within a GETPIVOTDATA statment so that I can auto populate the correct value per vendor name i.e. the corresponding quantity is pulled from the pivot table that matches the same vendor name.
I tried removing the actual name and referencing the actual cell but this returns a #ref error:
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor","GIZA SPINNING WEAVING CO","Month Name","Feb","Year","2024")
changed to
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor",$B14,"Month Name","Feb","Year","2024")
also tried
=GETPIVOTDATA("Qty Shipped",PIVOT!$B$5,"Vendor","$B14","Month Name","Feb","Year","2024")
Both fail
The end goal here is if I add any new names to the list, they are auto populated with correct data, when I drag the formula down (after refreshing the pivot table data of course)
Any help would be greatly appreciated.
Regards