Formula to find missing numbers.

Trueblue862

Board Regular
Joined
May 24, 2020
Messages
160
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have a database with numbers between 1 and 750 in column "A". They are not in order and they aren't all there. Is there a way to get the missing numbers to show on another spreadsheet in numerical order? this way I can load them into a combobox on my userform.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
ABC
1N20
2
3MyNumbersMissing?
436
5811
61014
7715
8916
917
104
115
122
1320
1419
1512
1613
171
1818
Sheet2
Cell Formulas
RangeFormula
C4:C23C4=SORT(IF(COUNTIF(MyNumbers,SEQUENCE(N)),"",SEQUENCE(N)))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
MyNumbers=Sheet2!$A$4:$A$18C4
N=Sheet2!$B$1C4
 
Upvote 0
Solution
I'm missing something here. I am getting a NAME error with this formula. I probably shouldn't try and understand excel formulas 11 hours into a 12 hour shift.
 
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

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