Pivot Table - Calculated Item question

scott_86_

New Member
Joined
Sep 27, 2018
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi,

Using Microsoft 365.

The snip below is an example from a much larger pivot table I am currently using. I would like to create a new column called 'Outcome' based on:

=IF(AND(Height=2,Rescue=2,PFA=2),2,4)

So, for example, Frank would then be a TRUE with a result of 2. Rick would be a FALSE with a result of 4.

I think I need to use a calculated item for this; however, I'm not 100% sure and have had no luck so far. Could anyone assist in how to specifically go about creating this new column? Thanks.










1715752056827.png
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hello scott_86_, yes, you are correct. Assume Names is Column A, and Outcome is column F. Frank is in cell A5. I would do it this way... in G5, =if(b5=2,1,0) in H5, =if(c5=2,1,0) in I5, =if(d5=2,1,0) in J5, =(g5+h5+i5) in K5, =if(j5=3,true,0) back to F5, in F5, =if(k5=true,2,J5) hope this helps. cheers!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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