Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default Pls help with Excel Function

On Fri, 8 Aug 2008 23:28:00 -0700, TotallyConfused
wrote:

I have a list of thousands of records. I need to identify duplicates. There
can be more than one duplicate. I am using this function
=IF(countif(B$2:B$3000,B2)1, "Duplicate","No Dup"). This marks all the same
rows duplicate. I would like for the function to look at the first dup not
mark it dup and only mark the next row if dup as Duplicate. For instance:

Duplicate testing No dup testing
Duplicate testing Duplicate testing
Duplicate testing Duplicate testing
Duplicate Monday No dup Monday
Duploicate Monday Duplicate Monday



Try this formula in cell C2

=IF(COUNTIF(B$2:B2,B2)1,"Duplicate","No Dup)

Copy it down column C.

The only difference to the formula that you have is that B$3000 is
replaced with B2, i.e. only the rows above and including the current
row are included in the counting.

Hope this helps / Lars-Åke
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to build a Look Up Function or What Ever Function Excel 2002 Carlo Excel Worksheet Functions 6 April 3rd 08 07:39 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
challenge! javascript function into excel function Kamila Excel Worksheet Functions 2 February 19th 07 06:35 AM
Excel Workday Function with another function Monique Excel Discussion (Misc queries) 2 April 27th 06 01:11 PM
Can you nest a MID function within a IF function in Excel Dawn-Anne Excel Worksheet Functions 2 March 4th 05 01:37 PM


All times are GMT +1. The time now is 05:43 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"