Exercises / Logic and decisions · 8 of 9

Hide #DIV/0! with IFERROR

IFERROR(value, fallback) returns the value, unless it is an error (#DIV/0!, #N/A, …), in which case it returns the fallback.

Your taskConversion rate is sales divided by visits. Some channels had no visits yet. In D2, divide C2 by B2, and use IFERROR to return 0 instead of an error. It will be copied down to D7.
Pro

Unlock this exercise and every module after the basics.

Pro opens every exercise in every module, your review schedule, and the final test for the course certificate.

RowABCD
1ChannelVisitsSalesConversion
2Search4200126
3Email185074
4Social00
5Referral96041
6Podcast00
7Direct230058