Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Determine the best km/h

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Determine the best km/h

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,069
Default Determine the best km/h

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Determine the best km/h

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Determine the best km/h

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
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
Determine best way to sum WLMPilot Excel Discussion (Misc queries) 4 December 22nd 08 02:03 AM
How to determine the value - 15 Dec? Eric Excel Discussion (Misc queries) 4 December 15th 08 05:46 AM
How do I determine a y value for x ? Flyrodder Charts and Charting in Excel 2 December 11th 08 02:57 PM
How to determine the value - 8 Dec? Eric Excel Discussion (Misc queries) 14 December 9th 08 06:23 PM
How to determine the value? Eric Excel Discussion (Misc queries) 2 March 7th 08 12:55 AM


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