In an excel work sheet, is there a way to verify that the numbering in a column is in sequence and if a number is missing in the sequence to identify it?
If there is logic to the sequence, simply test the logic
eg - if you require numbers to increment by 1 then
=if(A2-A1<>1,"Error in sequence","")
if you require them to increment by 5 then
=if(A2-A1<>5,"Error in sequence","")
in both cases, copy the formula to the bottom of your data set and then use the filter to view missing items
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This will give you the upper numbers below which there are missing numbers in teh sequence
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
sorry to be a pain, but, i am not understanding. I have two columns: column "A" contains the sequenced numbers I am checking and column "B" is currently blank but where I want the "Error in sequence" remark.
1. where do I place the formula?(for testing purposes, lets assume I have data in range a1:a50
2. how do I use the filter once the formula is placed in the proper cell?
formula goes in cell B1
copy it down to B50
Select both columns
Data>Filter>Autofilter
select "Error In Sequence"
et voila
for datasets of that kind of size though, I would simply 'eyeball' the data
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.