Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Finding Missing and duplicated Numbers

I have a table

name a 15
name b 16
name c 18

There will be 80 names and 54 numbers (1 to 54).

I need a formular that would search the list of numbers and report back any
duplicate numbers and missing numbers.

Is that possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Finding Missing and duplicated Numbers

Hi,
For duplicates see

http://www.cpearson.com/excel/Duplicates.aspx



"Ujpest" wrote:

I have a table

name a 15
name b 16
name c 18

There will be 80 names and 54 numbers (1 to 54).

I need a formular that would search the list of numbers and report back any
duplicate numbers and missing numbers.

Is that possible?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Finding Missing and duplicated Numbers

Here is a simple solution. I put my names in A6:A85 and numbers in B6:B85
If your numbers are somewhere else change the references to $B$6:$B$85 in my
formulas but do not change reference to A1.

In C6 enter this formula =IF(COUNTIF($B$6:$B$85,B6)-1,"Duplicate","")
Copy it down the column by double clicking the fill handle
Numbers that are duplicated will be so indicated

In D6 enter this formulas =IF(ISNA(MATCH(ROW(A1),$B$6:$B$85,0)),ROW(A1),"")
Copy down the column
Numbers that are missing in column B will be displayed in column D

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Ujpest" wrote in message
...
I have a table

name a 15
name b 16
name c 18

There will be 80 names and 54 numbers (1 to 54).

I need a formular that would search the list of numbers and report back
any
duplicate numbers and missing numbers.

Is that possible?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Finding Missing and duplicated Numbers

That is brilliant
thank you

"Bernard Liengme" wrote:

Here is a simple solution. I put my names in A6:A85 and numbers in B6:B85
If your numbers are somewhere else change the references to $B$6:$B$85 in my
formulas but do not change reference to A1.

In C6 enter this formula =IF(COUNTIF($B$6:$B$85,B6)-1,"Duplicate","")
Copy it down the column by double clicking the fill handle
Numbers that are duplicated will be so indicated

In D6 enter this formulas =IF(ISNA(MATCH(ROW(A1),$B$6:$B$85,0)),ROW(A1),"")
Copy down the column
Numbers that are missing in column B will be displayed in column D

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Ujpest" wrote in message
...
I have a table

name a 15
name b 16
name c 18

There will be 80 names and 54 numbers (1 to 54).

I need a formular that would search the list of numbers and report back
any
duplicate numbers and missing numbers.

Is that possible?


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Finding Missing and duplicated Numbers

Thanks for feedback
Bernard

"Ujpest" wrote in message
...
That is brilliant
thank you

"Bernard Liengme" wrote:

Here is a simple solution. I put my names in A6:A85 and numbers in B6:B85
If your numbers are somewhere else change the references to $B$6:$B$85 in
my
formulas but do not change reference to A1.

In C6 enter this formula =IF(COUNTIF($B$6:$B$85,B6)-1,"Duplicate","")
Copy it down the column by double clicking the fill handle
Numbers that are duplicated will be so indicated

In D6 enter this formulas
=IF(ISNA(MATCH(ROW(A1),$B$6:$B$85,0)),ROW(A1),"")
Copy down the column
Numbers that are missing in column B will be displayed in column D

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Ujpest" wrote in message
...
I have a table

name a 15
name b 16
name c 18

There will be 80 names and 54 numbers (1 to 54).

I need a formular that would search the list of numbers and report back
any
duplicate numbers and missing numbers.

Is that possible?


.

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
Finding missing numbers in a sorted sequence Liz Excel Discussion (Misc queries) 3 March 9th 09 12:46 PM
Finding duplicated elements in a list M.A.A.C Excel Discussion (Misc queries) 2 November 23rd 06 12:13 PM
Finding numbers missing from a sequence andy Excel Discussion (Misc queries) 3 April 8th 05 04:16 PM
Finding Duplicated Text within Columns Jen Excel Discussion (Misc queries) 1 February 15th 05 02:43 PM
Excel Adding duplicated numbers together JJ Joobler Excel Discussion (Misc queries) 1 January 7th 05 01:24 AM


All times are GMT +1. The time now is 06:11 AM.

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

About Us

"It's about Microsoft Excel"