![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Redmond, WA
Posts: 636
|
I have seen several posts on the forum regarding duplicates. Most peope resort to UDFs and VBA to remove duplicates. That isn't neccesary. You can remove duplicates with the functions that are built-in to Excel.
Check out the formula I created below: =IF(ROW()=ROW($A$1),$A$1,IF(ISERROR(INDIRECT("a"&MIN(IF(MATCH($A$1:$A$13,$A$1:$A$13,0)>MATCH(B1,$A$1:$A$13,0),MATCH($A$1:$A$13,$A$1:$A$13,0),99999)))),"",INDIRECT("a"&MIN(IF(MATCH($A$1:$A$13,$A$1:$A$13,0)>MATCH(B1,$A$1:$A$13,0),MATCH($A$1:$A$13,$A$1:$A$13,0),99999))))) [ This Message was edited by: zacemmel on 2002-05-02 11:02 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Posts: 85
|
What a cluster! How in the world did you come up with that one?
Good job if it works. |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
HELLO THERE ZACEMMEL
PLEASE EXPLAIN TO ME HOW ARE THE DUPLICATES REMOVED WITH THIS FORMULA? REGARDS ANDREAS |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Las Vegas Nevada USA
Posts: 240
|
OK I'll bite. Where do you put this jewel??
__________________
George Learn to listen. Opportunity sometimes knocks very softly. |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
I'm stumped at why you think this formula (or any formula) would remove duplicates since formula do not modify the contents of the spreadsheet they only return a result.
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
Hello there
I Agree with Ricky Formulas don't remove duplicates !!! Regards Andreas |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: Redmond, WA
Posts: 636
|
It doesn't remove duplicates from the existing list. It removes duplicates from the new list that it creates. It works, trust me.
|
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Mar 2002
Location: England, UK.
Posts: 526
|
It does work and is amazing stuff I think.
RET79 |
|
|
|
|
|
#9 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
Zacemmel,
which cell would this start in ? and which range would have the potential list of duplicates ? I was just trying to test this impressive formula but couldn't quite get the right ranges thanks Chris |
|
|
|
|
|
#10 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
Hello Zacemmel
I would like more details on this formula please. Andreas
__________________
Best Regards Andreas
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|