+ Reply to Thread
Results 1 to 5 of 5

Formula for auto adjusting inventory vs parts used/returned on two separate sheets

  1. #1
    Registered User
    Join Date
    04-05-2022
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    2

    Formula for auto adjusting inventory vs parts used/returned on two separate sheets

    HI there pretty new to this.

    I'm pretty sure I'm either supposed to use 'sumif' or 'if' and 'and' but am at a loss.

    I have two separate sheets in the same excel file and i want the 'inventory' sheet to be automatically adjusted by the 'Parts taken or returned' sheet. I want this to be done by 'part number' in the 'Parts Taken or Returned' sheet. So after entering the 'part number' it auto searches the inventory sheet for the corresponding 'part number' then once a number is put into the the 'quantity taken' cell or 'quantity returned' cell the cell in the 'inventory' sheet substracts that number from the 'quantity' or adds the returned part/s back to the 'quantity' cell respectively to the 'inventory' 'quantity' cell.

    I also wrote some comments on the attached excel sheet which might be easier to follow

    Thanks for your help!

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Formula for auto adjusting inventory vs parts used/returned on two separate sheets

    You can't use a formula to update the inventory unless you store somewhere else what it was before. e.g. have a column for inventory at start of month, you could reference this and then use the parts taken and returned in the month to give inventory at the end of the month.

    If you want it to update without storing, then you will need to use VBA, if that's an option for you.

  3. #3
    Registered User
    Join Date
    04-05-2022
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    2

    Re: Formula for auto adjusting inventory vs parts used/returned on two separate sheets

    i think i understand. Would you be able to look at the newly attached file and see if I'm on the right track? If need be I'll look into VBA, I'm pretty sure i know someone who might be able to help they're really busy.

  4. #4
    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,524

    Re: Formula for auto adjusting inventory vs parts used/returned on two separate sheets

    Before you go too far: there are numerous templates (and videos!) available on the Internet which address the problem of inventory management.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Formula for auto adjusting inventory vs parts used/returned on two separate sheets

    ...but yes, you are on the right lines if that's what you want to do. e.g.

    =SUMIFS('Parts taken or returned'!$C$2:$C$4,'Parts taken or returned'!$A$2:$A$4,$A2,'Parts taken or returned'!$B$2:$B$4,$B2)

+ 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. [SOLVED] Formula to separate two parts of data in one cell to two cells
    By terryhenderson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2018, 03:31 AM
  2. Replies: 6
    Last Post: 10-27-2015, 06:46 AM
  3. Replies: 16
    Last Post: 09-29-2015, 01:06 AM
  4. need to know how to pull inventory thats not been returned
    By jsain in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2013, 06:50 AM
  5. Excel 2007 : Parts List and Inventory
    By bamainnola in forum Excel General
    Replies: 2
    Last Post: 03-19-2012, 02:10 PM
  6. Help with auto adjusting date formula
    By BRISBANEBOB in forum Excel General
    Replies: 6
    Last Post: 04-06-2009, 11:58 PM
  7. Adjusting Values Returned by the RAND Function
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 10:59 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