+ Reply to Thread
Results 1 to 6 of 6

Help with creating function...

  1. #1
    Registered User
    Join Date
    06-03-2008
    Posts
    1

    Help with creating function...

    I am hoping someone can help me. I need to find a function or string of funtions to do the following:

    I have 20 numbers entered in a column. What i need is to use a function that will add up the lowest 10 of the 20 numbers and give me the total.

    Any ideas ?

    Jim

    PS i know i could sort them and then select the bottom 10 but that is not an option in my situation.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Here's one way, with your numbers in column A, put this in B1

    =SMALL($A$1:$A$20,ROW()) and drag down to row 10, then in C1

    =SUM(B1:B10)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You could use this array formula:

    =AVERAGE(IF(RANK(A1:A20, A1:A20) > 10, A1:A20))


    Array formulas MUST be confirmed with Ctrl+Shift+Enter, not Enter. You'll know you did it correctly if curly braces appear around the formula in the Formula Bar; you cannot type in the braces directly.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi shg,

    Don't you mean this array formula:

    =SUM(IF(RANK(A1:A20, A1:A20) > 10, A1:A20))

    Array formulas MUST be confirmed with Ctrl+Shift+Enter, not Enter. You'll know you did it correctly if curly braces appear around the formula in the Formula Bar; you cannot type in the braces directly.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Quote Originally Posted by oldchippy
    Don't you mean this array formula:
    Indeed, oldchippy, thank you.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    This Equation works too. It is not an array equation
    Please Login or Register  to view this content.
    ChemistB

+ 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. Creating an IF function with VB
    By Tracer123 in forum Excel General
    Replies: 4
    Last Post: 05-23-2008, 09:59 PM
  2. Creating a SUMPRODUCTIF Function
    By thawthorne in forum Excel General
    Replies: 1
    Last Post: 05-23-2008, 12:19 PM
  3. Creating an advanced search/find function
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-03-2008, 03:46 AM
  4. Creating a Function
    By kkeener in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2007, 01:46 PM
  5. Creating function to find and format/fill
    By GeoGreco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2007, 04:26 PM

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