Intermediate5 minFree practice

Handle an empty registration campaign

Give a useful result when a calculation divides by zero.

Practice library
Read the taskTry your answerLearn from feedback

YOUR TASK

Put IFERROR to work.

Clicks are in B2 and signups in C2. Calculate signups divided by clicks in G2. If the calculation produces an error, return the number 0. Return a decimal ratio, so 0.1 means 10%.

Answer cell: G2Start your formula with = and use the source cells.
Give me a hint

IFERROR takes a calculation and the fallback value to use when it errors.

Show the worked solution=IFERROR(C2/B2,0)

IFERROR catches division by zero when clicks are zero. When clicks are positive, it returns the actual signup-to-click ratio. IF(B2=0,0,C2/B2) also works.

Try it yourself before opening the solution. A completed task with the solution open is saved as reviewed practice.

Get the full practice workbook
IFERROR practiceDataset original
ABCDEFG
1CampaignClicksSignupsYour answer
2Freshers workshop00
Practice dataAll data is fictional
Ready when you are.
What can I use in this checker?

SUM, SUMPRODUCT (matching range dimensions), INDEX (single-cell result), MATCH (exact match with 0), AVERAGE, AVERAGEIF, MEDIAN, MIN, MAX, COUNT, COUNTA, IF, IFERROR, AND, OR, SUMIF, SUMIFS, COUNTIF, COUNTIFS, exact-match VLOOKUP and XLOOKUP, ROUND, LEFT, RIGHT, LEN, TRIM, UPPER, LOWER, CONCAT, arithmetic, comparisons, percentages and absolute cell references. Use the displayed data and double quotes for text. For AND and OR, use comparisons or logical values. Text-cleaning tasks check letter case. This is a focused formula checker; it does not include Excel’s full feature set.

KEEP YOUR MOMENTUM

One more small step?

Try AVERAGEIF practiceBrowse all challenges

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Manage saved progress

This removes your completed-challenge history from this browser.