+ Reply to Thread
Results 1 to 15 of 15

Adding Negative numbers to Positive

  1. #1
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Adding Negative numbers to Positive

    Hello, I hope someone can help me with what I am guessing is a function issue. I am working on a simple spreadsheet and trying to total rows in which some numbers are negative. No matter how I write the write sum (adding or subtracting) I do not come out with the correct amount. I am guessing that it is not a "SUM" I should be using but I am unsure of the other functions. Had a quick read about SUMIFS and felt very confused and not sure if that is what I should be using... Any help appreciated.

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Adding Negative numbers to Positive

    Hi cymbeline:
    I'd love to see what I can do with it. Could you upload a sample spreadsheet with sanitized data detailing what you're totaling and it's desired result?
    Thanks.

    Pete

  3. #3
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    Hello Pete, Apologies for the delay. While looking at the spreadsheet I just realised I have a bigger issue - however, for now, it is the TOTAL in row 5 that is not correct. It should be -2.22 instead of -4.44 . The formula I have there, which is obviously incorrect, is =SUM(R5:S5) . I am having a complete blank on what to do. Any advice? Thank you.

    Attachment 813297

    EDIT- Sorry, the formula I incorrectly have there is =SUM(H5:I5), not as I said above.
    Last edited by cymbeline; 01-13-2023 at 06:46 PM.

  4. #4
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Adding Negative numbers to Positive

    Hi cymbeline:
    Got this error on the attachment link:

    Invalid Attachment specified. If you followed a valid link, please notify the administrator

    Please check that the attachment was uploaded per the instructions at the top of the page; in yellow. Thanks.

    Pete

  5. #5
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    I am having trouble with the "manage attachments" option. It doesn't give me an upload button unless I host the image on a website rather than straight off the PC. I am going to try to attach it again. Let me know if it doesn't work. Thank you.sample ss 1.jpg

  6. #6
    Registered User
    Join Date
    11-27-2020
    Location
    Ahmedabad
    MS-Off Ver
    2013 and 2016
    Posts
    46

    Re: Adding Negative numbers to Positive

    If you click on H5 and look at formula bar
    does it show anything?

    It seems your formula is =SUM(R5:S5)

  7. #7
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Adding Negative numbers to Positive

    I see the image, but without formulas and cell locations to see what they're doing it doesn't work for me.

    Keep trying. I'm signing off today and will check in tomorrow.

    (After manage attachments, at the top, upload files from your computer. . .be sure your windows are maximized
    or try scrolling out. Then navigate to the file. Select, etc.)

    Pete

  8. #8
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    Thank you Pete. No there is nothing in the formula bar on the H column. I will see if i can upload tomorrow. Thank you.

  9. #9
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    .... hope it has worked.
    Attached Files Attached Files

  10. #10
    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,206

    Re: Adding Negative numbers to Positive

    I think your logic is wrong:Column D is included in both Income and Expnses calculations - cannot be both!

    Income iA, Expense B so TOTAL= A- B

    Put sales In B (=A), Expenses in C and for C sum D:H so TOTAL=B-C
    Attached Files Attached Files
    Last edited by JohnTopley; 01-14-2023 at 07:27 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  11. #11
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    I see what you mean that it can not be both. I was thinking, in my skewed logic, that it would subtract it from one (as it was a negative number) and add it to the other but now thinking I just stared at it for too long and lost the plot ...

    I have used excel perhaps 5 times and am really unknowledgeable about most of it and very inexperienced so you may have to be very patient with me. I am a bit confused about what you have suggested. Would it not be ok to just use "=SUM(C)" in the J column (income total) ?

  12. #12
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    I have done what you suggested (i think) and am attaching a new sheet. Some of the TOTALS are not quite right though... For example, line 6- the negative number should bring the total down instead of increasing it.
    Attached Files Attached Files

  13. #13
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Adding Negative numbers to Positive

    Try in K6
    Please Login or Register  to view this content.
    Copy up and down.

    Yea/Nay?

    Pete

  14. #14
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Adding Negative numbers to Positive

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


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  15. #15
    Registered User
    Join Date
    01-13-2021
    Location
    England
    MS-Off Ver
    MS office 365 pro plus 64 bit - Excel
    Posts
    12

    Re: Adding Negative numbers to Positive

    Yea It appears both sides are balancing. Thank you very much (and the taxman would thank you too if he could!)

+ 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. Replies: 5
    Last Post: 11-14-2015, 01:12 AM
  2. [SOLVED] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  3. Excel 2007 : Adding positive and negative numbers
    By bdwjones in forum Excel General
    Replies: 1
    Last Post: 06-16-2011, 11:39 AM
  4. Adding and Subtracting negative and positive numbers
    By excel is cool in forum Excel General
    Replies: 7
    Last Post: 05-04-2011, 04:42 PM
  5. 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
  6. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM
  7. Replies: 1
    Last Post: 11-20-2008, 01:52 AM

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