Remove duplicate values & keep row sequence with blanks

Mooncake1

New Member
Joined
Sep 18, 2021
Messages
16
Office Version
  1. 365
Platform
  1. Windows
hi friends!

i'm using filter formula to build my list in column A. I have example of the formula in column D.

what i am attempting to do is create a column like C where the duplicates are removed, only leaving the first occurring number.

ideally I would like to wrap this formula around the filter formula that is in column D so it doesn't take up two column :) (maybe do i use =LET?)

here is the sheet!

Book1.xlsx
ABCDEF
1Number listUnique in row orderExample FILTERYES<- Key word
2435435435YES
3343434YES
4436543654365YES
5568568568YES
6YES
7434343YES
83434YES
9547547547YES
10768768768YES
11YES
12YES
133434YES
14543565435654356YES
15565656YES
16777YES
17767676YES
18656565YES
19545454YES
20654786547865478YES
21769578769578769578YES
22535353YES
23YES
24YES
25YES
26YES
27545454545454YES
285454YES
29YES
30YES
31454545YES
325454YES
335454YES
34YES
35242424YES
36576576576YES
373434YES
3877YES
3977YES
Sheet1
Cell Formulas
RangeFormula
D2:D39D2=IFERROR(IF(FILTER(A1:A100,ISNUMBER(MATCH(F1:F100,E1,0)))=0,"",FILTER(A1:A100,ISNUMBER(MATCH(F1:F100,E1,0)))),"")
Dynamic array formulas.


thanks any help is appreciative ! :D
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Is this what you want?

21 09 21.xlsm
ABC
1Number listUnique in row order
2435435
33434
443654365
5568568
6
74343
834
9547547
10768768
11
12
1334
145435654356
155656
1677
177676
186565
195454
206547865478
21769578769578
225353
23
24
25
26
2754545454
2854
29
30
314545
3254
3354
34
352424
36576576
3734
387
397
Uniques
Cell Formulas
RangeFormula
C2:C39C2=IFNA(IF(MATCH(A2:A39,A2:A39,0)=SEQUENCE(ROWS(A2:A39)),A2:A39,""),"")
Dynamic array formulas.
 
Upvote 0
Solution
Is this what you want?

21 09 21.xlsm
ABC
1Number listUnique in row order
2435435
33434
443654365
5568568
6
74343
834
9547547
10768768
11
12
1334
145435654356
155656
1677
177676
186565
195454
206547865478
21769578769578
225353
23
24
25
26
2754545454
2854
29
30
314545
3254
3354
34
352424
36576576
3734
387
397
Uniques
Cell Formulas
RangeFormula
C2:C39C2=IFNA(IF(MATCH(A2:A39,A2:A39,0)=SEQUENCE(ROWS(A2:A39)),A2:A39,""),"")
Dynamic array formulas.
this is exactly what i was trying to do, thank u
 
Upvote 0
hi here is the full formula in case anyone needs :)
Excel Formula:
=LET(Fr,IFERROR(FILTER(A1:A100,ISNUMBER(MATCH(F1:F100,E1,0))),""),IFNA(IF(MATCH(Fr,Fr,0)=SEQUENCE(ROWS(Fr)),Fr,""),""))
 
Upvote 0
What is the significance of cell E1 and column F where every cell appears to contain "YES"?

What does that formula do that my simpler one doesn't?
 
Upvote 0
What is the significance of cell E1 and column F where every cell appears to contain "YES"?

What does that formula do that my simpler one doesn't?
Sorry, the "YES" is a filterand only exist when theres data in col D, i just messed up my page a bit sorry
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,989
Members
452,541
Latest member
haasro02

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