LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 252
Default Show Next Number in sequence

Assuming "Order Number" is in cell A1 you can use this formula to display the
next available Number. This only works because you are going in sequential
order.

=INDEX(A1:B5,2+COUNTIF(B1:B5,"In Use"),1)

"Steven Brookes" wrote:

i have a sheet showing an order number and it availablility:

Order Number Status
BIO10001 In Use
BIO10002 In Use
BIO10003 Available
BIO10004 Available

etc etc

This sheet is a 'tool' for the main sheet where users allocate order numbers
to a specific order, they choose the next available order number from the
next 'Available' one as above. The 'Status' is set by using a COUNTIF which
displays in results in a hidden field. Then the 'Status' field it is is based
on =IF(I114=1,"In Use","Available")

What i would like is to display the next available order number on the main
sheet, say in a cell at the top i.e "The Next Available Order Number is" my
question is how do i get excel to display the next 'Available' order number
from my list automatically

 
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
Negative number results to show as zero Soccer Guy Excel Discussion (Misc queries) 2 October 27th 06 08:12 PM
Display zero at the begnning of a number sequence in Excel Janelle Lister Excel Discussion (Misc queries) 2 July 27th 06 03:54 PM
sequence number based on date denise Excel Worksheet Functions 2 July 25th 06 10:51 PM
How do I show negative number in brackets using excel? Alex Excel Worksheet Functions 3 September 7th 05 08:52 PM
Automatic Number Sequence Awissa Excel Discussion (Misc queries) 1 July 8th 05 05:28 AM


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