Slicer value on cell avoiding multiple items

drom

Well-known Member
Joined
Mar 20, 2005
Messages
528
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
hi and thanks in advance!!


krishnan.xlsx
ABCDEFG
1NameAddressselected
2A121
6A251
8
9
10Selection:A=UNIQUE(FILTER(Table_1[Name];Table_1[selected]=1))
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Sheet1
Cell Formulas
RangeFormula
E2,E6E2=AGGREGATE(3,5,[@Name])
C10C10=UNIQUE(FILTER(Table_1[Name],Table_1[selected]=1))
D10D10=FORMULATEXT(C10)


My table contains a slicer To show Name (The Xl2BB, does not show the Slicers, or I do not knot how to show it, anyway does not matter)
Anyway when the slicer shows only 1 value, not multiple options
My job is done brvoudr thr Formual on C10 (green color) shows the Value A

Now when the clear the filters in this slicers and or in my table
I get with the formula on C10:

krishnan.xlsx
ABCDEFG
1NameAddressselected
2A121
3B131
4C141
5D151
6A251
7B301
8
9
10Selection:A=UNIQUE(FILTER(Table_1[Name];Table_1[selected]=1))
11B
12C
13D
14
15
16
17
18
19
20
21
22
23
24
Sheet1
Cell Formulas
RangeFormula
E2:E7E2=AGGREGATE(3,5,[@Name])
C10:C13C10=UNIQUE(FILTER(Table_1[Name],Table_1[selected]=1))
D10D10=FORMULATEXT(C10)
Dynamic array formulas.


CHECK C11:C14

I would like to avoid C11:XXXX in my C10 Formula
So when the slicers shows more than one posibiltie in my formula get a message like "Please Choose Only One Name"

I do not want to use PivotTables, VBA

Just a formula
Thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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