CUBESET/CUBEVALUE formula reference an array but ignore blanks

ex_cowboy

New Member
Joined
Feb 17, 2009
Messages
9
Hi

I have a cubeset formula which i want to reference an array however sometimes there will be only one value in the column, sometimes 2, 3.
Manchester
Liverpool

<tbody>
</tbody>

=CUBESET("PowerPivot Data",A1:A6) give an error. Need an expression which will just pick up the first 2 populated cells in this example or do something about the blanks.


Have a similar problem with CUBEVALUE where i want to reference only cells from a row where there isn't an error (or other set value)

#N/A#N/A#N/A#N/A

<tbody>
</tbody>

=CUBEVALUE("PowerPivot Data",
"[Measures].[Sum of WEIGHTED_IMPRESSIONS]",H18:H23) gives an error. Here i'd like the formula to only reference the cells where there isn't an error.

Just wondering if there is a solution to these two problems maybe using INDEX/MATCH or perhaps some workaround?

Thanks

Rab
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

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