Results 1 to 5 of 5
  1. #1
    mlance is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2014
    Posts
    2

    Access Report that calculates rolling weeks on hand? We have Excel formula that does this.

    =SUMPRODUCT(--(SUBTOTAL(9,OFFSET(B1:Z1,,,,COLUMN(B1:Z1)-COLUMN(B1)+1))<=A2))



    Where forecast is in row 1, from B to Z representing the weekly buckets
    Inventory/Projected Inventory is in row 2, goes from A to Y

    So the formula uses the projected inventory in each bucket, and projects out how many buckets in the future that particular inventory will last. And it is rolling so we have additional rows that are for planned production that increases the projected inventory so we can see the impact on weeks on hand.

    So we have this working well in Excel, but I am wondering if this functionality is available in Access? We have reports we use that basically show the same information but we have never been able to calculate the weeks on hand in a rolling fashion such as we have in Excel.

    Any help is appreciated.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    First and foremost don't try to think of transferring functions from excel to access. The two function in extremely different ways. When you're setting up a database it is NOT just one great big spreadsheet type layout. It is a series of interrelated tables.

    For instance

    Code:
    tblCustomer
    CustomerID  CustomerName ---> other customer related fields
    1           Customer A
    2           Customer B
    
    tblProducts
    ProductID  ProductName ---->  other product related fields
    1          Product X
    2          Product Y
    3          Product Z
    
    tblInvoices
    InvoiceID  InvoiceNumber  CustomerID  InvoiceDate  ---> other invoice related fields.
    1          III-001        1           1/1/2014
    2          III-002        1           1/7/2014
    
    tblInvoiceDetail
    DetailID  InvoiceID  ProductID  Quantity ---> other invoice product related fields
    1         1          1          5
    2         1          2          10
    3         2          3           6
    4         2          2          15
    This would be a basic structure for usage and receipts of products. With the proper structure what you are asking can be done (a rolling time period for a forecast) but it will be made much, much harder if you do not normalize your data and have a good structure before you even start.

  3. #3
    kagoodwin13 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Feb 2012
    Posts
    181
    I've worked a lot with supply chain/manufacturing Access databases.

    I've got two questions:
    1. What are you trying to do that Excel can't or won't do?
    2. Do you have other existing Access databases that you are trying to connect inventory data with?

    In my experience, Excel was the superior tool to do rolling inventory forecasts. Not only was it easier to set up the formulas, but it was easier make ad-hoc reports and on-the-fly changes. Also, most management-types have at least a basic understanding of Excel, but nearly zero understanding of Access.

    Would you mind to share a version of your Excel file? I would recommend removing the proprietary/identifying data, but make sure that the data structure and formulas are the same. Also please share a sketch or example of the report you would like to generate.

    Thanks!

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I would argue Access is the better tool. There are many things I can do with Access I can't do with Excel, and I haven't encountered a single thing I can do with Excel I can't do with Access.

  5. #5
    kagoodwin13 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Feb 2012
    Posts
    181
    It depends on the complexity of what you're doing. For smaller information storage, Excel is quick and easy. I used to do "rolling inventory" charts in Excel all the time, but usually it was for 1-10 critical parts. Because my need was small, I didn't need a database.

    If I wanted to keep a tab of all parts, then develop reports for parts that are over or under thresholds (over max, under min, running out before next planned shipment, etc.) then I would definitely develop a database. That is a lot of information to compile and monitor in Excel, especially if you are managing hundreds or thousands of parts.

    That's why I was asking OP what their need was - no reason to reinvent the wheel if we don't need to. I was hoping they would respond by now... hope they didn't give up!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Using an Excel Formula in Access
    By BEI77 in forum Access
    Replies: 6
    Last Post: 05-08-2014, 05:08 PM
  2. Replies: 7
    Last Post: 05-01-2013, 06:20 PM
  3. Excel Formula into Access Query
    By dr4ke in forum Queries
    Replies: 7
    Last Post: 06-25-2012, 06:46 AM
  4. Excel Formula Needed in Access
    By bmschaeffer in forum Queries
    Replies: 4
    Last Post: 01-18-2012, 01:13 PM
  5. Replies: 0
    Last Post: 07-13-2011, 08:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums