+ Reply to Thread
Results 1 to 6 of 6

Complex if formula help

  1. #1
    Registered User
    Join Date
    12-09-2016
    Location
    Irvine, CA
    MS-Off Ver
    2013
    Posts
    32

    Complex if formula help

    Hi,

    I am trying to create a formula that will only sum up to a certain threshold in a certain category. I have attached a sample spreadsheet that shows 5 different fees with max credits. There are cells highlighted yellow where the formula would go. I need the formula to sum the amount shown for that column up to the max fee for the category.

    Is there a formula I can use to accomplish this?


    Thank you,

    Bilich
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Complex if formula help

    Im a little confused. Does the sum of B5:B9 need to max out based on the max of each fee>
    Could you show some expected answers please?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-09-2016
    Location
    Irvine, CA
    MS-Off Ver
    2013
    Posts
    32

    Re: Complex if formula help

    The orange highlight shows the expected answers.

    Basically, the max fee is the maximum amount that can be used in that corresponding row (ie. Fee 1 can only have 100 credit so the formula should only add the amount in column C & D. Column E pushes it over the 100 limit). I want this formulated so I can adjust the numbers and the credit amount will automatically calculate.

    Does that make sense?


    Thank you,
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: Complex if formula help

    May be in B12

    Please Login or Register  to view this content.
    Drag accross.
    Quang PT

  5. #5
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Complex if formula help

    or smth like that
    =SUM(IF(MMULT(--$B$5:B9,ROW($A$1:INDEX($A:$A,B$4))^0)<$B$17:$B$21,MMULT(--$B$5:B9,ROW($A$1:INDEX($A:$A,B$4))^0),$B$17:$B$21)) CSE
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-09-2016
    Location
    Irvine, CA
    MS-Off Ver
    2013
    Posts
    32

    Re: Complex if formula help

    Thank you bebo021999 and tim201110. This was very helpful!

+ 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. [SOLVED] Complex formula getting moer complex
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-02-2017, 01:39 PM
  2. Complex IF formula.
    By Smasen91 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-25-2016, 12:53 PM
  3. [SOLVED] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  4. [SOLVED] Complex IF Formula
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2014, 10:31 AM
  5. Replies: 4
    Last Post: 02-03-2014, 12:47 AM
  6. Assistance with reporting data inorder with no blank cells or rows inbetween
    By Ghost Of Casper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2013, 01:37 PM
  7. Complex IF Formula
    By davo1224 in forum Excel General
    Replies: 8
    Last Post: 12-15-2010, 05:39 PM

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