+ Reply to Thread
Results 1 to 5 of 5

Index function top three amounts next to.

  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    3

    Index function top three amounts next to.

    Hello all,

    I am trying to formulate a function that will add up the top three items in column c based off of the top three largest items in column b. I tried using an index function associated with a couple of if and row functions but I could not get it to work. I have attached a document for explanation purposes. Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Index function top three amounts next to.

    To sum up top 3 try this

    =SUM(LARGE(B5:B11,{1,2,3}))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    10-21-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    3

    Re: Index function top three amounts next to.

    Yeah, but I'm not trying to add up the top three in column B. I'm trying add up the three amounts in column C based on the top three amounts in column B.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Index function top three amounts next to.

    Ok, try this array formula

    =SUM(LARGE(IF(B5:B11>=2000,C5:C11),{1,2,3}))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

  5. #5
    Registered User
    Join Date
    10-21-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    3

    Re: Index function top three amounts next to.

    Actually, looking at the equation, it only works if my third lowest amount is 2,000. Is there any way to get around that if the lowest third amount changes? Also, would this work if there were duplicate top three amounts?

    EDITED
    Last edited by wongkey; 10-22-2014 at 02:05 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-23-2014, 09:56 PM
  2. [SOLVED] Add Invoice Amounts and Paid Amounts based on user inputs.
    By s2jrchoi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2013, 01:49 PM
  3. sum function for multiple amounts w/various tenors
    By finance14 in forum Excel General
    Replies: 4
    Last Post: 11-10-2011, 06:07 PM
  4. contain amounts:Date Function
    By wcheaib in forum Excel General
    Replies: 1
    Last Post: 09-18-2011, 12:46 AM
  5. Replies: 2
    Last Post: 03-09-2011, 09:02 AM

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