HomeMicrosoft ExcelHow To Handle Divided By 0 Error In Excel Formula

    [Resolved]How To Handle Divided By 0 Error In Excel Formula

    Date:

    [Resolved]How to handle divided by 0 error in Excel Formula

    In our daily life we use divide formula very often in excel. One common issue we get while using it “#DIV/0!” specially if the value of divisor not known while writing formula.

    Let us see the above issue with an example:

    download example for more details:


    Sl No Value1 Value2 Formula Result Explanation
    1 A2=5 B2=5 =A2/B2 1 5 divided by 5 result 1
    2 A3=5 B3=0 =A3/B3 #DIV/0! 5 divieded by 0 giving exception “#DIV/0!”

    Solutions to this is very simple. Use your division inside IF statement.

    • IF Function
      A brief introduction to IF statement before we use it for above issue:-

    IF function have three section as IF(logical Test ,value if true,value if false)

    As explain in above line if the logical test will pass 2nd section value will be the output else 3rd section will be the output.

    For above scenario whenever divisor is ‘0’ I want output as “NA”, you may opt for any digit or a sentence as per your requirement.
    Please refer the example sheet for more  deatails:


    Sl No Value1 Value2 Formula Result Explanation
    3 5 0 =IF(C4=0,”NA”,B4/C4) NA “NA” comes as an output when divisor’s(c4) value is 0.

    Book a 1-on-1
    Call Session

    Want Patrick's full attention? Nothing compares with a live one on one strategy call! You can express all your concerns and get the best and most straight forward learning experience.

    Related articles:

    How to Use Pivot Table to Create Summary

    In this article we will learn how to add...

    Frequently Used Shortcuts Key In Excel Part 1 Combinations Of Function Keys

    In this post we will cover most frequently used...

    How to Use INDEX+MATCH With Multiple Criteria

    post we will provide solution to the below listed...

    Latest courses:

    Strategic Vision: Mastering Long-Term Planning for Business Success

    Introduction: Professional growth is a continuous journey of acquiring new...

    Leadership Excellence: Unlocking Your Leadership Potential for Business Mastery

    Introduction: Professional growth is a continuous journey of acquiring new...

    Marketing Mastery: Strategies for Effective Customer Engagement

    Introduction: Professional growth is a continuous journey of acquiring new...

    Financial Management: Mastering Numbers for Profitability and Sustainable Growth

    Introduction: Professional growth is a continuous journey of acquiring new...

    Innovation and Adaptability: Thriving in a Rapidly Changing Business Landscape

    Introduction: Professional growth is a continuous journey of acquiring new...