+ Reply to Thread
Results 1 to 3 of 3

Storage calculation

  1. #1
    Registered User
    Join Date
    08-01-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    5

    Storage calculation

    Hi,
    I am new to this,
    I am creating a warehouse spread sheet with pallet no: storage days etc. As follows
    Date IN Pallet no: Qty Storage days
    29-07-16 123 1 3
    30-07-16 144 1 2
    01-08-16 154 1 0

    I need to create a summary sheet with pallet no: and storage days
    For example for the month July
    Date IN Pallet no: Qty Storage days
    29-07-16 123 1 3
    30-07-16 144 1 2
    Then invoice the customer

    And next month end of August
    Date IN Pallet no: Qty Storage days
    29-07-16 123 1 31
    30-07-16 144 1 31
    01-08-16 154 1 30

    Pallet no: "123" & "144" July storage days already invoice so it counts only Augusts.
    And so on...
    Please help me in writing the formula for the same
    TIA

  2. #2
    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,005

    Re: Storage calculation

    Look at SUMIFS formula to SUM the number of days for a pallet for a given month:

    =SUMIFS(D;D,B:B,"Pallet_Number",A:A,">=" & Month_Start,A:A,"<=" & EOMONTH(Month_Start,0))

    Column D has Storage Days

    Column B has pallet numbers

    Column A has Dates

    "Month_Start" is a cell containing the "Invoice month" e.g. 01/07/2016 for July 2016

    "Pallet_Number" is cell(s) with with pallet numbers.

    Alternatively, you could use a PIVOT table (not my area of expertise!!)

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,607

    Re: Storage calculation

    You shall use MAX function of two arguments: Date_in and beginning of the month.
    So days charged would be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

+ 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. Total storage cost (similar to financial loan) calculation
    By jwabe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2015, 10:05 PM
  2. Help with warehouse storage calculation in Excel
    By JenMcG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2015, 08:41 AM
  3. inventory reconciliation and storage calculation
    By exelnube in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2015, 07:40 PM
  4. data storage
    By david90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2012, 03:37 PM
  5. Going from Storage to a Count
    By Phlyers18 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-14-2011, 08:00 PM
  6. Data Storage
    By gregory.barrett in forum Excel General
    Replies: 3
    Last Post: 03-30-2006, 05:25 PM
  7. Variable Storage
    By gti_jobert in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2006, 07:35 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