Forum Discussion

A_SIRAT's avatar
A_SIRAT
Iron Contributor
Mar 23, 2023

Formula to add to running totals

Hi,

 

Please assist me with a formula. I have explained what I want in the file.

  • mathetes's avatar
    mathetes
    Silver Contributor

    A_SIRAT 

     

    Are you open to a different approach?

     

    I think, to be more specific, you'd be better served by a single transactional table that just begins with  a row of opening inventory levels in the two spots. (That's what you have now as a separate table, which I'm suggesting is adding an unnecessary complication.)

     

    With a single transactional table, you can handle transfers, incoming shipments, outgoing, and resulting balances, all in one single database.

     

    • A_SIRAT's avatar
      A_SIRAT
      Iron Contributor
      Yes, I am open to a different approach.

      Could you kindly edit the workbook and show me with one table.
      • mathetes's avatar
        mathetes
        Silver Contributor

        A_SIRAT 

        Could you kindly edit the workbook and show me with one table.

        I can do that. First let me ask what rules or assumptions have you built into this? For example:

        1. What is the relationship between Storekeeper and Main Store? Is the former the warehouse for the latter? Or vice versa?
        2. Are there other entities--other stores?
        3. When something is "Issued" what does that mean? Just goes out of your area of concern?
        4. You have one column headed "Minimum Transfer Size" for example; I can safely assume that means that when a transfer of stock is called for, the minimum is 1,000.
          • But to which site does that apply? It clearly isn't a limit applied to "Issued" for example.
          • It appears to apply to transfers from MainStore to Storekeeper: is that correct? Does it apply anywhere else?
        5. I see under "Issued" various quantities...I presume that just covers shipments out, but where are they going?

         

        Finally, are there any other factors that I've not asked about but that you take for granted?

Resources