PC Review


Reply
Thread Tools Rate Thread

How can I extract a list of numbers missing in a list?

 
 
Nancy
Guest
Posts: n/a
 
      28th Jan 2010
I have items that have been assigned an ID number. How can I extract a list
of unassigned numbers? I.E. I have number range starting with
7200000-7232000. How can I extract a list of unassigned numbers from this
list of numbers? I know some of the Excel functions but I could not figure
this out.
--
nfw
 
Reply With Quote
 
 
 
 
Eduardo
Guest
Posts: n/a
 
      28th Jan 2010
Hi,
you have your number in column A, in column B enter the complete list of
numbers then in column C enter

=IF(COUNTIF(A$1:A$5,B$1:B$100)=1,"",B1)

copy down

change range to fit your needs

"Nancy" wrote:

> I have items that have been assigned an ID number. How can I extract a list
> of unassigned numbers? I.E. I have number range starting with
> 7200000-7232000. How can I extract a list of unassigned numbers from this
> list of numbers? I know some of the Excel functions but I could not figure
> this out.
> --
> nfw

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      28th Jan 2010
Assume your source data runs in A2 down
In B2
=IF(ROWS($1:1)+7200000-1>7232000,"",IF(ISNUMBER(MATCH(ROWS($1:1)+7200000-1,A:A,0)),"",ROWS($1:1)+7200000-1))
Copy B2 down to cover the full spread of numbers (# of nums from start num
to end num), ie by 32k rows

Then place in C2:
=IF(ROWS($1:1)>COUNT(B:B),"",SMALL(B:B,ROWS($1:1)))
Copy C2 down just enough ie until blanks are returned. All the missing nums
in between the start to end nums will appear neatly packed at the top.
Success? wave it, hit the YES below.
--
Max
Singapore
---
"Nancy" wrote:
> I have items that have been assigned an ID number. How can I extract a list
> of unassigned numbers? I.E. I have number range starting with
> 7200000-7232000. How can I extract a list of unassigned numbers from this
> list of numbers? I know some of the Excel functions but I could not figure
> this out

 
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
Extract delimted list of email addresses from a distribution list? Vorv Microsoft Outlook Contacts 7 31st Jul 2008 11:13 PM
Extract list of units based on error criteria to new list =?Utf-8?B?U2hlaWxh?= Microsoft Excel Worksheet Functions 7 9th Aug 2007 03:57 AM
MISSING NUMBERS IN LIST =?Utf-8?B?anBmcm1ubQ==?= Microsoft Excel Misc 2 10th Nov 2006 09:30 PM
Extract email addresses from Distribution LIst in Global Address List tthomas Microsoft Outlook VBA Programming 2 22nd Jun 2006 12:02 AM
how to extract unique numbers once from a list of repeated numbers? stuart.kwok@gmail.com Microsoft Excel Misc 2 2nd May 2006 04:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:14 PM.