+ Reply to Thread
Results 1 to 3 of 3

Sum until the first negative amount

  1. #1
    Registered User
    Join Date
    08-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Sum until the first negative amount

    Hello all,

    I am looking for a formula wherein: 1) Cell D9 shows a negative amount calculated from the sum of column range F until BG. The negative amount will be when the sum of columns first become negative and 2) Cell E9 will lookup the week # in Row 5 when the negative amount in 1) occurs. Please see attached worksheet. Formula in column E works but need it to be simpler and future proof (I don't want to keep on adding IF statements on it). Can't make column D work.

    I was trying to use an index sum offset combo but I'm not sure how to do the sum until formula. Appreciate any help that can be provided.

    Thanks!
    Attached Files Attached Files
    Last edited by thomas.mapua; 03-06-2018 at 10:54 PM.

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

    Re: Sum until the first negative amount

    hi there. try these array formulas. in cell D6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    E6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    copy down the formula

    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
    08-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Sum until the first negative amount

    Benishiryo,

    THANKS!!! It worked flawlessly.

    Rainier

+ 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] Need to find a negative amount and match it to the positve amount based on Acct# and Date
    By sbrandhorst in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-07-2016, 07:49 PM
  2. [SOLVED] Trying to get a zero value to equal a negative amount
    By Raybee_69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-03-2014, 09:26 PM
  3. offsetting amount (positive and negative)
    By giomckenzie12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2013, 03:16 AM
  4. offsetting amount (positive and negative)
    By giomckenzie12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2013, 06:18 AM
  5. [SOLVED] Sum required without consider the negative amount
    By PRADEEPB270 in forum Excel General
    Replies: 2
    Last Post: 08-22-2011, 03:47 AM
  6. [SOLVED] catch the amount of negative numbers
    By Tobias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2005, 09:56 AM
  7. [SOLVED] How do I enter a negative dollar amount?
    By CML in forum Excel General
    Replies: 7
    Last Post: 02-06-2005, 08:08 PM

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