Highlight missing sequential number

%3CLINGO-SUB%20id%3D%22lingo-sub-2017116%22%20slang%3D%22en-US%22%3EHighlight%20missing%20sequential%20number%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2017116%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20do%20I%20check%20for%20missing%20numbers%20is%20Excel%3F%20Current%20numbers%20should%20be%20sequential%20and%20I%20want%20Excel%20to%20tell%20me%20is%20there%20is%20a%20missing%20number.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2017116%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2017427%22%20slang%3D%22en-US%22%3ERe%3A%20Highlight%20missing%20sequential%20number%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2017427%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F912449%22%20target%3D%22_blank%22%3E%40SusanB1066%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20could%20use%20a%20formula%20in%20either%20a%20helper%20column%20or%20conditional%20format.%20Say%20your%20data%20is%20in%20A2%3AA10%20(A1%20is%20a%20header)%2C%20then%20try%20this%20formula%20in%20B2%20and%20copy%20down.%20Or%2C%20you%20could%20select%20A2%3AA10%20and%20use%20the%20formula%20in%20conditional%20format%20to%20highlight%20non-sequential%20entries.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(ROW(%24A2)%26gt%3BROW(%24A%242)%2C%24A2-1%26lt%3B%26gt%3B%24A1)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JMB17_0-1609138518516.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F243022i1C91711370B6EEAF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JMB17_0-1609138518516.png%22%20alt%3D%22JMB17_0-1609138518516.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

How do I check for missing numbers is Excel? Current numbers should be sequential and I want Excel to tell me is there is a missing number.

2 Replies

@SusanB1066 

 

You could use a formula in either a helper column or conditional format. Say your data is in A2:A10 (A1 is a header), then try this formula in B2 and copy down. Or, you could select A2:A10 and use the formula in conditional format to highlight non-sequential entries.

 

=IF(ROW($A2)>ROW($A$2),$A2-1<>$A1)

JMB17_0-1609138518516.png

 

 

 

 

@JMB17 

IMHO, more simple CF formula =$A2<>$A1+1 shall work.