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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,834
Members
449,192
Latest member
mcgeeaudrey

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