Sep 26 2023 01:58 AM
I am working with a file in TEAMS; however, I am opening the file with the excel app.
I need to do some simple calculations outside a Pivot Table.
I have already disabled the GET Pivot DATA option, but still it doesnt work.
The formula drags the same value as in the first row.
In the cells with the results, I cannot see the formula "Get Pivot", I see the correct formula, but the value is the one from the top row.
Sep 26 2023 02:30 AM
Hi @DSM_user,
To fix the issue of GETPIVOTDATA disabled but not working, you can try the following solutions:
Solution 1: Check the file format
Solution 2: Check if the PivotTable is based on the Workbook Data Model
If the PivotTable is based on the Workbook Data Model, you cannot use the GETPIVOTDATA function to retrieve data from it.
Solution 3: Use the VLOOKUP function
If you cannot use the GETPIVOTDATA function, you can use the VLOOKUP function to look up values in a PivotTable and return the corresponding value from another column.
To use the VLOOKUP function to look up a value in a PivotTable, you will need to know the following information:
Once you have this information, you can use the following formula:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Where:
For example, the following formula would look up the value "Sales" in the PivotTable in A1:B10 and return the corresponding value from column B:
=VLOOKUP("Sales", A1:B10, 2, FALSE)
This formula would return the value 1000, which is the sales value for the month of "Sales".
You can also use the VLOOKUP function to look up multiple values in a PivotTable. To do this, you would use the following formula:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup], [return_array])
Where:
For example, the following formula would look up the values "Sales" and "Marketing" in the PivotTable in A1:B10 and return the corresponding values from column B:
=VLOOKUP({"Sales", "Marketing"}, A1:B10, 2, FALSE, {"Sales", "Marketing"})
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic (LinkedIn)
Sep 26 2023 02:50 AM
Thanks for the reply. sorry maybe I wasnt clear.,
Solution 1) and 2) does not work. The file is already in xlsx format and the workbook is not based on data model.
I am trying to effectively disable the function.
In image one you can see that the formula is not dragging, only the values.
But if you see in the formula, is not using the get pivot, the formula is correct but the values are not showing correctly (normally you should see the "get pivot" if the function is enabled.
I already disabled the function both from Pivot Table Analyze -> Pivot Table -> Options
And from File -> Options -> Formulas
But excel keeps behaving as if it were enabled.
Sep 26 2023 03:25 AM
Excel for web (aka in Teams) works with references even if GetPivotData function is disabled in desktop app for PivotTable references.
The only I may reproduce your case if to keep Calculation Mode manual in Teams interface.
Sep 26 2023 07:26 PM
Thanks, I solved it.
I noticed this small icon in the bottom left that says "Calculate" and if I click it, it shows the right information.
I do suspect this comes from TEAMS and not .xls. How do you keep calculation mode manual in teams interface? I know how to do it in desktop app