+ Reply to Thread
Results 1 to 10 of 10

Trying to sum 4 cells where 1 is multiplied without exceeding a value.

  1. #1
    Registered User
    Join Date
    01-16-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2000
    Posts
    9

    Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    so im trying to sum the cells C20:F20 while having cell E20 multiplied by cell C4 without having the product exceed 50.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    Do you mean

    =MIN(50,SUM(C20:D20,E20*C4,F20))

    or perhaps

    =SUM(C20:D20,MIN(50,E20*C4),F20)

  3. #3
    Registered User
    Join Date
    01-16-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2000
    Posts
    9

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    no... doesnt work, and it would be maximum 50, not minimum. PS im using excel 2000
    values would range from 0 to 75

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    Did you try DO's first formula?

    Perhaps you could post an example.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    01-16-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2000
    Posts
    9

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    i tried both, and they came out as errors...
    1st one errors at =MIN(50,SUM(C20:D20,E20*C4,F20))
    2nd one errors at =SUM(C20:D20,MIN(50,E20*C4),F20)

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    What's in the cells?

    To repeat, how about posting an example.

    Depending on your regional settings, you may need to change teh commas to semicolons.

  7. #7
    Registered User
    Join Date
    01-16-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2000
    Posts
    9

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    Quote Originally Posted by shg View Post
    What's in the cells?

    To repeat, how about posting an example.

    Depending on your regional settings, you may need to change teh commas to semicolons.
    all numerical values. from c20 to f20
    c20=variable by user.
    d20=variable by cell. not exceeding 45
    e20=variable by user either 0 or 5, multiplied by cell c4 which is between 1 and 15.
    f20 is usually empty but is more of a special case. user entered.

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    Did you change the delimiter as advised ? ie:

    Please Login or Register  to view this content.
    Also, as mentioned by shg it is always best to read up on suggestions before dismissing outright based on assumptions, the MIN fn for ex. returns the lesser of the values specified - ie result is essentially "capped" at 50.

  9. #9
    Registered User
    Join Date
    01-16-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2000
    Posts
    9

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    thanks. i tried changing them but whatever i did made it mess up even more. thanks for the help.
    Last edited by shg; 01-17-2010 at 07:26 PM. Reason: deleted spurious quote

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Trying to sum 4 cells where 1 is multiplied without exceeding a value.

    You're not doing much to help yourself. Post a workbook with an example of what's not working.

+ 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