Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Liz Liz is offline
external usenet poster
 
Posts: 133
Default Finding missing numbers in a sorted sequence

Hi there

We use Excel to create our orders and our order numbers start with TT- (Eg:
TT-4056). We are at 7000 entries and I need a way to check that no orders
have been left out.

How do I highlight any missing numbers in the sequence of order numbers?
Eg:
TT-4055
TT-4056
TT-4058
TT-4059
I need to know that TT-4057 is missing.

Any help appreciated!!!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Finding missing numbers in a sorted sequence

Hi Liz,

I am assuming that you have the data which needs to be sorted in column A of
Master sheet tab of excel workbook. After sorting copy that data in a new
tab (Here it is there in Sheet 2).
Now apply the following formula in the Master sheet tab and drag it till the
end.

=MATCH($A:$A,Sheet 2!$A:$A,0)

So, where you have #N/A, means that particular item is not there in the
Sorted List.

Please click on "Yes" if it works. Thanks.
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)


New Delhi, India


"Liz" wrote:

Hi there

We use Excel to create our orders and our order numbers start with TT- (Eg:
TT-4056). We are at 7000 entries and I need a way to check that no orders
have been left out.

How do I highlight any missing numbers in the sequence of order numbers?
Eg:
TT-4055
TT-4056
TT-4058
TT-4059
I need to know that TT-4057 is missing.

Any help appreciated!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Finding missing numbers in a sorted sequence


Liz;261296 Wrote:
Hi there

We use Excel to create our orders and our order numbers start with TT-
(Eg:
TT-4056). We are at 7000 entries and I need a way to check that no
orders
have been left out.

How do I highlight any missing numbers in the sequence of order
numbers?
Eg:
TT-4055
TT-4056
TT-4058
TT-4059
I need to know that TT-4057 is missing.

Any help appreciated!!!


You can also use conditional formatting with following condition

=RIGHT(a2;4)*1-RIGHT(a1;4)1

This will highlight the string just before the missing one


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=72901

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,549
Default Finding missing numbers in a sorted sequence

With your "numbers" starting in A1, enter this formula in B1 and fill down...
=IF(VALUE(RIGHT(A1,4)) = VALUE(RIGHT(A2,4))-1,"","Check")
The above assumes the actual numbers are the last 4 characters in each "number".
Trailing spaces must be removed from the "numbers" before using the formula.
--
Jim Cone
Portland, Oregon USA



"Liz"
wrote in message
Hi there
We use Excel to create our orders and our order numbers start with TT- (Eg:
TT-4056). We are at 7000 entries and I need a way to check that no orders
have been left out.

How do I highlight any missing numbers in the sequence of order numbers?
Eg:
TT-4055
TT-4056
TT-4058
TT-4059
I need to know that TT-4057 is missing.
Any help appreciated!!!

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
find missing numbers in a sequence kaytoo Excel Discussion (Misc queries) 1 June 13th 06 05:09 PM
find missing numbers in a sequence kaytoo Excel Discussion (Misc queries) 1 June 13th 06 04:43 PM
indicate a missing number in a sequence mmock Excel Discussion (Misc queries) 13 February 22nd 06 03:23 AM
How do I find a missing number in a sequence of numbers? Nash Excel Worksheet Functions 2 August 11th 05 04:22 AM
Finding numbers missing from a sequence andy Excel Discussion (Misc queries) 3 April 8th 05 04:16 PM


All times are GMT +1. The time now is 07:00 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"