ABS formula not working on pivot?

helenmeyer

New Member
Joined
Mar 3, 2014
Messages
23
Hi,

I've got a spreadsheet that i've done an ABS sum on but when I copy it down it doesn't give the correct answer? Half of the spreadsheet is a pivot and the other half isn't? But when I enter the formula separately in each cell it returns the correct answer?
 

Attachments

  • Mr Excel 1.JPG
    Mr Excel 1.JPG
    61.2 KB · Views: 16

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
The last argument in your GETPIVOTDATA formula is static, so you are using the first row's value in all the other rows. Replace it with ""&$A2 and the formula should work.
 
Upvote 0
What is your GETPIVOTDATA formula now?
 
Upvote 0
I changed it to what you said and keep getting an error message
 

Attachments

  • Mr Excel 2.JPG
    Mr Excel 2.JPG
    57.9 KB · Views: 11
Upvote 0
That's not what I said. I said the last argument needs to be changed:

=ABS(F5-GETPIVOTDATA("Sum of Quantity",$A$4,"Cost Object",""&$A5))
 
Upvote 0
Not a problem. It's quite a strange function in many ways! :)
 
Upvote 0

Forum statistics

Threads
1,215,773
Messages
6,126,818
Members
449,340
Latest member
hpm23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top