Skip to main content

How to highlight consecutive or non-consecutive numbers from a column in Excel?

Author Xiaoyang Last modified

Identifying consecutive or non-consecutive numbers in a column is useful for spotting gaps in a sequence. This guide explains how to highlight these numbers in Excel using Conditional Formatting or the Find Missing Sequence Number utility in Kutools for Excel.

Highlight consecutive or non-consecutive numbers from a column with Conditional Formatting

Highlight non-consecutive numbers from a column with Kutools for Excel


Highlight consecutive or non-consecutive numbers from a column with Conditional Formatting

In fact, the Conditional Formatting feature of Excel can help you to highlight the consecutive or non-consecutive numbers in a column, please do as follows:

1. Select the break sequence number list, and click Home > Conditional Formatting > New Rule, see screenshot:

Screenshot of the Conditional Formatting menu in Excel

2. In the popped out New Formatting Rule dialog box, please do the following operations:

(1.) Click Use a formula to determine which cells to format in the Select a Rule Type list box;

(2.) Enter this formula =A2+1=A3 (A2 is the first number of the sequence number) into the Format values where this formula is true text box;

(3.) Then click Format button to go to the Format Cells dialog box;

(4.) At last, choose one color you like to highlight the consecutive numbers from the Fill tab. See screenshot:

Screenshot of the New Formatting Rule dialog box in Excel with a formula to highlight consecutive numbers

3. Then click OK > OK to close the dialogs, and now, you can see the groups of consecutive sequence numbers have been highlighted imminently. See screenshot:

Screenshot of highlighted consecutive numbers in a column using Conditional Formatting in Excel

Note: To highlight the non-consecutive numbers which break the series numbers, apply this formula: =A2+1<>A3 in the Conditional Formatting.


Highlight non-consecutive numbers from a column with Kutools for Excel

With Kutools for Excel’s Find Missing Sequence Number utility, you can quickly find and highlight missing numbers and optionally insert them into the sequence.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

1. Select the sequence list, and click Kutools > Insert > Find Missing Sequence Number, see screenshot:

Screenshot of Kutools for Excel's Find Missing Sequence Number feature in the menu

2. In the Find Missing Sequence Number dialog box, please select Fill background color option under the Handling missing sequence number, and choose one color you want to highlight the cells which break the sequence numbers, and then click OK button, all the non-consecutive numbers have been highlighted at once, see screenshot:

Screenshot showing non-consecutive numbers highlighted in Excel using Kutools Find Missing Sequence Number dialog

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Demo: Highlight non-consecutive numbers from a column with Kutools for Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Related article:

How to highlight consecutive duplicate cells from a list in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!