+ Reply to Thread
Results 1 to 9 of 9

Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    I apologize for probably not giving the best title, however, I am desperately trying to write a formula.
    We have a spreadsheet that pulls data from various other spreadsheets that contain information on current year data, budget year data, and last year data. We need to pull from the current year spreadsheet information each month on the inventory count on hand.
    We need one formula in one cell of the main spreadsheet that will know to pull from the appropriate month column of the current year spreadsheet based on the particular month we are running the report for. Hopefully, this is not totally confusing as written.
    In other words, we are not wanting to need to change the formula each month, but to write it such that it will know by our indicating in the main spreadsheet which month it is (which is always indicated in Cell B14).
    In the main spreadsheet, the cell containing spreadsheet information on where to find the current year data is $D$2.

    Please help if you can.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    can you post a sample spreadsheet
    the Month is in B14
    the year is in D2

    so what are the other workbooks names or are they sheets in this work book and how named
    and what cells would have the inventory - is this the same cell used for all months ?

    i'm thinking you can use an indirect() to reference the correct workbook/sheet based on the year month cells - BUT you have not indicated the names of the workbooks/sheets or the cell to reference
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    I can't post the spreadsheet due to confidentiality. However, I can try to give you all the necessary names, etc. that you need. Sorry for the omission.

    Each worksheet is separate and there is only 1 worksheet in each workbook.

    Cell D2 of the Main Workbook contains the location of the workbook containing the Current Year data. ''[Name-export-2014-01.xls]

    Cell B14 of the Main Workbook contains the month information. "1" (for January)

    The main workbook is "[Report 2014-wBudget.xls]

    The same cell does NOT contain the inventory count each month. The workbook ultimately contains an entire year's data by year end. The data for January is in cell H364. So I364 would contain the Feb count.

    Currently my formula reads: =LOOKUP(INDIRECT($D$2&"Dealer1'!$H364"),0)
    But this is obviously not correct.

  4. #4
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    Also note that in the Current Year workbook, there are worksheets for Dealers 1 - 20. Thereby, you see Dealer1 in this formula.

    In the main workbook, there are columns for each Dealer 1 - 20. So once the formula is correct, it will be different in each column to reflect the different Dealer #s.

  5. #5
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    My formula now reads:

    =VLOOKUP(INDIRECT($D$2,'Month=Col''s'!$H$8:$S$19),$H$2,0)

    It still does not work. I get #VALUE!

    I wish I understood more about these formulas.

  6. #6
    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
    52,939

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    I understand that your file is sensitive, but perhaps you could put a dummy file together, showing what you have and what you want? Otherwise, it's pretty much a guessing game
    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

  7. #7
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    The main workbook is too large to upload.

  8. #8
    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
    52,939

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    can you remove everything that does not pertain to your question, and reduce the amount of data to just enough to show what you want

  9. #9
    Registered User
    Join Date
    07-10-2013
    Location
    Greensboro, GA
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Formula Needed for an Advanced Spreadsheet to Determine Inventory Count

    The size is 4 MB. I'll look to see if that is possible.

+ 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. Advanced Formula Help Needed!!!
    By mgabes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2013, 09:35 AM
  2. [SOLVED] Inventory Planning - Help needed on replenishment quantity FORMULA
    By dev.jajati in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-24-2013, 01:07 PM
  3. Inventory Age Formula Needed for FIFO Inventory
    By SWeisser in forum Excel General
    Replies: 0
    Last Post: 07-20-2012, 02:44 PM
  4. Inventory Spreadsheet - Transfering count to master broken?
    By turningitred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2009, 01:24 PM
  5. Advanced Formula Help Needed!!!!
    By disco dave in forum Excel General
    Replies: 1
    Last Post: 09-01-2009, 05:30 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