Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How would one pick out the best km/h from a column of numbers. example below
5.58 5.95 5.22 Where 5.95 is the best from the above list. -- Regards Michael Koerner |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is "best" the same as "largest number"? If so, use the MAX function. Here is an example... if your values are in Column A, then...
=MAX(A2:A100) will find the largest number in Column A between (and including) rows 2 and 100. -- Rick (MVP - Excel) "Michael Koerner" wrote in message ... How would one pick out the best km/h from a column of numbers. example below 5.58 5.95 5.22 Where 5.95 is the best from the above list. -- Regards Michael Koerner |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If by "best" you mean highest, you could use a cell formula like one of these:
=MAX(A1:A3) =MAX(A:A) Using VBA, you could use something like: Dim InRng As Range Set InRng = Columns("A:A") MsgBox Application.WorksheetFunction.Max(InRng) or just: MsgBox Application.WorksheetFunction.Max(ActiveSheet.Colu mns("A:A")) Hope this helps, Hutch "Michael Koerner" wrote: How would one pick out the best km/h from a column of numbers. example below 5.58 5.95 5.22 Where 5.95 is the best from the above list. -- Regards Michael Koerner |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It does, and thank you very much.
-- Regards Michael Koerner "Tom Hutchins" wrote in message ... If by "best" you mean highest, you could use a cell formula like one of these: =MAX(A1:A3) =MAX(A:A) Using VBA, you could use something like: Dim InRng As Range Set InRng = Columns("A:A") MsgBox Application.WorksheetFunction.Max(InRng) or just: MsgBox Application.WorksheetFunction.Max(ActiveSheet.Colu mns("A:A")) Hope this helps, Hutch "Michael Koerner" wrote: How would one pick out the best km/h from a column of numbers. example below 5.58 5.95 5.22 Where 5.95 is the best from the above list. -- Regards Michael Koerner |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
They are, and thank you very much.
-- Regards Michael Koerner "Rick Rothstein" wrote in message ... Is "best" the same as "largest number"? If so, use the MAX function. Here is an example... if your values are in Column A, then... =MAX(A2:A100) will find the largest number in Column A between (and including) rows 2 and 100. -- Rick (MVP - Excel) "Michael Koerner" wrote in message ... How would one pick out the best km/h from a column of numbers. example below 5.58 5.95 5.22 Where 5.95 is the best from the above list. -- Regards Michael Koerner |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine best way to sum | Excel Discussion (Misc queries) | |||
How to determine the value - 15 Dec? | Excel Discussion (Misc queries) | |||
How do I determine a y value for x ? | Charts and Charting in Excel | |||
How to determine the value - 8 Dec? | Excel Discussion (Misc queries) | |||
How to determine the value? | Excel Discussion (Misc queries) |