Find the missing number?

D

Djanvk

Is there a way to have excel find missing numbers in order?

For example I have a list of 700 Numbers between 1 and 700, but do not
have all the numbers in between the 1 and 700, is there a way to find
which number I am missing?

Thanks
 
B

BB

There may be better approaches, but one which you could use is to
create a list of the numbers in one spreadsheet, and use VLOOKUP from
that list to your target list to see which ones return no value.
 
D

Dave O

The best way I can think of would be to insert a new tab, and number
one of the columns from 1 to 700. Then perform a COUNT for each of
those numbers- this will tell you if a number is missing or duplicated.
 
B

Biff

Hi!

Assume the numbers are in column A.

Enter this formula as an array using the key combination of
CTRL,SHIFT,ENTER:

=INDEX(ROW($1:$700),SMALL(IF(COUNTIF(A$1:A$700,ROW($1:$700))=0,ROW($1:$700)),ROWS($1:1)))

Copy down until you get #NUM! errors meaning all the missing numbers have
been returned.

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top