Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Perform data analysis
MO-211

Forecast data by using the AND(), IF(), and NPER() functions

=NPER(C2/12, -D2, B2)

How many monthly payments of D2 clear a loan of B2 at the annual rate in C2. Divide the rate by 12, and enter the payment as a negative so the count comes out positive.

What the MO-211 task asks

Microsoft's bullet puts NPER beside AND and IF because a forecast is often a number and a decision on it. In our MO-211 practice exams the NPER task reads: “work out how many monthly payments of B14 are needed to clear the lease, from the annual rate in B15 and the principal in B16. Enter the payment as a negative so the count shows positive.”

Two conversions are in that sentence. The rate is annual and the payments monthly, so the rate argument is the annual rate divided by 12. And NPER follows cash flow: money you receive (the loan) is positive and money you pay out is negative, which is why the task tells you the payment's sign.

IF and AND then turn the forecast into a decision — approve when the loan clears within 24 months and the rate is no more than 10%, say. Our grader checks the value in every target cell, so a sign or a missing /12 is a wrong answer, not a near miss.

Worked examples

Type these into a blank sheet to follow along. Every result below is what Excel showed.

Loans (the video fills E2:E4, shown to one decimal)
ABCDE
1LoanPrincipalRatePaymentMonths
2L-1120006%40032.6
3L-250009%25021.8
4L-3200004.5%45048.7
A decision on the forecast
=IF(AND(NPER(C3/12, -D3, B3)<=24, C3<=10%), "Approve", "Review")
Returns Approve

L-2 clears in about 21.8 months, inside 24, and its 9% rate is within 10%. Both must hold, so AND, inside IF.

The same test on a longer loan
=IF(AND(NPER(C4/12, -D4, B4)<=24, C4<=10%), "Approve", "Review")
Returns Review

L-3's rate is low, but it takes about 49 months to clear.

Forgetting to divide the rate
=NPER(C2, -D2, B2)
Returns #NUM!

At 6% a month, the interest on 12,000 is 720 a month, more than the 400 payment, so the loan never clears and NPER has no answer.

The payment entered as positive
=NPER(C2/12, D2, B2)
Returns -28.0 (shown to one decimal)

With the loan and the payment both positive, the answer is negative and means nothing for this task.

Filled down a column
=NPER(C2/12, -D2, B2)
Returns 32.6, 21.8, 48.7 in E2:E4

Each row reads its own loan. The cells are formatted to one decimal place; NPER returns a fraction because the last payment is a part payment. This is what the video below builds.

Watch it done in Excel

The last example above, recorded in real Excel on the same grid.

Exam traps

An annual rate with monthly payments

=NPER(C2, -D2, B2) treats 6% as a monthly rate and returns #NUM!. Monthly payments need the rate per month: C2/12.

The payment's sign

The task says to enter the payment as a negative so the count shows positive. =NPER(C2/12, D2, B2) shows a negative count, which fails the check.

AND inside IF the wrong way round

IF's first argument is the test. =AND(IF(…)) is not the shape: the decision is =IF(AND(test 1, test 2), "Approve", "Review").

Rounding the answer yourself

The task asks how many payments are needed; it does not ask you to round. Leave NPER's result as it is and change only the display, unless the task says otherwise.

FAQ

Why is the payment negative?

NPER uses cash-flow signs: the loan you receive is positive, the payments you make are negative. Give both the same sign and the result is meaningless.

What about a loan with a balloon payment?

NPER takes an optional future value after the principal. Without one, it assumes the loan is paid down to 0.

Is NPER the same as working out months by hand?

No: dividing 12,000 by 400 gives 30 months and ignores interest. NPER's 32.6 includes it.

New to this function?

This page covers what the exam asks. For the full how-to — every argument, more examples and a practice workbook — read our guide on dfwexcel.com.

The NPER function, explained — dfwexcel.com

Try it under exam conditions

Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.

No credit card needed.