Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default SORT A LIST OF NUMBERS AND LETTERS A,B,C,D AND FIND MAX

I have a drawing register that lists drawing numbers and the last time it was
issued. Initially the drawing is issued with a numbers, however as the
project continues, the number changes to a letter, eg A, then B, C etc. If
the drg has been issued as a number I want to extract the largest number,
however if its a letter, then i want to find the latest letter eg

a particular drg may be issued
S1001 1 2 3 4 5 A B C so i want to be able to extract C
S1002 1 2 3 so i want to be able to extract 3
S1003 A B C D E so i want to be able to extract E

its ok if there are only a couple of drawings, but 500+ drgs takes a while
to sort out
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default SORT A LIST OF NUMBERS AND LETTERS A,B,C,D AND FIND MAX

There may be a simpler solution, but if your data is in B1:I1 and assuming
your numbers could be = 10, try:
=IF(SUM(--ISTEXT(B1:I1)),CHAR(MAX(IF(B1:I1<"",CODE(B1:I1)," "))),MAX(B1:I1))

If your numbers will always be < 10, try shortening it to:
=CHAR(MAX(IF(B1:I1<"",CODE(B1:I1),""))

Both are array entered (entered with Control+Shift+Enter, not just the enter
key)

"Darryl" wrote:

I have a drawing register that lists drawing numbers and the last time it was
issued. Initially the drawing is issued with a numbers, however as the
project continues, the number changes to a letter, eg A, then B, C etc. If
the drg has been issued as a number I want to extract the largest number,
however if its a letter, then i want to find the latest letter eg

a particular drg may be issued
S1001 1 2 3 4 5 A B C so i want to be able to extract C
S1002 1 2 3 so i want to be able to extract 3
S1003 A B C D E so i want to be able to extract E

its ok if there are only a couple of drawings, but 500+ drgs takes a while
to sort out

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default SORT A LIST OF NUMBERS AND LETTERS A,B,C,D AND FIND MAX

It looks like you'd like to return the last value in the row. If so,
try...

=LOOKUP(2,1/(Range<""),Range)

Hope this helps!

In article ,
Darryl wrote:

I have a drawing register that lists drawing numbers and the last time it was
issued. Initially the drawing is issued with a numbers, however as the
project continues, the number changes to a letter, eg A, then B, C etc. If
the drg has been issued as a number I want to extract the largest number,
however if its a letter, then i want to find the latest letter eg

a particular drg may be issued
S1001 1 2 3 4 5 A B C so i want to be able to extract C
S1002 1 2 3 so i want to be able to extract 3
S1003 A B C D E so i want to be able to extract E

its ok if there are only a couple of drawings, but 500+ drgs takes a while
to sort out

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
Finding most common occurence of values in cells containing letters and numbers sparklyballs Excel Worksheet Functions 2 August 18th 06 12:16 PM
Change the header columes back to letters not numbers Richard New Users to Excel 1 June 8th 06 11:56 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 05:51 PM
VLOOKUP for a cell with both letters and numbers Sonohal Excel Discussion (Misc queries) 6 April 8th 05 02:13 PM
Finding Numbers with Cells that also contain letters Adam Excel Discussion (Misc queries) 7 December 29th 04 03:41 PM


All times are GMT +1. The time now is 06:41 AM.

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

About Us

"It's about Microsoft Excel"