#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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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