Filtering data

SSCOB

New Member
Joined
Sep 12, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hello, I have 2 sheets in excel, the first is my data and the second has the labels which relate to the data and the counts of the data in the first sheet; I need to apply 2 filters to the counts 'table'. I know I could do a pivot table, but it seems it's going to take a lot of preparation and wondering if there's a quicker way. I don't have any VBA skills. I've attached the example showing how it's set out and what I need, if anyone could please help me? Many thanks....

example.xlsx
D
446
CODEFRAME
Cell Formulas
RangeFormula
D4D4=COUNTIF('Q23'!C:G,CODEFRAME!A4)



example.xlsx
ABCDEFG
1CATEGORYRESPCode1 Code2Code3Code4Code5
2F541
3STR117
4PM742
5STR754
6STR541
7STR735
8F71
9F322
10STR86
11STR712
12F315
13PM637
14F53738
15STR697
16PM67
17STR613
18PM812
19PM6710
20STRDon't know97
21PM815
22STR541
23STR72511
24STR62534
25F81
26F423
27STR712
28F526
29STR417
30PM721
31STR6712
32F1097
33STR67
34PM106
35STR64020233836
36STR7372034
37PM1039
38STR526
39PM319
40STR73
41STR732
42PM699
43STR106
44PM420
45PM512
46PM725
47STR612
48STR561817
49STR51252
50STR91
51STR754
52F42117
53STR411
54STR27
55STR7112
56STR66
57STR519
58STR516
59F81
60PMDon't know41
61F424
62F62036
63STR736
64STR9
65STR215
66STR516
67STR82
68F1710
69PM641
70FDon't know98
71STR86
72STR7342033
73F434
74PM72324
75STR515
76F8202
77STR842
78STRDon't know97
79STR564
80F599
81STR6720
82PM637
83STR620
84STR51037
85PM414
86F899
87STR54112
88F512
89STR417
90STR615
91STR525
92STR62038
93PM622
94STR74
95STR712
96STR512
97STRDon't know41
98STR621
99FDon't know41
100STR797
101F81
102F842
103F8154
104STR844
105F75
106F56
107STR512
108PM515
109STR71820
110PM612
111F913
112F42326
113STR942
114PM742
115STR315
116STR742
117STR712
118PM71819211725
119STR512
120F467
121PM4181722
122STR613
123F641
124PM77
125STR514
126F22219
127STRDon't know41
128STR314
129PM455
130PM512
131F512
132PMDon't know55
133F655
134PM410
135STR31797
136STR84
137STR617
138F5147
139F4717
140STR626
141STR550
142STR10 (extremely strong)6
143STR620
144FDon't know96
145STR61425
146STR612
147PM141
148F712
149STR450
150FDon't know41
151STR412
152PM410
153STR42627
154F812
155STR510
156STR617
157STR832
158F712
159F81
160STRDon't know41
161PM7313
162F84
163PM95
164STR537
165STR714
166F512
167STR627
168F10 (extremely strong)1
169PM42623
170STR45015
171STR71422
172F512
173STR512
174F741
175F3147
176PM526
177F912
178STR92
179PMDon't know41
180STR42633
181STR512
182PM541
183F525543
184PM71
185STR51013
186STR415
187PM410
188STR615
189FDon't know41
190PM517
191STR542
192PM620
193STR712
194PM84
195PM417
196STR620
197PM715
198STR954
199STR512
200STR614
201STR86
202STR627
203STR71
204STR71
205STR61033
206F77
207F340
208PM840
209PM61
210PM518171922
211F63214
212STR815
213PM6241437
214PM87
215F417
216PM422
217STR8435
218STR219
219F648
220PM637
221STR7207
222STR423
223PMDon't know97
224PM797
225F75413
226STR6722
227PM650
228STR612
229F541
230STR622
231STR51221
232F81
233STR423
234PM515
235F517
236F510
237STR996
238F896
239F622
240PM5
241STR741
242PM626
243STR612
244PM415
245STR712
246FDon't know41
247PM103
248STR897
249PM750
250PM512
251PM716
252PM720
253STR7112
254STR846
255STR1042
256STR614
257STR81
258F414
259PM512
260STRDon't know41
261F512
262STR512
263F541
264F62024
265STR717
266PM414
267F61110
268STR337
269PM519
270STR510
271PM52217
272F942
273STR47
274F72620
275STR517
276PM75
277STR93
278PM710
279STR610
280STR422
281PM512
282STR399
283STR512
Q23
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I am not quite clear on your question, but it looks like your first image may not have come out the way you hoped.
Can you try again, showing us the data you are starting with, and what your expected results should look like?

Also, I see that you are using Excel 365. I am not sure if you are aware, but there is a new FILTER function that is awesome! This is different than the old manual filtering techniques in Excel.
See here for details: FILTER function - Microsoft Support
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

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