Excel Slicer #N/A error

shophoney

Active Member
Joined
Jun 16, 2014
Messages
286
Hi I have a Excel formula for selecting items from a Slicer. But when I select more than what is in the formula 1-11 the result is #N/A.

I want my formulas to allow me to select Months and Display what has been selected or ALL when no selection has been made.

Same with selecting Models.

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)&" # of Transactions"&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,1)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,2)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,3)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,4)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,5)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,6)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,7)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,8)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,9)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,10)&", "&
CUBERANKEDMEMBER("ThisWorkbookDataModel",Slicer.SalesStatistics.SalesAppendMONTH,11)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,223,362
Messages
6,171,639
Members
452,413
Latest member
N3edHelp

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