+ Reply to Thread
Results 1 to 7 of 7

subtracting from total: less than zero adds in another space (easy)

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2003
    Posts
    3

    subtracting from total: less than zero adds in another space (easy)

    Hey guys

    I´m an average excel user, using 2003. I´m trying to be more efficient at work.

    I´ve got a problem where there are items needed, and items coming in. I want to subtract the items coming in from the items needed, however sometimes there are more coming in than needed. For example:

    Coming------Needed-----Missing-----Extra
    ----10-----------8--------(-2)----------

    I want it to be like:

    Coming------Needed-----Missing------Extra
    ---10---------8------------0-----------2

    How can I do this? I´m sure I could figure it out with trial and error but I´m using a version in Spanish and I learned in English, and I just want to make sure that what I´m doing is correct so as not to screw up in something very simple and just figure I´m doing the whole thing wrong.

    Any ideas? Thanks for your help!

    Nick
    Last edited by braytrain; 06-21-2012 at 10:47 AM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: subtracting from total: less than zero adds in another space (easy)

    You can under "Extra" put Coming-Needed and then under "Missing" (Needed+Extra)-Coming

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: subtracting from total: less than zero adds in another space (easy)

    Hi and welcome to the forum.

    Do you mean something like this?

    In C1

    =IF(SUM(B1-A1)<0,0,"")

    In D1

    =ABS(B1-A1)

    Copy down.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    06-21-2012
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: subtracting from total: less than zero adds in another space (easy)

    Quick question for Fotis...what are the quotations for? It doesn´t seem to accept this in excel.

    Thanks for your help, both you of, I added to your reputation!

    Nick

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: subtracting from total: less than zero adds in another space (easy)

    Apologize for the delay..

    I haven't see your answer..

    I am not sure that i am following you.. Is my example helps?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-21-2012
    Location
    Buenos Aires
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: subtracting from total: less than zero adds in another space (easy)

    Hey Fotis

    The problem I had before was that I was using commas instead of semi colons.

    However, your example does not work, because in the situation that there are no extras...for example if 8 items are coming and 10 are needed, the formula doesn´t mark the items that are still missing. Also the absolute value in extra will show that there are extra items in the sections where there are still items missing. I would post the file but it is confidential so I cannot. Thanks!

    Also, what are the quotation marks for?

    Nick
    Last edited by braytrain; 06-21-2012 at 12:12 PM.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: subtracting from total: less than zero adds in another space (easy)

    Nick

    ...Also, what are the quotation marks for?
    Do you mean "" in my formula? If yes, this is when in Excel we want to say "Nothing"--"Empty cell"

    ...I would post the file but it is confidential so I cannot.
    OK with this but you can create a small SAMPLE workbook with same data(Not Names, Not sensitive informations), so to see and understand what is the real situation...

    In any case if you don't find your solution and if you upload a sample, i promise to see it tomorrow morning because for Today, i have no more time.

    Thank you for the reb*

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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