How to Create an Excel Fee Projection Formula Based on Project Dates
Question details
The user needs a formula to automatically calculate and populate project payments across monthly date-based periods, accounting for flat-rate fees, phase payments, and retainage.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Managing a fee schedule and forecasting payments across different project phases using date headers to distribute complex fee structures.
- Observed behavior
- Currently lacking an automated formula to accurately distribute fee structures across timeline columns based on specific project start and end dates.
Ensure that your date headers are formatted as actual date values (not text) and clearly define the start and end dates for your project phases in dedicated input columns.
Use LET and IFS Functions for Dynamic Fee Projection
Combine the LET function to define variables and the IFS function to apply different fee rules depending on the date period, ensuring accurate automatic calculations.
The LET function allows you to name calculation results or variables within a formula, significantly improving readability and performance. By pairing it with IFS, you can set up multiple conditions to check if a specific month falls within the project phases and apply the correct payment calculation (like flat rates or retainage).
Place your monthly period-end dates across the top row of your projection area (e.g., Row 1 from column E onwards).
Create clear columns on the left for Phase Start Date, Phase End Date, Flat Rate, Phase 2 Amount, and Retainage percentage.
In the first calculation cell, type `=LET(periodDate, E$1, startDate, $A2, endDate, $B2, ...)` to define your key date variables.
Add the logic inside the LET function: `IFS(periodDate<startDate, 0, periodDate<=endDate, [Calculation for Phase], ...)` to determine the payment for that specific month.
Incorporate a multiplier into your true conditions where applicable, such as `*(1-$D2)` to deduct the retainage percentage from the payable amount.

Structure the Spreadsheet with Absolute References
Proper data layout and absolute cell referencing are critical before dragging advanced date-based formulas across a timeline.
Automate Fee Projections with WPS Spreadsheet
WPS Spreadsheet offers robust support for advanced logical functions like LET and IFS, allowing you to seamlessly build complex date-based financial models and fee projections.
- 1. Open your schedule: Launch WPS Spreadsheet and open your existing project fee schedule file.
- 2. Verify formatting: Ensure your date headers and project input columns are properly formatted as dates and numbers.
- 3. Enter the formula: Input your nested LET and IFS formula in the first monthly projection cell, ensuring absolute references are correct.
- 4. Auto-populate data: Drag the fill handle across your date columns and down your project rows to automatically calculate the entire fee schedule.

Frequently Asked Questions
Why is my date-based projection formula returning a #VALUE error?
This usually happens if the date headers or input dates are formatted as text. Select the headers, use the 'Text to Columns' feature, or format them explicitly as dates to ensure logical operators (<, >) work correctly within your formula.
Can I calculate partial month payments in my fee schedule?
Yes, you can use the NETWORKDAYS or DAYS function within your LET formula to calculate the exact number of active project days in a specific month, and then prorate your flat-rate fee accordingly.
How do I apply retainage only to the final payment calculation?
Inside your IFS statement, add a specific logical check for the final month (e.g., comparing the period end date to the project end date). If it is the final month, configure the formula to subtract the accumulated retainage from the final payment.




