Splitting a formula

ApolloID

Well-known Member
Joined
Jun 8, 2010
Messages
769
Hi, i need this formula from A1:

=CUBEMEMBER("192.168.1.10 SeniorBI Sales",{"[Articole].[Structura Gama].[Sortiment].&[814]","[Articole].[Cod].&[400075]"},"400074")

To be modified to:

=CUBEMEMBER("192.168.1.10 SeniorBI Sales",{"[Articole].[Structura Gama].[Sortiment].&[814]","[Articole].[Cod].&B1"},"400074")

in B1 to have 400074

Can this be done?
Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
=CUBEMEMBER("192.168.1.10 SeniorBI Sales",{"[Articole].[Structura Gama].[Sortiment]." &[814],"[Articole].[Cod]." &B1},"400074")
 
Upvote 0
You just need to complete the concatenation...

"text" & variable & "moretext"

Try

=CUBEMEMBER("192.168.1.10 SeniorBI Sales",{"[Articole].[Structura Gama].[Sortiment].&[814]","[Articole].[Cod].&[" & B1 & "]"},"400074")
 
Upvote 0
Hi, it's not working. I have excel 2007.
after i put the code inside a cell and press enter, i receive this error:

"The formula you typed contains an error"
An it's pointing to the space in fromt of &[814]

What am i doing wrong?

Thanks!
 
Upvote 0
Hi

This perhaps -

Code:
=CUBEMEMBER("192.168.1.10 SeniorBI Sales",{"[Articole].[Structura Gama].[Sortiment].&[814]","[Articole].[Cod].&[B1]"},"400074")

hth
 
Upvote 0
Hi, it's not working. this part:
"[Articole].[Cod].&[B1]" is still as text. And this bigger part is inside brackets and the formula doesn't see "B1" because of the brackets..


Any suggestion?

Thanks!
 
Upvote 0
Hi, i tried that, but is not working. It return an error message and is selecting the space before &B1. And i suppose this happent because of the curly brackets.
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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