+ Reply to Thread
Results 1 to 5 of 5

Sum positive and negative values

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    Wales
    MS-Off Ver
    2010
    Posts
    23

    Sum positive and negative values

    Hi all,

    I have a scenario, where I need to sum 2 values.
    In the first scenario I have a Negative and a positive value. The result I seek is to change the negative to a positive and sum the 2 values.
    In the second scenario, I have a positive and a positive value. I need to deduct the first value from the second.

    I attach a spreadsheet, with values and the results I seek.

    Thanking you all in advance.

    Nutzman
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Sum positive and negative values

    Nutzman, Good morning.

    You can use the same formula for both cases.

    Try to use:

    B5 --> =(B3*-1)+B4

    C5 --> =(C3*-1)+C4

    Please, tell us if it worked as you need.

    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sum positive and negative values

    or
    1st: =SUM(ABS(B3),B4) or =SUM(-B3,B4)
    2nd: =SUM(-C3,C4)

  4. #4
    Registered User
    Join Date
    07-25-2014
    Location
    Wales
    MS-Off Ver
    2010
    Posts
    23

    Re: Sum positive and negative values

    To quick!!! Thank you for the formula. Now i can continue with my project.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sum positive and negative values

    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)

    If you did it already - ignore it.
    Thank you.

+ 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. How do I separately sum negative an positive values
    By Martina Bergquist in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 05-28-2016, 07:19 AM
  2. NoobQ: Rank function treats negative values as positive values. Help!
    By lutonoodles in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-12-2013, 02:10 PM
  3. Looking for a positive value ABOVE negative values
    By ckatzman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2012, 08:54 PM
  4. Replies: 8
    Last Post: 07-28-2012, 03:22 PM
  5. Replies: 2
    Last Post: 06-18-2012, 04:26 PM
  6. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  7. Replies: 4
    Last Post: 09-26-2005, 06:05 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