Displaying Missing Sequence #s

mandinko

New Member
Joined
Sep 17, 2014
Messages
24
ListStart Number0
1End Number9
2
3Missing Numbers
40
5#NUM !
6#NUM !
7#NUM !
#NUM !
#NUM !
#NUM !

<colgroup><col><col><col></colgroup><tbody>
</tbody>


Here is my formula.
=SMALL(IF(ISERROR(MATCH($C$1+ROW(OFFSET($A$1,0,0,$C$2-$C$1+1))-1,$A$2:$A$9,0)),$C$1+ROW(OFFSET($A$1,0,0,$C$2-$C$1+1))-1),ROW(A1))

Why am I getting #NUM it should show 0, 8 and 9 right? The same formula is copied from B5 down. I can't get this thing to work for the life of me. Any Ideas Thanks in advance
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Mandinko,

this is an array formula. It must be entered with CTRL-SHIFT-ENTER instead of just ENTER.
 
Upvote 0

Forum statistics

Threads
1,215,825
Messages
6,127,112
Members
449,359
Latest member
michael2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top