+ Reply to Thread
Results 1 to 7 of 7

Adding a positive number with a negitave number to get less

  1. #1
    Registered User
    Join Date
    02-24-2017
    Location
    fort collins, colorado
    MS-Off Ver
    2013
    Posts
    3

    Adding a positive number with a negitave number to get less

    in Cell a1 i have 50,000 A2 40000 A3 -35000 in column B2 i show an increase from A1 - A2 of 10000, B3 is looking @ A2 40000 & A3 -35000 should be a difference of 5000 in B3 but adds it instead of subtracts the negative number

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Adding a positive number with a negitave number to get less

    Try

    =ABS(A1)-ABS(A2)

    It adds because minus a minus = plus mathematically

    40000 - (-35000)= 40000+35000 =75000

    This assumes you always ignore the sign

    i.e 40000-50000 = 5000 (not -5000)
    Last edited by JohnTopley; 11-16-2017 at 03:58 PM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Adding a positive number with a negitave number to get less

    Not sure what you are trying to achieve. 50,000 less 40,000 is 10,000. 40,000 less -35,000 is a difference of 75,000, not 5,000.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    02-24-2017
    Location
    fort collins, colorado
    MS-Off Ver
    2013
    Posts
    3

    Re: Adding a positive number with a negitave number to get less

    thanks this helps can you show the # as a positive no matter what?

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Adding a positive number with a negitave number to get less

    See formula in post #2

  6. #6
    Registered User
    Join Date
    02-24-2017
    Location
    fort collins, colorado
    MS-Off Ver
    2013
    Posts
    3

    Re: Adding a positive number with a negitave number to get less

    i get a neg # with this formula in Column b i want a positive # even when subtracting 2 negatives

    Book1.xlsx

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Adding a positive number with a negitave number to get less

    Try

    =ABS(ABS(A2)-ABS(A3))

    which is nonsensical

    A2-A3 is a decrease (your heading says increase)
    Last edited by JohnTopley; 11-16-2017 at 04:42 PM.

+ 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. convert a negative number to a positive number by adding 49
    By khanaran in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-28-2016, 09:57 AM
  2. Replies: 9
    Last Post: 02-04-2016, 01:18 AM
  3. Adding negative number = positive in another cell.
    By agm89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2014, 03:12 AM
  4. Carrying Over Negative number to next column as a positive number
    By Redraven in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2014, 06:39 AM
  5. Move Negative Number and Change to a Positive Number
    By Alvin Hunter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 08:36 PM
  6. Adding a positive and a negative number
    By jzatrotary in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-03-2007, 06:36 PM
  7. [SOLVED] adding a '+' in front of a positive number
    By mike in forum Excel General
    Replies: 1
    Last Post: 06-06-2005, 07: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