Create an Excel Formula to Apply a 30-Day Monthly Storage Charge
Question details
Create a formula that identifies when a storage charge becomes due 30 days after a start date and assigns the charge to the appropriate month.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The worksheet tracks storage start dates, charge amounts, and monthly reporting columns.
- Observed behavior
- The user needs the storage charge to appear when the 30-day due date is reached and under the month containing that due date.
Identify the cells that contain the storage start date and the storage charge amount. If you use monthly columns, make sure each column header contains a real Excel date, such as 1/1/2025 or 1/31/2025.
Calculate whether a 30-day storage charge is currently due
Use this formula when you need a simple due-status result or want to return the charge amount once 30 days have passed.
Assume A2 contains the storage start date and B2 contains the storage charge amount. The formula adds 30 days to the start date and compares it with today's date.
Select the result cell and enter =IF(TODAY()>=A2+30,"Amount Due","Not yet"). Replace A2 with the storage start-date cell if needed.
To show the charge amount when it becomes due, enter =IF(TODAY()>=A2+30,B2,0), where B2 contains the storage fee.
Drag the fill handle from the formula cell down the column to calculate the 30-day due status for each storage record.

Place the storage charge in the month of its 30-day due date
Use this option when monthly columns are used to allocate each charge to the month in which it becomes due.
Calculate 30-Day Storage Charges by Month in WPS Spreadsheets
WPS Spreadsheets lets you use familiar Excel-compatible IF, TODAY, and EOMONTH formulas to calculate a 30-day storage due date and assign the fee to the correct monthly reporting column.
- 1. Open the storage worksheet: Open the workbook in WPS Office and select the worksheet that contains the storage dates and fee amounts.
- 2. Check the date and amount columns: Confirm that the storage start-date cells are formatted as dates and that the fee cells contain numeric values.
- 3. Enter a due-date formula: Click a result cell and enter =IF(TODAY()>=A2+30,B2,0), adjusting A2 and B2 for your sheet.
- 4. Allocate charges by month: For monthly columns with date headers, enter =IF(EOMONTH(C$1,0)=EOMONTH($A2+30,0),$B2,0) in the first monthly cell.
- 5. Fill formulas through the table: Use the fill handle to copy the formula down for additional records and across for additional months.

Frequently Asked Questions
How do I calculate a storage fee exactly 30 days after a start date?
If A2 contains the start date and B2 contains the fee, use =IF(TODAY()>=A2+30,B2,0). The formula returns the fee after 30 calendar days have passed; otherwise, it returns 0.
How can I show the storage charge in only one monthly column?
Use date-based month headers and compare their month to the due-date month. For example, use =IF(EOMONTH(C$1,0)=EOMONTH($A2+30,0),$B2,0) in C2, then copy it across the monthly columns.
Why does my monthly storage formula not match the correct month?
Check that the monthly header is a real date rather than typed text. Enter a date such as 1/1/2025, then apply a custom format such as mmm yyyy to display it as a month name.
Can I use a reporting date instead of today's date for the due test?
Yes. If D1 contains the reporting date, use =IF($D$1>=A2+30,B2,0) instead of using TODAY(). This keeps the calculation tied to the selected reporting period.




