#DIV-0! error Help with IF forrmula

Scrumpywill

New Member
Joined
Jul 28, 2018
Messages
23
Hello, could someone please help where and how I would place the IF formula to remove the #DIV-0! error

im using =(O18-H18)/ABS(H18) but there is on value in cell H18 so it returning an error

Many Thanks Steve
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
its worked but I was asked if the abs was needed - I would like to know

If you are not interested in the sign of the division, the abs is not needed. You can easily check the results with abs and without abs and determine which usage suits your requiremnts.
 
Upvote 0
I would like to send you the spreadsheet to see if you think I need the abs or if there is a better way

You can judge yourself whether:

(1)

=IF(ISNUMBER(1/H18),(O18-H18)/ABS(H18),"")

or (2)

=IF(ISNUMBER(1/H18),(O18-H18)/H18,"")

suits the best what you are after.
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,082
Members
449,205
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top