Function Problems

Split Hours Between Two Funding Sources With Excel Formulas

Anum MushtaqAnum Mushtaq Dec 2, 2026 868 views

Question details

Calculate the hours paid by two funding sources when the first covers up to 20 hours and the second covers the remainder.

Split Hours Between Two Funding Sources With Excel Formulas
Product
Microsoft Excel
Device & OS
not provided
Scenario
Weekly hours are recorded in a spreadsheet and must be allocated between two funding sources using a 20-hour limit.
Observed behavior
The first source should receive up to 20 hours per week, and the second should receive any hours above 20.
Before you start

Enter weekly hours as nonnegative numbers. The examples assume one week's hours are in B2 and, for multiple weeks, that each week occupies a separate cell from B2 through W2.

Solution 1Recommended

Use MIN and MAX to allocate each week's hours

Split each week's hours into two rows, then total the allocations across multiple weeks.

1
Calculate the first source

In cell B3, enter =MIN(B2,20) to allocate up to 20 hours to the first funding source.

2
Calculate the second source

In cell B4, enter =MAX(B2-20,0) to allocate any hours above 20 to the second source.

3
Apply formulas to other weeks

Select B3:B4 and drag the fill handle across to W3:W4. Each column will use the hours in its corresponding row 2 cell.

4
Total each source

In X3, enter =SUM(B3:W3). In X4, enter =SUM(B4:W4) to total the hours allocated to each source.

Use MIN and MAX to allocate each week's hours
How the limit applies: The 20-hour limit is applied separately to each week, not once to the combined total.
Calculate funding allocations

Split Funding Hours in WPS Spreadsheets

Use MIN and MAX in WPS Spreadsheets to allocate each week's hours at the 20-hour limit and total each funding source.

  1. 1. Open the spreadsheet: Open WPS Spreadsheets and use Open to select your workbook, or create a new spreadsheet.
  2. 2. Enter the hours: Enter weekly hours in B2, or place successive weeks in cells B2 through W2.
  3. 3. Split the hours: Enter =MIN(B2,20) in B3 and =MAX(B2-20,0) in B4. Drag the fill handle across both rows for additional weeks.
  4. 4. Add the totals: Enter =SUM(B3:W3) in X3 and =SUM(B4:W4) in X4, then use Save to keep the workbook.
Apply the 20-hour threshold separately to each weekUse familiar MIN, MAX, and SUM formulasOpen and save Microsoft Excel XLSX filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

What happens if someone works exactly 20 hours?

With 20 in B2, =MIN(B2,20) returns 20 for the first source and =MAX(B2-20,0) returns 0 for the second.

How do I change the funding limit?

Replace 20 in both formulas with the new limit. For example, use =MIN(B2,25) and =MAX(B2-25,0) for a 25-hour limit.

Can I use a cell for the funding limit?

Yes. Enter the limit in A1, then use =MIN(B2,$A$1) and =MAX(B2-$A$1,0). The dollar signs keep the limit fixed when you copy the formulas.

Why can't I use =SUM(MIN(B2:W2,20)) to total the first source?

MIN finds one minimum value across the range and the limit; it does not cap each week separately. Use the helper-row formulas and sum them, or use the SUMPRODUCT approach.