From slicer selection, populate the selected item to a cell

FaezMH

New Member
Joined
Oct 14, 2019
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi Excel Experts,
Good day everyone.
I have the following table as below. I am inserting a slicer based on column A (ie. BRAND). When I click on a slicer say at brand BB, column A will display all the data for Brand BB. And when I click on Brand DD, it will display the data for brand DD. For each change, how can I have eg. brand "BB" populated in cell C57. Meaning that C57 content will change dynamically each time a select a brand from the slicer. I have tried to use Index/Match but they are not working. Guess I still missing something.

Book1
ABCDEFGHIJ
1BRANDMONTHYEARRECEIVED QTYTEST QTYREJECT QTY
2AAJUL23120433711
3BBJUL235615770
4CCJUL2373811000
5DDJUL23000
6EEJUL23000
7AAAUG2380712691
8BBAUG232018330
9CCAUG2399051480 
10DDAUG23000
11EEAUG23000
12AASEP2355314690
13BBSEP231973381
14CCSEP233981510
15DDSEP23000
16EESEP237900
17AASEP23000
18BBSEP236003510
19CCSEP23000
20DDSEP232868550
21EESEP232444360
22AASEP23000
23BBSEP231699231
24CCSEP23000
25DDOCT2379523910
26EEOCT234173721
27AAOCT235484841
28BBOCT23000
29CCOCT2315822000
30DDOCT233000
31EEOCT23900
32AAOCT23000
33BBOCT232718600
34CCOCT231200
35DDOCT23000
36EEOCT23000
37AAOCT23000
38BBNOV2372161870
39CCNOV233572690
40DDNOV234218760
41EENOV23000
42AANOV2331352270
43BBNOV231600
44CCNOV23000
45DDNOV23000
46EENOV232950471
47AANOV235270700
48BBNOV23000
49CCNOV23000
50DDNOV23000
51EENOV2315181610
52
53TOTAL11946633657
54
55
56BRANDProd_Qty OQC_Qty OQC_Rej
57Example>BB11946633657
58
Sheet1
Cell Formulas
RangeFormula
G9G9=IF($A2=Slicer_PRODUCT_DATA2, $F2, "")
D53:F53D53=SUM(D2:D52)
D57:F57D57=SUBTOTAL(9,D$2:D$51)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F28:F51Cell Value>=1textNO
F26:F27Cell Value>=1textNO
F26:F27Cell Value=0textNO
F2:F25Cell Value>=1textNO
F52Cell Value>=1textNO


Thank you.
MH
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi

Try this:
Mappe8
C
56BRAND
57BB
Tabelle1
Cell Formulas
RangeFormula
C57C57=UNIQUE(FILTER(Tabelle1[BRAND],Tabelle1[Filter]))
 
Upvote 0
Hi..

Can I know whether Tabelle1 referring to cell A1:A51? I tried for A1:F51 too and getting the same error as below:

1710928191886.png

 
Upvote 0
Tabelle1 is the name of table. Change it to table name you are using.
 
Upvote 0
Hello, I am new to this forum.

I have a suggestion for you. If you're looking for a slicer, you can find it in either the Pivot Table option or the Table feature.

To convert your data into the Table format, select your data and press Control+T. Then, navigate to the Table tab and click on Insert Slicer. From there, select Brand and you will see the Brand Slicer has been inserted.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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