Calculate Capital and Loan Amounts Needed to Fund an Investment in WPS Spreadsheets
Question details
The user needs WPS Spreadsheets formulas to allocate capital and bank financing for an investment while respecting available capital, the maximum loan, investment percentage limits, and the budget.

- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- Building a funding calculator that splits an investment into capital contribution and loan financing.
- Observed behavior
- The worksheet must return the capital needed to deploy, loan needed to deploy, and the amount exceeding or below budget.
Prepare a worksheet with cells for available capital, bank maximum loan, investment budget, total investment, and the intended formula output cells. Confirm all amounts use the same currency or number format in WPS Spreadsheets.
Use MAX, MIN, and IF formulas to allocate capital, loan, and budget difference
Use this method when you need a reusable WPS Spreadsheets calculator that caps the loan at 85% of the investment and shows any budget surplus or shortfall.
The formulas work as a small funding calculator. The capital formula combines a required minimum, a 15% capital target, and any gap caused by the maximum loan, while the loan formula applies a policy cap of 85% of the investment.
In WPS Spreadsheets, click cell A1 and enter labels such as Available Capital, Maximum Loan, Investment Budget, Total Investment, Capital Needed to Deploy, Loan Needed to Deploy, and Amount Exceeding Budget. Put the corresponding numeric inputs in column B.
Click cell B8, type =MAX(B$2,MIN(B$5*0.15,IF(B$3>=B$5*0.85,B$2+(B$3-B$5*0.85),B$2))), and press Enter. This returns the required capital contribution while respecting the minimum capital and 85% loan limit.
Click cell B9, type =MIN(B$5*0.85,B$5-B$8), and press Enter. This caps the loan at 85% of the investment or the remaining amount after capital, whichever is lower.
Click cell B10, type =B$4-B$5, and press Enter. A positive result means the budget exceeds the investment; a negative result means the investment exceeds the budget.

Calculate investment funding formulas in WPS Spreadsheets
Build a funding calculator in WPS Spreadsheets using MAX, MIN, and IF formulas to distribute capital and bank financing and to compare the investment against the budget.
- 1. Open WPS Spreadsheets: Download and open WPS Office, click Spreadsheets, and open your funding calculator workbook or create a new blank sheet.
- 2. Set up input cells: Enter Available Capital, Maximum Loan, Investment Budget, and Total Investment in column A, with their values in column B.
- 3. Add the calculation formulas: Enter the capital formula in B8, the loan formula in B9, and the budget difference formula in B10 as described above.
- 4. Test with sample amounts: Change the input values and confirm that the capital, loan, and surplus or shortfall results update correctly.

Frequently Asked Questions
What does the loan formula cap at 85% of the investment mean?
The formula =MIN(B5*0.85,B5-B8) takes the smaller of 85% of the total investment or the remaining amount after capital, so the bank loan never exceeds the 85% policy limit.
How do I adjust the formulas if my worksheet uses different cells?
Replace B2, B3, B4, B5, B8, and B9 with your actual input and output cell references in WPS Spreadsheets. Keep the dollar signs if you want consistent row references when copying formulas.
Why does the capital formula use MIN and IF together?
It applies the required minimum capital, respects the 15% capital portion, and adds any amount that cannot be financed because of the maximum loan limit, so the capital contribution adjusts to the funding gap.
Can I use this funding calculator with an existing Excel workbook?
Yes. Open the Excel file in WPS Spreadsheets and enter the same formulas; WPS Spreadsheets is compatible with .xlsx formulas and workbook structure.
What does the Amount Exceeding Budget result tell me?
The formula =B4-B5 subtracts the total investment from the budget. A positive number is surplus budget, and a negative number is the shortfall that must be covered or approved.




