Find "missing" numbers in a sequence

scewing

New Member
Joined
Nov 4, 2002
Messages
3
I download my company's bank statements monthly, and sort the transactions by check number. This month, the beginning check number was 3126 and the ending check number was 3348. However, there were a few checks that have not been cashed and therefore do not show up on the statement. What is the quickest way to identify what check numbers are missing in the sequence without manually scrolling through and finding missing check numbers? Thanks!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

kskinne

Well-known Member
Joined
Feb 17, 2002
Messages
1,267
Office Version
  1. 365
Platform
  1. Windows
hello scott and welcome to the board

as an example, if A1:A100 contains your check numbers, you could place the following formula in cell B2:

=IF(A2-A1=1,"","X")

and copy all the way down to cell B100.

whenever there is a missing check number, an 'X' will show up in column B where the skip in sequence starts. modify this to suit your own needs. would this work for you?

hth
kevin
 

Forum statistics

Threads
1,144,264
Messages
5,723,326
Members
422,493
Latest member
RobF2112

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
Top