+ Reply to Thread
Results 1 to 2 of 2

Count the number of cells needed to sum a given value

  1. #1
    Registered User
    Join Date
    10-31-2010
    Location
    Brazil
    MS-Off Ver
    Excel 2007
    Posts
    1

    Count the number of cells needed to sum a given value

    Dears,

    What I am trying to do is a little hard to explain without confusion, so lets give a first try:

    In a given cell range where each cell has a different number, I wanna calculate how many of those cells are needed to sum a given value.

    For instance, imagine that we have the following values one in each cell:
    2 2 2 3 3 8 9 12 16 19 24

    Looking those values, we know that the minimum number of cells one should sum to achieve 50 is equal 3 because 24 + 19 + 16 > 50.

    But how could we design a formula to count that automatically even in cases with lots of cell being analysed?

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Count the number of cells needed to sum a given value

    You might take a look at using Excel Solver
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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