+ Reply to Thread
Results 1 to 5 of 5

Calculating total using IF and VLOOKUP

  1. #1
    Registered User
    Join Date
    11-19-2020
    Location
    South Africa
    MS-Off Ver
    Microsoft Office Home & Business 2016
    Posts
    9

    Red face Calculating total using IF and VLOOKUP

    Hi There,

    Can anyone perhaps help me with an advanced calculation formula.

    I have attached a dummy file as reference and example on my querie.

    I want to be able to calculate the remaining stock levels using a formula that will lookup the name of the product and them subtract the amount of stock that has been dispatched. I would also like the same sheet to be able to lookup the products and calculate the stock levels when there is stock received.
    I have three tabs on my sheet.
    Tab one will be the day-to-day stock in and out bookings which is linked to the other sheets with VLookup to input some data when they input data into the first column. Then they will input the product and then the amount in or the amount out.
    The second tab is my stock level sheet that I want to link to sheet one. When stock is received, I want it to add up for that specific product received. And when stock is dispatched, I want it to subtract the amount for that specific product.
    Tab three is just information for the other sheets (they are linked with VLookup)
    I am not too clued up with formulas, I know I few, but I just don't know how to get this one to work.
    Any other suggestions will also be helpful, if this is not possible to work.

    Thank you, Gisela
    Attached Files Attached Files
    Last edited by AliGW; 11-19-2020 at 04:13 AM. Reason: Irrelevant section of title removed - this is a help forum!!!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,224

    Re: HELP PLEASE: Calculating total using IF and VLOOKUP

    Where did the values in H4 and H10 come from????
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,224

    Re: HELP PLEASE: Calculating total using IF and VLOOKUP

    Take a look here. There are 6 new formulae in the sheet. Each differnet formula has a different shading. I added an extra column for initial stock. How does this look?

    See the attached sheet for formulae and context.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-19-2020
    Location
    South Africa
    MS-Off Ver
    Microsoft Office Home & Business 2016
    Posts
    9

    Re: Calculating total using IF and VLOOKUP

    You are an absolute star! This is exactly what I wanted.
    Thank you so so much :-)

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,224

    Re: Calculating total using IF and VLOOKUP

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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: 8
    Last Post: 04-11-2019, 05:01 PM
  2. Calculating total using vba
    By shotta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2013, 07:22 AM
  3. Calculating % Row Total in DAX
    By vkievsky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2013, 12:22 PM
  4. Calculating Total
    By maxim.pinto in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-23-2012, 08:56 AM
  5. Calculating total
    By peteuga in forum Excel General
    Replies: 9
    Last Post: 01-26-2011, 10:30 AM
  6. [SOLVED] Calculating total time
    By David Gartrell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2006, 03:45 AM
  7. calculating total time
    By bcamp1973 in forum Excel General
    Replies: 4
    Last Post: 05-08-2006, 02:32 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