+ Reply to Thread
Results 1 to 3 of 3

Need help adding two cells until one reaches a certain number

  1. #1
    Registered User
    Join Date
    09-22-2012
    Location
    CA
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    4

    Need help adding two cells until one reaches a certain number

    Hi All,

    I have done some extensive searching for a formula to help with my dilemma but to no avail.
    Given I have found several answers on this board it seems to be the best place to ask around.

    I have two cells adding into a third, I would like them to keep adding until one of the cells reaches a certain number then for the third to stop adding.

    Ex. B1 = A1 + A2, until A1 reaches 12 then B1 stops taking from A1.
    A1: 5, is changed to 7, is changed to 12, is changed to 15
    A2: 5
    B1: 10, would be changed to 12, would be changed to 17, would stay at 17


    Any help will be very appreciated.

    Thank you,

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Need help adding two cells until one reaches a certain number

    hi Bwayne, welcome to the forum. how about:
    =MIN(A1,12)+A2

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-22-2012
    Location
    CA
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    4

    Re: Need help adding two cells until one reaches a certain number

    Brilliant!
    Thank you very much, Benishiryo.

+ 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