Unique function applied to the filter values

Vasanth88ece

New Member
Joined
Feb 26, 2025
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hey Guys,

I wanna use unique function for the range where the filter is applied. I have applied unique function in value range. When I filter "a" from filter range I ll get the filtered value like ss 2 times , ed 1 time and dd 2 times. all i need is to get the unique from that range. Not to the whole range.


Filtervalue
ass
ass
aed
add
add
fch
fch
fvb
fvb
fde
fde
 
As Excel 2021 does not have BYROW, as an alternative, if it is possible for you to add another column, you could try:

1) use a helper column with the following formula insterted in E2 and copied down:

Excel Formula:
=AGGREGATE(3,5,A2)

2) then use the following formula to filter:

Excel Formula:
=LET(
a,D2:D14,
f,E2:E14,
r,SUM(f)=ROWS(f),
IF(r,"no filter applied",UNIQUE(FILTER(a,f))))

where E2:E14 represents the column where there is the formula ad 1).
Will try n come back. Thanks for yur time
 
Upvote 0
Please update your profile (click your user name at the top right of the forum, then ‘Account details’) since your post #9 image clearly shows that you are not using Microsoft 365 which your profile currently shows. (Don’t forget to scroll down & ‘Save’)

When asking questions that involve filtering, you need to make sure that it is clear whether you are talking about the worksheet function FILTER or the Excel feature AutoFilter.
In this case I think that you mean AutoFilter, as evidenced by the recent part of the thread. If so, see if this does what you want without a helper column.

25 03 09.xlsm
ABCD
1S.NOEMP IDNAMETRADE
21ATESRAKESH KUMAR YADAV SHAMBHU YADAVARC WELDER
32ATESDURGESH KUSHWAHA RAMAKANT KUSHWAHAARC WELDER
43ATESATUL KUMAR SINGH SURESH SINGHARC WELDER
54ATESRIYAJUDDIN ANSARI MOHAMMAD ANSARIARC WELDER
65ATESRAJA BABU TAHAUWAR HUSSAINARC WELDER
76ZTMMUHAMMAD TUFAIL MUHAMMAD ISLAMELECTRICIAN
87ASBCSUMAN CHAUDHARYELECTRICIAN
98NTMHABIBULLAH ABDUL AZIZELECTRICIAN
109MSHMD SHAKIL MD MIJANUR RAHMANELECTRICIAN
1110ATSRAJKUMAR YADAV LUTAWAN YADAVELECTRICIAN
1211ALBMD NUR ALAM MUNSHI TURAF ALI MUNSHIELECTRICIAN
1312ASBCPRASANT CHAUDHARYELECTRICIAN
1413AAAMD WALL EKRAM MD ABDUL MOTALEBELECTRICIAN
15
16
17
18Unique Trade
19ARC WELDER
20ELECTRICIAN
AF
Cell Formulas
RangeFormula
D19:D20D19=UNIQUE(FILTER(D2:D14,SUBTOTAL(103,OFFSET(D1,SEQUENCE(ROWS(D2:D14)),0,1)),""))
Dynamic array formulas.


After an AutoFilter is applied ..

25 03 09.xlsm
ABCD
1S.NOEMP IDNAMETRADE
21ATESRAKESH KUMAR YADAV SHAMBHU YADAVARC WELDER
32ATESDURGESH KUSHWAHA RAMAKANT KUSHWAHAARC WELDER
43ATESATUL KUMAR SINGH SURESH SINGHARC WELDER
54ATESRIYAJUDDIN ANSARI MOHAMMAD ANSARIARC WELDER
65ATESRAJA BABU TAHAUWAR HUSSAINARC WELDER
15
16
17
18Unique Trade
19ARC WELDER
20
AF
Cell Formulas
RangeFormula
D19D19=UNIQUE(FILTER(D2:D14,SUBTOTAL(103,OFFSET(D1,SEQUENCE(ROWS(D2:D14)),0,1)),""))
 
Upvote 0

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