ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I find a max TEXT value? (https://www.excelbanter.com/excel-discussion-misc-queries/75689-how-do-i-find-max-text-value.html)

Phoebe

how do I find a max TEXT value?
 
I am trying to use the max function but on a series of text values ie. a, f,
h, k - to return K as max value

JE McGimpsey

how do I find a max TEXT value?
 
One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=CHAR(MAX(CODE(A1:A10)))

Adjust the range as required.

In article ,
Phoebe wrote:

I am trying to use the max function but on a series of text values ie. a, f,
h, k - to return K as max value


RagDyeR

how do I find a max TEXT value?
 
One way would be this *array* formula:

=CHAR(MAX(CODE(A1:A5)))
--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Phoebe" wrote in message
...
I am trying to use the max function but on a series of text values ie. a, f,
h, k - to return K as max value




All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com