+ Reply to Thread
Results 1 to 9 of 9

Inventory management formula required http://www.excelforum.com/showthread.php?t=1130755&p

  1. #1
    Registered User
    Join Date
    03-14-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    5

    Inventory management formula required http://www.excelforum.com/showthread.php?t=1130755&p

    Hi Everyone!

    I am trying, with no success to make a formula like this: =SUMIFS(Sales!J:J,Sales!D:D,"=C16",Sales!B:B,"=S1") work.

    I have an inventory spreadsheet for a retail store. On one sheet I input daily sales which is like this: Date SKU(barcode #), product name, qty (per sale so qty is usually 1 or 2)

    On another sheet I have inventory like this: SKU (barcode #), opening amount, stock on hand.

    I am trying to insert a formula in the stock on hand column that will add all sales of the relevant SKU from the sales sheet. I then want to deduct this total from the opening amount to get a current stock on hand amount. This will allow us to not only see what products are low in stock but also to put stock turn measures around the products to streamline the ordering process.

    The problem i'm having is that I can't seem to find an excel formula that will work... but i'm sure there must be a solution!

    We have around 500 product SKUs to track so I need to be able to drag the formula down to calculate each one.

    Can anyone help???
    Last edited by josco; 03-14-2016 at 02:14 AM. Reason: told to fix title

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: SUMIFS or SUMPRODUCT or SUMIF+VLOOKUP???

    Attach a sample file showing the result.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: SUMIFS or SUMPRODUCT or SUMIF+VLOOKUP???

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-14-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: SUMIFS or SUMPRODUCT or SUMIF+VLOOKUP???

    For some reason it won't allow me to attach an example of my spreadsheet

    So i've taken a screenshot with an example of a formula that makes sense but doesnt work that you can replicate

    This is a very small example that i've created of the spreadsheet im working with and i've only included relevant columns. It's not feasible to combine all the data into one sheet.

    example inventory.jpg
    example sales.jpg

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Inventory management formula required http://www.excelforum.com/showthread.php?t=11307

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  6. #6
    Registered User
    Join Date
    03-14-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    5

    Post Re: SUMIFS or SUMPRODUCT or SUMIF+VLOOKUP???

    Didn't have 'manage file' but had a 'manage attachments' option. Top left choose files, bottom right upload then the file was there and the only option i then had was to close window. I can't see an attachment on this edit post field but i'm hoping it's there when i hit submit reply??
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Inventory management formula required http://www.excelforum.com/showthread.php?t=11307

    You were almost there.

    1. remove the = and "" from the cell ref, otherwise excel is looking for a cell that contains "=A2"
    2. you had the column refs swapped around...
    =SUMIF(Sales!C:C,A2,Sales!D:D)
    sumif(criteria-range,criteria,sum-range)

  8. #8
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Inventory management formula required http://www.excelforum.com/showthread.php?t=11307

    SumProduct way

    Please Login or Register  to view this content.
    Last edited by mike7952; 03-14-2016 at 02:59 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  9. #9
    Registered User
    Join Date
    03-14-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    5

    Re: Inventory management formula required http://www.excelforum.com/showthread.php?t=11307

    You guys are awesome - both solutions work!! you don't understand how much easier this has made my life :D

    Thank you!!!

+ 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: 2
    Last Post: 01-23-2013, 06:25 AM
  2. Simple I thought - Sumif / Sumproduct / Sumifs solution perhaps
    By jigpadia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2013, 07:50 AM
  3. sumif? sumifs? sumproduct? help....
    By moshmoshon in forum Excel General
    Replies: 1
    Last Post: 08-23-2010, 06:47 PM
  4. [SOLVED] Which SumProduct Sumif or VLookup?
    By Dennis in forum Excel General
    Replies: 2
    Last Post: 09-26-2005, 02:05 PM
  5. [SOLVED] I've tried Sumproduct, SumIf, Vlookup and Hlookup.
    By bj in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 06:05 AM

Tags for this Thread

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