Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Find Non-consecutive numbers in list

One Way -

Assuming your list of invoice numbers is in cells A1:A1000 on Sheet
and that they are sorted in numerical order -

On Sheet2 enter the following formula in A2
=IF(SHEET1!A2=SHEET1!A1+1,"",SHEET1!A1+1).

Copy this formula down to cells A3:A1000 on SHEET2 and you will have
list of all missing invoice numbers with the other cells all blank. I
you want to remove all of the blank cells, just sort A2:A1000 i
ascending order and your list will be in consecutive cells at the to
of the column

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting consecutive numbers in a list Wiseguy91 Excel Worksheet Functions 1 January 12th 10 03:52 AM
Counting Consecutive Numbers in a List Wiseguy91 Excel Worksheet Functions 1 January 12th 10 03:51 AM
Counting consecutive numbers in a list Wiseguy91 Excel Worksheet Functions 0 January 11th 10 11:07 PM
Find and replace consecutive numbers Colin Hayes Excel Worksheet Functions 6 December 26th 06 03:45 PM
how do i make a list of consecutive numbers in a column? mawineguy Excel Worksheet Functions 1 February 15th 05 10:09 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"