Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default What function to determine the second small integer from a list?

I get a list of integers, and would like to determine which one is the second
small integers from the list. Does anyone know what function to perform the
above task?
Thank for any suggestion
Eric
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default What function to determine the second small integer from a list?

=small(range,2)

--
Regards,
Tom Ogilvy

"Eric" wrote in message
...
I get a list of integers, and would like to determine which one is the

second
small integers from the list. Does anyone know what function to perform

the
above task?
Thank for any suggestion
Eric



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default What function to determine the second small integer from a list?

Hi Tom,

if this said "=small(range,x)" then would there be a function that
could return the x value for a list of integers e.g =rank(range) ? or
would I have to come up with a UDF ?

Regards,
Jason Q

Tom Ogilvy wrote:
=small(range,2)

--
Regards,
Tom Ogilvy

"Eric" wrote in message
...
I get a list of integers, and would like to determine which one is the

second
small integers from the list. Does anyone know what function to perform

the
above task?
Thank for any suggestion
Eric


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default What function to determine the second small integer from a list?

Not sure I understand the question.

If you had integers in A1:A50 for example, then in B1 you put in the formula

=Small($A$1:$A$50,row())

and drag filled it down the column, it would give you a sorted list from
smallest to largest.

--
Regards,
Tom Ogilvy

"jase" wrote in message
oups.com...
Hi Tom,

if this said "=small(range,x)" then would there be a function that
could return the x value for a list of integers e.g =rank(range) ? or
would I have to come up with a UDF ?

Regards,
Jason Q

Tom Ogilvy wrote:
=small(range,2)

--
Regards,
Tom Ogilvy

"Eric" wrote in message
...
I get a list of integers, and would like to determine which one is the

second
small integers from the list. Does anyone know what function to

perform
the
above task?
Thank for any suggestion
Eric




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default What function to determine the second small integer from a list?

Hi Tom
Sorry my question is a bit unclear.
If you have the following list anywhere on a sheet

10
60
5
100
2

Lets say they are in cells F6:F10, then I was wondering if there is a
function which when put in cells G6:G10 will return

3
2
4
1
5

i.e it will put the rank in the cell 100 being the highest number, in
cell F9, therefore the function puts 1 in G9 - or is the only way
forward a UDF?

Thanks
J

Tom Ogilvy wrote:
Not sure I understand the question.

If you had integers in A1:A50 for example, then in B1 you put in the formula

=Small($A$1:$A$50,row())

and drag filled it down the column, it would give you a sorted list from
smallest to largest.

--
Regards,
Tom Ogilvy

"jase" wrote in message
oups.com...
Hi Tom,

if this said "=small(range,x)" then would there be a function that
could return the x value for a list of integers e.g =rank(range) ? or
would I have to come up with a UDF ?

Regards,
Jason Q

Tom Ogilvy wrote:
=small(range,2)

--
Regards,
Tom Ogilvy

"Eric" wrote in message
...
I get a list of integers, and would like to determine which one is the
second
small integers from the list. Does anyone know what function to

perform
the
above task?
Thank for any suggestion
Eric





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default What function to determine the second small integer from a lis

Thank everyone, This is perfect for my needs
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
What function to select the last 3 small values from a list ? Eric Excel Discussion (Misc queries) 7 December 31st 05 12:14 PM
What function to select the last 3 small values from a list ? Eric Excel Worksheet Functions 2 December 31st 05 08:02 AM
What function to determine the second small integer from a list? Eric Excel Worksheet Functions 3 December 30th 05 11:56 PM
What function to determine the second small integer from a list? Eric Excel Discussion (Misc queries) 1 December 30th 05 02:05 PM
Determine if Integer is Odd or Even GoFigure[_18_] Excel Programming 7 December 13th 05 02:39 AM


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"