Excel won't allow more nesting issue!!!

swagyolo

New Member
Joined
Jun 17, 2015
Messages
16
My formula is: =G4+IF(K3=1,GETPIVOTDATA("Sum of 1EL",$A$10),IF(K3=2,GETPIVOTDATA("Sum of 2EL",$A$10), IF(K3=3,GETPIVOTDATA("Sum of 3EL",$A$10), IF(K3=4,GETPIVOTDATA("Sum of 4EL",$A$10), IF(K3=5,GETPIVOTDATA("Sum of 5EL",$A$10), IF(K3=6,GETPIVOTDATA("Sum of 6EL",$A$10), IF(K3=7,GETPIVOTDATA("Sum of 7EL",$A$10), IF(K3=8,GETPIVOTDATA("Sum of 8EL",$A$10), IF(K3=9,GETPIVOTDATA("Sum of 9EL",$A$10))))

Everytime I try and use this, it says that I am unable to use it in my current version of excel. I tried switching to an XML, but I wasn't allowed to do that either.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I've never used that function, but does this work for you?

=G4+GETPIVOTDATA("Sum of "&K3&"EL",$A$10)

I'm not sure, you might need INDIRECT with that:

=G4+GETPIVOTDATA(INDIRECT("Sum of "&K3&"EL"),$A$10)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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