Forum Discussion
pauloosorio
Sep 24, 2021Copper Contributor
GETPIVOTDATA function
Hi, I am using WIndows 10 and Excel from Office 365 for small business. The function GETPIVOTDATA is returning #REF for some cells of a pivot table and returning the right value for others. ...
Juliano-Petrukio
Sep 24, 2021Bronze Contributor
I downloaded your file and it took almost 1 minute just to open it.
When verifying your data I could see that
- you are using all the rows of the tab "Dados MacWin" as range, it its unecessary and also it is terrible for perfomance sake.
- Many informations with unnecessary blank space, for instance the field SArm Descricao " POSOLIS - MALHAS ACABADAS BRAGA". It begins with 4 space characters. It happens with the others as well.
- Try to standardise you data, for instance, your formula are showing error because you are looking for the "Armazem code"=1390002, for instance that doesn't exist in your data. The Pivot Table made some magic tricks trying to standardise by its own, but if you check your data it is not there.
Try to clean-up your data by removing unnecessary spaces or special characters. You can use the TRIM() funciont for that >>=TRIM(CLEAN(SUBSTITUTE(J2,CHAR(160)," ")))
Avoid use the whole excel range as data set for your pivot table.
Use the excel feature called Table, so everytime your range increases it is updated on your pivot table.
pauloosorio
Sep 24, 2021Copper Contributor
Hi Juliano,
Thanks very much for your help. I'm going to follow your suggestions and i will give you feed back.
Thanks very much
B regards
Thanks very much for your help. I'm going to follow your suggestions and i will give you feed back.
Thanks very much
B regards
- Juliano-PetrukioSep 24, 2021Bronze ContributorYou're welcome.
Dont forget if it helped with your problem to flag it as solved and hit the like button please.- pauloosorioSep 30, 2021Copper ContributorHi Juliano,
I'm new here. I was checking around but didn“t understand were I flag it as solved. Can help?
Thanks. B regards