#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default Dupplicates

Hi
I have in column A the data. In column B I would like to set the formula
that check if there are dupplicates. I tried this =COUNTIF(B$1:B2,B2)=2 but
it doesn't show me the first item that has dupplicates. Do you know how to
solve this problem?
Thanks
--
Greatly appreciated
Eva
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Dupplicates

You said you have data in ColA.....In ColB cell B1 try the below formula and
copy down as required.

=IF(COUNTIF(A:A,A1)1,"Duplicate","")

If this post helps click Yes
---------------
Jacob Skaria


"Eva" wrote:

Hi
I have in column A the data. In column B I would like to set the formula
that check if there are dupplicates. I tried this =COUNTIF(B$1:B2,B2)=2 but
it doesn't show me the first item that has dupplicates. Do you know how to
solve this problem?
Thanks
--
Greatly appreciated
Eva

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default Dupplicates

Works. Thank you very much!
Eva
--
Greatly appreciated


"Jacob Skaria" wrote:

You said you have data in ColA.....In ColB cell B1 try the below formula and
copy down as required.

=IF(COUNTIF(A:A,A1)1,"Duplicate","")

If this post helps click Yes
---------------
Jacob Skaria


"Eva" wrote:

Hi
I have in column A the data. In column B I would like to set the formula
that check if there are dupplicates. I tried this =COUNTIF(B$1:B2,B2)=2 but
it doesn't show me the first item that has dupplicates. Do you know how to
solve this problem?
Thanks
--
Greatly appreciated
Eva

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Dupplicates

If this is your data:

A1: 1
A2: 1
A3: 2
A4: 3
A5: 3

What results do you expect?

--
Biff
Microsoft Excel MVP


"Eva" wrote in message
...
Hi
I have in column A the data. In column B I would like to set the formula
that check if there are dupplicates. I tried this =COUNTIF(B$1:B2,B2)=2
but
it doesn't show me the first item that has dupplicates. Do you know how to
solve this problem?
Thanks
--
Greatly appreciated
Eva



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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



All times are GMT +1. The time now is 10:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"