# #DIV/O! error - change to different result

1. ## #DIV/O! error - change to different result

Good morning Excel Guru's

Trust you are all well. I need your assistance in formulating a formulae to avoid #DIV/O! error when I compute the variance %age if the divisor is zero(0). I would love to have for INCOME a +100% as the variance % if the budget amount is zero. and for EXPENSES a neg/ -100% if the budget is zero.

Find attached worksheet for your perusal (Hope to have it coz Ive been struggling to attach the file). Many thanks!

2. ## Re: #DIV/O! error

Welcome to the forum.

Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

(Note: this change is not optional. As you are new here, I will do this for you this time.)

3. ## Re: #DIV/O! error - change to different result

Income:

=IFERROR((AF5-AE5)/AE5,1)

Expense:

=IFERROR((AF5-AE5)/AE5,-1)

4. ## Re: #DIV/O! error - change to different result

Thank you very very much AliGD, much appreciated! I have so much to learning to do

5. ## Re: #DIV/O! error - change to different result

No problem!

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1