Hi Sam,

I had a specific question. We can use the =LARGE(<range>,2) to retrieve the
2nd highest number in most of the cases.
However when I tried the same with a specific list 1,2,2,3,3 the result was
3 instead of 2 which shd be the correct answer.
Can you pease check, why is this exception happening.

Cheers,
Andy

On Sat, Dec 3, 2011 at 3:41 PM, Sam Mathai Chacko <samde...@gmail.com>wrote:

> While most of the solutions revolve around getting the second highest
> value from a list of duplicates, here's something that will help you get a
> unique list of Large values from a list of duplicates.
>
>
> =IF(ROW($A$1:$A$10)=ROW(),LARGE($A$1:$A$10,1),LARGE($A$1:$A$10,ROWS($A$1:$A$10)-COUNTIF($A$1:$A$10,"<"&INDIRECT(ADDRESS(ROW()-1,COLUMN())))+1))
>
> Asa, probably something you are looking for?
>
> Regards,
>
> Sam Mathai Chacko
>
>
> On Sat, Dec 3, 2011 at 12:51 AM, Aamir Shahzad 
> <aamirshahza...@gmail.com>wrote:
>
>> Nice work Rajan.
>>
>> Aamir Shahzad
>>
>> On Fri, Dec 2, 2011 at 11:24 PM, rajan verma <rajanverma1...@gmail.com>wrote:
>>
>>> if your list in a1:a10 then try this with CSE (ctrl+shift+Enter)
>>> =MAX(IF(A1:A10<>MAX(A1:A10),A1:A10))
>>>
>>>
>>>
>>> On Fri, Dec 2, 2011 at 5:31 AM, dguillett1 <dguille...@gmail.com> wrote:
>>>
>>>>   Although the ORIGINAL post said nothing about DUPLICATES
>>>> Using your sample, In P1
>>>> =LARGE(O:O,1)
>>>> and in P2
>>>> =SMALL(O:O,COUNTIF(O:O,"<="&Q1)-ROW(A2))
>>>> copied down
>>>>
>>>>
>>>> Don Guillett
>>>> SalesAid Software
>>>> dguille...@gmail.com
>>>>
>>>>  *From:* Asa Rossoff <a...@lovetour.info>
>>>> *Sent:* Thursday, December 01, 2011 4:29 PM
>>>> *To:* excel-macros@googlegroups.com
>>>> *Subject:* RE: $$Excel-Macros$$ How to Extract the Second Biggest
>>>> number from a list of numbers
>>>>
>>>>
>>>> Hi Don,
>>>>
>>>> If you mean each row will show the 1st, 2nd, 3rd largest, etc.,
>>>> disregarding duplicates…. doesn't work for me.
>>>>
>>>>
>>>>
>>>> Tested with this somewhat arbirtary data set:
>>>>
>>>> 1
>>>>
>>>> 1
>>>>
>>>> 1
>>>>
>>>> 5
>>>>
>>>> 5
>>>>
>>>> 8
>>>>
>>>> 9
>>>>
>>>> 9
>>>>
>>>> 11
>>>>
>>>> 11
>>>>
>>>>
>>>>
>>>> Your formulas return:
>>>>
>>>> *11*
>>>>
>>>> *9*
>>>>
>>>> *9*
>>>>
>>>> *8*
>>>>
>>>> *5*
>>>>
>>>> *5*
>>>>
>>>> *5*
>>>>
>>>> *1*
>>>>
>>>> *1*
>>>>
>>>> *1*
>>>>
>>>> *1*
>>>>
>>>>
>>>>
>>>> (Even more values than were in the original list)
>>>>
>>>> Asa
>>>>
>>>>
>>>>
>>>> *From:* excel-macros@googlegroups.com [mailto:
>>>> excel-macros@googlegroups.com] *On Behalf Of *dguillett1
>>>> *Sent:* Thursday, December 01, 2011 11:45 AM
>>>> *To:* excel-macros@googlegroups.com
>>>> *Subject:* Re: $$Excel-Macros$$ How to Extract the Second Biggest
>>>> number from a list of numbers
>>>>
>>>>
>>>>
>>>> or this copied down
>>>>
>>>> =SMALL(I:I,FREQUENCY(I:I,MAX(I:I)-(ROW(A1)-1)))
>>>>
>>>>
>>>>
>>>> Don Guillett
>>>> SalesAid Software
>>>> dguille...@gmail.com
>>>>
>>>>
>>>>
>>>> *From:* Haseeb Avarakkan <haseeb.avarak...@gmail.com>
>>>>
>>>> *Sent:* Thursday, December 01, 2011 1:04 PM
>>>>
>>>> *To:* excel-macros@googlegroups.com
>>>>
>>>> *Subject:* Re: $$Excel-Macros$$ How to Extract the Second Biggest
>>>> number from a list of numbers
>>>>
>>>>
>>>>
>>>> You can also use SMALL function like,
>>>>
>>>> =SMALL(A:A,FREQUENCY(A:A,MAX(A:A)-1))
>>>>
>>>> will give the 2nd largest number, even if you have duplicate or not.
>>>>
>>>> ___________
>>>> HTH, Haseeb
>>>> --
>>>> FORUM RULES (934+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>
>>>> --
>>>> FORUM RULES (934+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>> --
>>>> FORUM RULES (934+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>   --
>>>> FORUM RULES (934+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> Rajan verma
>>> +91 9158998701
>>>  --
>>> FORUM RULES (934+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>
>>
>>
>> --
>>
>> Regards,
>>
>> Aamir Shahzad
>>
>>  --
>> FORUM RULES (934+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
> --
> Sam Mathai Chacko
>
>  --
> FORUM RULES (934+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>



-- 

Warm Regards,
Aindril De
Ph: 9811300157

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to