Closed Thread
Results 1 to 12 of 12

Vlookup subtraction from a cell

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Ireland Dublin
    MS-Off Ver
    Excel 2003
    Posts
    14

    Vlookup subtraction from a cell

    Hi guys,

    I have a problem here solving something simple. From my VLOOKUP table there is multiple codes with numbers i need those numbers to subtract from particular cell. I have a formula =B2-VLOOKUP(A2,Process!G:H,2,FALSE). G is my code, H is my numbers. The first value from the VLOOKUP table will subtract but there is more to be subtracted but it wouldn't. How to make G:H continuously subtract from B2 ?

    Thanks

  2. #2
    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: Vlookup subtraction from a cell

    Perhaps using SUMPRODUCT. Can you upload a small sample workbook?
    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.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Vlookup subtraction from a cell

    Try This..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Registered User
    Join Date
    06-12-2013
    Location
    Ireland Dublin
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Vlookup subtraction from a cell

    It's the actual work book. Please see what you can do. Thanks
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-12-2013
    Location
    Ireland Dublin
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Vlookup subtraction from a cell

    Thanks Roy but it doesn't work. I need a vlookup to identify from witch cell the number has to be subtracted. Thanks

  6. #6
    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: Vlookup subtraction from a cell

    ......................................

  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: Vlookup subtraction from a cell

    =B2-SUMIF(Process!$E$2:$E$20,D2,Process!$F$2:$F$20) ???

  8. #8
    Registered User
    Join Date
    06-12-2013
    Location
    Ireland Dublin
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Vlookup subtraction from a cell

    Fotis1991. There is two sheets i need from stock b2 do a subtraction of bags used in process G:H

  9. #9
    Registered User
    Join Date
    06-12-2013
    Location
    Ireland Dublin
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Vlookup subtraction from a cell

    Thats perfect fotis!! It works! I just had to change some cells but it works alright! Thank you very much!!!!

  10. #10
    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: Vlookup subtraction from a cell

    .........................

  11. #11
    Registered User
    Join Date
    07-13-2021
    Location
    India
    MS-Off Ver
    10
    Posts
    1

    Re: Vlookup subtraction from a cell

    I have the same challenge but can't view post for reference.

    I've registered.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Vlookup subtraction from a cell

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed 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