PC Review


Reply
Thread Tools Rate Thread

Duplicates Question

 
 
andrewmac
Guest
Posts: n/a
 
      17th Aug 2010
I have a list of numbers and want to create a helper column which will
place a 1 against unique values but also a 1 against just one of the
duplicate values. Any ideas how I might achieve this would be much
appreciated.#

Many thanks
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      17th Aug 2010
A formula like:
=countif($a$1:a1,a1)
and dragged down the range

will give you a 1 for the first instance (singletons or first of multiples) of
that value.

The results greater than 1 will be for subsequent duplicates.

On 08/17/2010 07:58, andrewmac wrote:
> I have a list of numbers and want to create a helper column which will
> place a 1 against unique values but also a 1 against just one of the
> duplicate values. Any ideas how I might achieve this would be much
> appreciated.#
>
> Many thanks


--
Dave Peterson
 
Reply With Quote
 
andrewmac
Guest
Posts: n/a
 
      17th Aug 2010
On 17 Aug, 14:08, Dave Peterson <peter...@XSPAMverizon.net> wrote:
> A formula like:
> =countif($a$1:a1,a1)
> and dragged down the range
>
> will give you a 1 for the first instance (singletons or first of multiples) of
> that value.
>
> The results greater than 1 will be for subsequent duplicates.
>
> On 08/17/2010 07:58, andrewmac wrote:
>
> > I have a list of numbers and want to create a helper column which will
> > place a 1 against unique values but also a 1 against just one of the
> > duplicate values. *Any ideas how I might achieve this would be much
> > appreciated.#

>
> > Many thanks

>
> --
> Dave Peterson


Thanks Dave but this just gives me the number of instances that each
number occurs against each number. I want something like this:

12345 1
64789 1
35795 1
35795
45128 1

Any other ideas?


 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      17th Aug 2010
=IF(COUNTIF($A$1:A1,A1)>1,"",1)


Gord Dibben MS Excel MVP


On Tue, 17 Aug 2010 06:18:02 -0700 (PDT), andrewmac <(E-Mail Removed)>
wrote:

>On 17 Aug, 14:08, Dave Peterson <peter...@XSPAMverizon.net> wrote:
>> A formula like:
>> =countif($a$1:a1,a1)
>> and dragged down the range
>>
>> will give you a 1 for the first instance (singletons or first of multiples) of
>> that value.
>>
>> The results greater than 1 will be for subsequent duplicates.
>>
>> On 08/17/2010 07:58, andrewmac wrote:
>>
>> > I have a list of numbers and want to create a helper column which will
>> > place a 1 against unique values but also a 1 against just one of the
>> > duplicate values. *Any ideas how I might achieve this would be much
>> > appreciated.#

>>
>> > Many thanks

>>
>> --
>> Dave Peterson

>
>Thanks Dave but this just gives me the number of instances that each
>number occurs against each number. I want something like this:
>
>12345 1
>64789 1
>35795 1
>35795
>45128 1
>
>Any other ideas?
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicates Question TotallyConfused Microsoft Access Queries 2 9th Apr 2008 04:05 AM
yet another remove duplicates question =?Utf-8?B?RGF2ZSBIZWxwcw==?= Microsoft Access Queries 4 12th Oct 2007 04:15 PM
Question on duplicates =?Utf-8?B?amlt?= Microsoft Access Queries 2 12th Jul 2007 08:00 PM
No duplicates question =?Utf-8?B?Y2lubmll?= Microsoft Access Queries 1 28th Jan 2007 08:47 PM
dbx file duplicates QUESTION Don Guillett Microsoft Excel Programming 3 1st Aug 2004 05:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.