How to correct a #DIV/0! error

mirofa

New Member
Joined
Sep 21, 2024
Messages
9
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2007
Platform
  1. Windows
Hello again.
I use one sheet.
How can fix errror #DIV/0! from M column?
I enter a number in column F and divide it by the number from column L and get the final result in column M . You have an example of cells 7 in the photo.
Now, in that column L, apart from the number 10,400, I am not allowed to enter any other numbers.

Thanks in advance. If you need a more detailed explanation, write to me.
 

Attachments

  • Screenshot_1.jpg
    Screenshot_1.jpg
    70.3 KB · Views: 10
  • Screenshot_2.jpg
    Screenshot_2.jpg
    70.1 KB · Views: 10

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Are you using a version of Excel that using semi-colons instead of commas to separate function arguments?
If so, then your formula should be:
Excel Formula:
=IF(L4=0;"";F4/L4)
 
Upvote 0
Are you using a version of Excel that using semi-colons instead of commas to separate function arguments?
If so, then your formula should be:
Excel Formula:
=IF(L4=0;"";F4/L4)
You helped me, this works. Thank you
 
Upvote 0
You are welcome.
Glad we were able to help!

hagia_sofia did most of the work, I just updated the argument separators!
 
Upvote 0
You are welcome.
Glad we were able to help!

hagia_sofia did most of the work, I just updated the argument separators!
Now another problem happened to me in the same sheet.
In addition to these cells that we solved, I have another table that adds up those cells that we fixed.
Now i have an #VALUE! error .

Thanks in advance

1729141918105.png
1729141936037.png
1729141960297.png
 
Upvote 0
Now another problem happened to me in the same sheet.
In addition to these cells that we solved, I have another table that adds up those cells that we fixed.
Now i have an #VALUE! error .

Thanks in advance

View attachment 118171 View attachment 118172 View attachment 118173
Just because M4,M5 or M6 contains textstring Null ("") coming from formula
Try using N() to convert string to 0
=IFERROR((N(M4)+N(M5)+N(M6))/AF3,"")

or simply SUM

=IFERROR(SUM(M4:M6)/AF3,"")
 
Upvote 0
Just because M4,M5 or M6 contains textstring Null ("") coming from formula
Try using N() to convert string to 0
=IFERROR((N(M4)+N(M5)+N(M6))/AF3,"")

or simply SUM

=IFERROR(SUM(M4:M6)/AF3,"")
Done. I edit formula . From =IF(T4=0;"";F4/T4) to =IF(T4=0;0;F4/T4) and now works...
Thank you all for your efforts!
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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