Retrieve Uniques on 11000 Entries

somebody113

New Member
Joined
Apr 28, 2011
Messages
14
Hi,

I have two codes that will retrieve unique records, though, when I run it on unique records, it crashes excel, I want to avoid VBA code if possible. Here are the two codes that do work, but are too cumbersome, Any leaner ideas?

Code 1
Code:
=INDEX(List,MATCH(0,COUNTIF($B$1:B1,List),0))

Code 2
Code:
=IF(ISNA(OFFSET($A$1,MATCH(0,MMULT(--TRANSPOSE(TRANSPOSE($A$1:$A$13)=B$1:B1),ROW(INDIRECT("1:"&ROW()-1))/ROW(INDIRECT("1:"&ROW()-1))),0)-1,0,1,1)),"",OFFSET($A$1,MATCH(0,MMULT(--TRANSPOSE(TRANSPOSE($A$1:$A$13)=B$1:B1),ROW(INDIRECT("1:"&ROW()-1))/ROW(INDIRECT("1:"&ROW()-1))),0)-1,0,1,1))
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
From memory there is a filter limit for unique records in Excel 2000 /03of 1000 unique entries.
Which suggests you may have to look at either rearranging your data into smaller lots OR you will have to embrace a VBA solution
 
Upvote 0
advanced filter unique will work on over 1000 unique values, its only the drop down that is limited to view the first 1000
 
Upvote 0
My dupe master addin, http://www.experts-exchange.com/A_2123.html, will list the uniques, as an addin you may find it less cumbersone that VBA

The advantages of the addin over the formula approach are

- the addin allows you to specify true uniques (that only occur once) or uniques that occur at least once
- functionality to ignore case sensitivity
- functionality to ignore white spaces
- regular expression replace functionality

Cheers

Dave
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,280
Members
452,902
Latest member
Knuddeluff

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