#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LNS LNS is offline
external usenet poster
 
Posts: 8
Default Excel Functions

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 248
Default Excel Functions

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LNS LNS is offline
external usenet poster
 
Posts: 8
Default Excel Functions

thanks i tried both functions with and without the need of a separate column
for MIN but only function with MIn worked, the other just shows the min value
and not the title.
also could you please assist on which function to use to calculate the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LNS LNS is offline
external usenet poster
 
Posts: 8
Default Excel Functions

yes, my apologies, both functions work fine!!!
thanks for assistance but plz assist with the other query as to how to
calculate 2nd & 3rd min/max???




"LNS" wrote:

thanks i tried both functions with and without the need of a separate column
for MIN but only function with MIn worked, the other just shows the min value
and not the title.
also could you please assist on which function to use to calculate the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 248
Default Excel Functions

Try
=RANK(A1,$A$1:$A$6,0)
this will give you the rank of A1 in A1:A6, rank 1 for highest

=RANK(A1,$A$1:$A$6,1) will give you rank 1 for the smallest number
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

yes, my apologies, both functions work fine!!!
thanks for assistance but plz assist with the other query as to how to
calculate 2nd & 3rd min/max???




"LNS" wrote:

thanks i tried both functions with and without the need of a separate column
for MIN but only function with MIn worked, the other just shows the min value
and not the title.
also could you please assist on which function to use to calculate the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LNS LNS is offline
external usenet poster
 
Posts: 8
Default Excel Functions

No, what i meant is when i want to find minimum in F3, then i use the function
=MIN(C3:E3) and for maximum i use =MAX(C3:E3), but is there any possible
function that i can use to calculate 2nd lowest/highest and 3rd
lowest/highest?



"Sheeloo" wrote:

Try
=RANK(A1,$A$1:$A$6,0)
this will give you the rank of A1 in A1:A6, rank 1 for highest

=RANK(A1,$A$1:$A$6,1) will give you rank 1 for the smallest number
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

yes, my apologies, both functions work fine!!!
thanks for assistance but plz assist with the other query as to how to
calculate 2nd & 3rd min/max???




"LNS" wrote:

thanks i tried both functions with and without the need of a separate column
for MIN but only function with MIn worked, the other just shows the min value
and not the title.
also could you please assist on which function to use to calculate the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 248
Default Excel Functions

You an combine Index and Match just like you did for MIN/MAX

For numbers in A1:A6
enter this in B1 and copy to B6

=RANK(A1,$A$1:$A$6,0)

and this in C1
=INDEX($A$1:$A$6,MATCH(3,$B$1:$B$6,0))
will give you the third highest number

--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

No, what i meant is when i want to find minimum in F3, then i use the function
=MIN(C3:E3) and for maximum i use =MAX(C3:E3), but is there any possible
function that i can use to calculate 2nd lowest/highest and 3rd
lowest/highest?



"Sheeloo" wrote:

Try
=RANK(A1,$A$1:$A$6,0)
this will give you the rank of A1 in A1:A6, rank 1 for highest

=RANK(A1,$A$1:$A$6,1) will give you rank 1 for the smallest number
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

yes, my apologies, both functions work fine!!!
thanks for assistance but plz assist with the other query as to how to
calculate 2nd & 3rd min/max???




"LNS" wrote:

thanks i tried both functions with and without the need of a separate column
for MIN but only function with MIn worked, the other just shows the min value
and not the title.
also could you please assist on which function to use to calculate the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and operator will
be A???

please assist!

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel Functions

For the smallest:

=SMALL(C3:E3,n)

For the largest:

=LARGE(C3:E3,n)

Where n = the nth smallest/largest number that you want.

SMALL(C3:E3,1) and LARGE(C3:E3,1) are the same as:

MIN(C3:E3) and MAX(C3:E3)

*except* for when the range does not contain any numbers. MIN/MAX will
return 0 while SMALL/LARGE will return a #NUM! error.

--
Biff
Microsoft Excel MVP


"LNS" wrote in message
...
No, what i meant is when i want to find minimum in F3, then i use the
function
=MIN(C3:E3) and for maximum i use =MAX(C3:E3), but is there any possible
function that i can use to calculate 2nd lowest/highest and 3rd
lowest/highest?



"Sheeloo" wrote:

Try
=RANK(A1,$A$1:$A$6,0)
this will give you the rank of A1 in A1:A6, rank 1 for highest

=RANK(A1,$A$1:$A$6,1) will give you rank 1 for the smallest number
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

yes, my apologies, both functions work fine!!!
thanks for assistance but plz assist with the other query as to how to
calculate 2nd & 3rd min/max???




"LNS" wrote:

thanks i tried both functions with and without the need of a separate
column
for MIN but only function with MIn worked, the other just shows the
min value
and not the title.
also could you please assist on which function to use to calculate
the 2nd
lowest,3rd lowest (and vice versa 2nd highest, 3rd highest) without
having to
sort and arrange data in ascending/descending order.

"Sheeloo" wrote:

You can use this in E2 and copy down
=INDEX($C$1:$E$1,MATCH(MIN(C2:E2),C2:E2,0))
without having a separate column for MIN

or this in F2 with MIN in E2
=INDEX($C$1:$E$1,MATCH(F2,C2:E2,0))
--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"LNS" wrote:

hi,

i have a worksheet as similar to the one below and i am trying to
calculate
the minimum function and retrieve the corresponding column title:

A1 B1 C1 D1 E1 F1 G1
A2 COUNTRY A B C MIN OPERATOR
A3 UK 24 91 38 24 ??
A4 USA 36 65 39 36 ??
A5 INDIA 54 76 22 22 ??

What function can i use to find that for UK minimum is 24 and
operator will
be A???

please assist!



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
Multiple functions, conditional functions HeatherBelle Excel Worksheet Functions 7 October 17th 08 03:57 PM
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


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