PIVOT not showing correct answer

datastudent

Board Regular
Joined
Sep 7, 2021
Messages
92
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a PIVOT with inserted calculated fields. The calculation is a simple IF formula. Most of the answers are correct but there are a few that are wrong and the numbers are quite far from the correct answer. I would really appreciate it if anyone can help me figure out the problem.

The formula is Partner Cost Mobile = IF(MOBILE<0.005,0.01,MOBILE+0.01)


Template_v1.xlsm
AGAI
1 MOBILE Partner Cost Mobile (outbound to mobile)
12$ 0.1724$ 0.1824
13$ 0.0100
14$ 0.4180$ 0.8061
PIVOT
 
In a calculated field, all fields are summed before anything else is calculated, so your formula is actually:

= IF(SUM(MOBILE)<0.005,0.01,SUM(MOBILE)+0.01)

which is why you are seeing those results. If you want it at the row level, you either need to do that calculation in the source data or use Power Pivot and the data model.
 
Upvote 0

Forum statistics

Threads
1,226,908
Messages
6,193,608
Members
453,810
Latest member
Gks77117

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