1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

How to determine if any numbers in a series were skipped

In column J of my main data entry sheet, I have a series of case numbers. They all begin with 4 digits for the year, followed by a dash (-), and then 3 digits for the case number (sample: 2026-001, 2026-002, etc). They're supposed to be used consecutively. Each year begins again at '-001'. I have a conditional formatting rule to highlight the number if it has already been used, but now I need a way to determine if a number was skipped. I want the results to be reflected on 'Sheet 1'.

https://preview.redd.it/xiprg8b6p36h1.png?width=412&format=png&auto=webp&s=21b6289b64f15b947d4a186cbbe90c2991a8700f

https://preview.redd.it/wgx3rzc7p36h1.png?width=832&format=png&auto=webp&s=59f8ad623dad62ae125a1d5e1135b03808866ede

https://preview.redd.it/cq4zlo08p36h1.png?width=804&format=png&auto=webp&s=2787a2dc18de8b92bdc1cfb50b7dbad27446286f

https://preview.redd.it/oag8w8m8p36h1.png?width=639&format=png&auto=webp&s=cdf85bca75b866c9edc6ba0c386780db0e1c1305

submitted by /u/Peachy_WW_428
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article