+ Reply to Thread
Results 1 to 2 of 2

Is it possible to count some numbers in a range(Descending order range)

  1. #1
    Registered User
    Join Date
    03-04-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Is it possible to count some numbers in a range(Descending order range)

    Is it possible to count some numbers in a range(Descending order range), where those some numbers forms round about 50% of the total sum of the range.

    ex-
    A 2742819 20.30%
    B 1781170 13.18%
    C 1555761 11.51%
    D 1504020 11.13%
    E 1037787 7.68%
    F 943238 6.98%
    G 929913 6.88%
    H 890030 6.59%
    I 738115 5.46%
    J 707029 5.23%
    K 682963 5.05%
    SUMTOTAL 13512844 100.00%

    Here the range is in descending order.
    Now here I want to count the number of items summing to 50% of the total value(i.e 50% of 13512844).
    I have to manually sum to round about of 50%(+/- 2%) and count the individual values that how many have come under that 50%.

    is there any formula for that? because I have to do same work for 500 times.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Is it possible to count some numbers in a range(Descending order range)

    With your sample data in A1:C12

    This regular formula calculates the maximum count of cells, beginning from the bottom, that aggregate to a sum that is equal to or less than 50% of the overall sum
    Please Login or Register  to view this content.

    For your data, that formula calculates: 7
    50% of 1,3512,844 would be: 6,756422
    The last 7 values (B11:B5) sum to: 5,929,075...The 8th value (B6) would cause the total to exceed 6,756,422

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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