An Even Better Way

BY STANLEY ZAROWIN

In the September 2001 Tech Q&A column, we suggested a way in Excel to get rid of the dreaded #DIV/0 when you try to divide a number by 0. We suggested using the IF(). So, if you divide B2 by C2, the formula would look like this:

=IF(C2=0,“Please enter a divisor other than 0”,B2/C2)

This is what it would look like in Excel—with and without the IF formula:

Another way to solve the problem is to use the ISERROR function in an IF statement:

=IF(ISERROR(B2/C2),"",B2/C2)

The two quote marks with nothing between them will return a blank cell, which could be replaced with a 0 if you wish.

This solution has another advantage: It’s not likely to cause an error if that cell is summed in a formula.

(Submitted by Ryan R. Blazei, CPA, of Virchow, Krause & Co., LLP, Appleton, Wisconsin.)

Clarification
Occasionally I receive e-mails from readers who say they cannot activate a tip I mention in this column. More often than not, it’s because not all tips work in every edition of Windows.

I try to test shortcuts in two Windows editions: Windows 2000 and XP. As you can imagine, it would be very difficult to test them in every edition, and it would be equally difficult to find out which editions are incompatible with a tip. I apologize for the inconvenience.


Do you have a technology question for this column? Or, after reading an answer, do you have a better solution? Send them to Senior Editor Stanley Zarowin via e-mail at zarowin@mindspring.com . We regret that we cannot answer letters individually. If a reader’s question is deemed to have sufficiently broad interest, we will answer it in a forthcoming Technology Q&A column.

—The editors

SPONSORED REPORT

Year-end tax planning and what’s new for 2016

Practitioners need to consider several tax planning opportunities to review with their clients before the end of the year. This report offers strategies for individuals and businesses, as well as recent federal tax law changes affecting this year’s tax returns.

QUIZ

News quiz: IRS warning on cyberattacks and a change in pension rules

Once again, the IRS sounds the alarm about a threat from cyberthieves. See how much you know about this and other recent news with this short quiz.

CHECKLIST

Bolster your data defenses

As you weather the dog days of summer, it’s a good time to make sure your cybersecurity structure can stand up to the heat of external and internal threats. Here are six steps to help shore up your systems.