Click-through rate
What is the click-through rate of the Search campaign, clicks divided by impressions, as a percent rounded to two decimals?
Formula: =ROUND(C2/B2*100,2) → 4
Practice Excel for marketing: ROI, CTR, and ROAS from a campaign table, with IFERROR for zero-impression rows, plus worked, checked answers.
Marketing spreadsheets turn exports into ratios: click-through rate, return on investment, cost per lead, return on ad spend. The arithmetic is simple. The catch is that the denominators are sometimes zero, because a paused campaign has no impressions. Marketing hiring tests and interviews therefore like to see the ratio calculated correctly and the zero case handled without an ugly error.
The live sheet is a four-campaign table with impressions, clicks, spend, and revenue, including an email row with zero impressions. Your task is the percent return on investment for the social campaign, defined as revenue minus spend divided by spend, wrapped in IFERROR so a zero spend would show 0 instead of an error. The worked answers add the click-through rate for search, the email rate with a safe fallback, and the total return on ad spend across all campaigns.
Before comparing channels, agree on the definitions and the date window. A ratio of totals is not the average of ratios, and the difference matters. Keep the raw export untouched and label the assumptions beside your result. When campaigns need grouping by channel or month, the sales operations page covers conditional totals and the data analysts page covers joins to reference tables.
Your turn: in F2, calculate the percent return on investment for the Social campaign, (revenue - spend) / spend x 100, rounded to one decimal, and show 0 if the calculation fails.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Campaign | Impressions | Clicks | Spend | Revenue | |
| 2 | Search | 12000 | 480 | 900 | 2700 | |
| 3 | Social | 20000 | 300 | 700 | 1050 | |
| 4 | 0 | 0 | 150 | 0 | ||
| 5 | Display | 30000 | 150 | 600 | 450 | |
| 6 |
Answer: =IFERROR(ROUND((E3-D3)/D3*100,1),0)
Try the free Sample mock exam with 4 tasks in 8 minutes, or browse the level and interview mock exams included with Pro + Exams.
Open a task in its lesson.
Try the spreadsheet first, then compare your formula and result.
What is the click-through rate of the Search campaign, clicks divided by impressions, as a percent rounded to two decimals?
Formula: =ROUND(C2/B2*100,2) → 4
Calculate the click-through rate of Email, clicks divided by impressions, and return 0 when the result is an error.
Formula: =IFERROR(C4/B4,0) → 0
What is total revenue divided by total spend, rounded to two decimals?
Formula: =ROUND(SUM(E2:E5)/SUM(D2:D5),2) → 1.79
Dividing by zero returns the error #DIV/0!. IFERROR lets you show a fallback, but make sure that fallback is the honest value and not a mask for another error.
No. Divide total revenue by total spend for the whole portfolio; averaging campaign ratios weights small campaigns too heavily.
Which conversions count, the date window, and whether spend includes fees. State them next to the result.
Yes, it may be a paused campaign or missing data. Investigate before reporting a zero rate.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page