+ Reply to Thread
Results 1 to 3 of 3

Formula that adds cell values until certain value is reached...

  1. #1
    Registered User
    Join Date
    05-26-2014
    Posts
    2

    Exclamation Formula that adds cell values until certain value is reached...

    Hey, first time user of the forum. I want to create a formula that adds cell values until it hits a certain value, and then starts adding again from there in the next cell. See below attached excel sheet for what I am looking at.

    test formula.xlsx

    In the attachment I want to make Cell G17 sum up the value of E17 + F17 up until it reaches the value of 80, and then I want H17 to then start the summing up from where G17 ends (starting back at zero). I've seen a similar formula that someone on here said is supposed to do it, but it does not work like it is supposed to... but maybe there is an error someone can see in it??
    (=IF(E17+F17>80,H17,E17+F17)

    Any help would be great!

    For example, I'm trying to accomplish this:

    if E17=50 and F17=20, then G17 would show as 70 and H17 would show as 0.
    if E17=50 and F17=30, then G17 would show as 80 and H17 would show as 0.
    if E17=50 and F17=40, then G17 would show as 80 and H17 would show as 10.
    Last edited by JMartellNSAA; 05-26-2014 at 11:58 AM. Reason: Problem solved

  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: Formula that adds cell values until certain value is reached...

    using your posted workbook...
    Try these regular formulas, copied down:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-26-2014
    Posts
    2

    Re: Formula that adds cell values until certain value is reached...

    Quote Originally Posted by Ron Coderre View Post
    using your posted workbook...
    Try these regular formulas, copied down:
    Please Login or Register  to view this content.
    Is that something you can work with?

    EXACTLY. Thank you. This does it exactly. I can now apply the same formula to all needed rows for the same. Thanks for the quick response!

+ 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] A Conditional formula that adds values in column but ignores other values
    By Damo666 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-20-2014, 12:57 PM
  2. Replies: 2
    Last Post: 04-30-2013, 05:57 AM
  3. [SOLVED] Need a formula that adds a set of values that are associated with a unique set of values
    By trevorgoulet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2013, 12:58 AM
  4. Replies: 0
    Last Post: 12-22-2011, 03:42 PM
  5. Cell adds previous values automatically
    By nih in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2009, 10:38 AM

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