Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cumberland
 
Posts: n/a
Default maximum number from a text range


Cells A1:A3 contain the following:

AZ1
AZ2
AZ3

I need a worksheet function that can give me the number 3 as the
maximum number from the range.

I would need to strip away the letters from the entry and convert the
"text" number to numeric using the MID and VALUE functions, and I know
that using *VALUE(MID(A1,3,1))* would give me the answer 1 for just
-that- particular cell, but can this be applied to a range, and can I
get the maximum number from that said range?

So, in an ideal world, I would use *MAX(VALUE(MID(A1:A3,3,1)))* but I
know that I can't - so, is there a suitable alternative?

Thanks in anticipation!


--
Cumberland
------------------------------------------------------------------------
Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445
View this thread: http://www.excelforum.com/showthread...hreadid=536409

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default maximum number from a text range

Try the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER...

=MAX(IF(A1:A3<"",MID(A1:A3,3,1024)+0))

Hope this helps!

In article ,
Cumberland
wrote:

Cells A1:A3 contain the following:

AZ1
AZ2
AZ3

I need a worksheet function that can give me the number 3 as the
maximum number from the range.

I would need to strip away the letters from the entry and convert the
"text" number to numeric using the MID and VALUE functions, and I know
that using *VALUE(MID(A1,3,1))* would give me the answer 1 for just
-that- particular cell, but can this be applied to a range, and can I
get the maximum number from that said range?

So, in an ideal world, I would use *MAX(VALUE(MID(A1:A3,3,1)))* but I
know that I can't - so, is there a suitable alternative?

Thanks in anticipation!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cumberland
 
Posts: n/a
Default maximum number from a text range


Thanks, it's worked!


--
Cumberland
------------------------------------------------------------------------
Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445
View this thread: http://www.excelforum.com/showthread...hreadid=536409

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Change number in Text Box in Excel Jerry Dyben Excel Discussion (Misc queries) 2 September 23rd 05 02:40 AM
Counting Occurrence of Text within Text in Cells in Range. Jeremy N. Excel Worksheet Functions 1 September 8th 05 05:16 AM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
What defines number or text Danny J New Users to Excel 3 December 7th 04 07:27 AM


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