CubeValue Formula Ignore Blanks

achavez507

New Member
Joined
Feb 7, 2020
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hello, i have successfully created two formulas to obtain the MV

First formula for Assets : =IFERROR(N(CUBEVALUE("121317",E20,F20,G20),0) The result gives me 10.
Second Formula for Liabilities: =IFERROR(N(CUBEVALUE("121317",E20,F20,G20,H20,I20,J20,K20),0) The result gives me 20.

I am having a hard time creating 1 formula for both. In cubevalue, it will try to look up H20, but its blank, which will result in error. If its blank, dont search for that h20.


Hope this helps!

A/LBusiness (E20)Product (f20)SubProducts (G20)Account H20Stable I20Core J20Size K20 MV
AssetsAOverdraftsOverdraft 10
LiabilitiesCDepositCashAccountStableCore0-25.00020
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,951
Messages
6,122,446
Members
449,083
Latest member
Ava19

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