ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Displays wrong result (https://www.excelbanter.com/excel-worksheet-functions/237629-displays-wrong-result.html)

FirstVette52

Displays wrong result
 
For the following formula:

=MAX(VALUE(RIGHT($A$1:$A$22,8)))

....for a list of numbers

L00000001, L00000002, L00000003, L00000004, L00000005 ... L00000022

....the result displays correctly (The result is ...) on the bottom of the
Function dialog box. But when I click 'OK' to close the box and apply the
formula to the cell it displays something different ( 1).

The cell format is 'General'. Any ideas what I might have done wrong?

Thx in advance!
--
FirstVette52

RagDyeR

Displays wrong result
 
It's an *array* formula and must be entered as such!

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"FirstVette52" <(My User name is Firstvette 52, too) firstvet52@(my ISP
E-mail provider is) netzero.com wrote in message
...
For the following formula:

=MAX(VALUE(RIGHT($A$1:$A$22,8)))

...for a list of numbers

L00000001, L00000002, L00000003, L00000004, L00000005 ... L00000022

...the result displays correctly (The result is ...) on the bottom of the
Function dialog box. But when I click 'OK' to close the box and apply the
formula to the cell it displays something different ( 1).

The cell format is 'General'. Any ideas what I might have done wrong?

Thx in advance!
--
FirstVette52




Teethless mama

Displays wrong result
 
Try this:

=MAX(INDEX(0+RIGHT(A1:A22,8),))

Just press ENTER


"FirstVette52" wrote:

For the following formula:

=MAX(VALUE(RIGHT($A$1:$A$22,8)))

...for a list of numbers

L00000001, L00000002, L00000003, L00000004, L00000005 ... L00000022

...the result displays correctly (The result is ...) on the bottom of the
Function dialog box. But when I click 'OK' to close the box and apply the
formula to the cell it displays something different ( 1).

The cell format is 'General'. Any ideas what I might have done wrong?

Thx in advance!
--
FirstVette52



All times are GMT +1. The time now is 10:57 PM.

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