+ Reply to Thread
Results 1 to 7 of 7

Large function with if criteria

  1. #1
    Registered User
    Join Date
    05-22-2007
    Posts
    13

    Large function with if criteria

    Hello,

    I have a data set where I am trying to find the nth largest value based on one criteria? How would one use do this using the large function?

    Example:

    Dept. Name / Widgets
    ABC / 10
    ABC / 8
    XYZ / 9
    ABC 7
    ABC / 3
    XYZ / 4

    If I need the third most widget production of Dept ABC, the formula return 7.

    Many thanks in advance for any assistance you can provide.
    Last edited by ronleex324; 03-20-2009 at 02:30 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Large function with if criteria

    Try:

    =Large(If(A1:A6="ABC",B1:B6),3)

    adjust ranges to suit

    confirmed with CTRL+SHIFT+ENTER not just ENTER.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-22-2007
    Posts
    13

    Re: Large function with if criteria

    Thank you very much.

    A follow-on question: if i need to return unique values, how would one modify the formula?

    Example:

    Dept. Name / Widgets
    ABC / 10
    ABC / 8
    XYZ / 9
    ABC 7
    ABC 7
    ABC / 3
    XYZ / 4

    Based on the formula you provided, the third largest value for Dept ABC will be 7. However, if I extend it to the fourth largest value, the formula will also return 7.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Large function with if criteria

    Maybe you can attach a sample worksheet showing more of the whole picture... I am guessing once a formula is provided, there will be some additional requirements/conditions that will change the situation....

  5. #5
    Registered User
    Join Date
    05-22-2007
    Posts
    13

    Re: Large function with if criteria

    hello,

    I attached a spreadsheet showing a simplistic example of my data set.

    The objective is to to sum up the Shares Authorized for a give Stock Ticker based on the unique Ticket #. For example, GE will have a aggregate Shares Authorized of 5 million shares (1 million from Ticket #2, 2 million from Ticket #7 and 2 million from Ticket #12). For MSFT, there will be 6 million of Shares Authorized (1 million from Ticket #1 and 5 million frm Ticket #6).

    How would I do this in excel? Many thanks in advance.
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Large function with if criteria

    Try this formula in E6:

    Please Login or Register  to view this content.

    confirmed with CTRL+SHIFT+ENTER
    and copied down.

  7. #7
    Registered User
    Join Date
    05-22-2007
    Posts
    13

    Re: Large function with if criteria

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1