+ Reply to Thread
Results 1 to 4 of 4

dividing formula to show as n/a if zero

  1. #1
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    dividing formula to show as n/a if zero

    Hi Guys,

    I have this formula as for example '=N4/N3', I would like to add in if both cells are '0' then show as "n/a" rather than an error which is what i currently have,

    thanks

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: dividing formula to show as n/a if zero

    =if(n4+n3,n4/n3,"n/a")
    try thia
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    03-04-2008
    MS-Off Ver
    Office 2007/2010
    Posts
    127

    Re: dividing formula to show as n/a if zero

    Thats great thanks!

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: dividing formula to show as n/a if zero

    thank you isolation123 for your feedback and adding reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Dividing and adding time in formula.
    By cornick68 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-11-2014, 11:58 AM
  2. and/or formula for dividing and then multipying
    By tvonbehren in forum Excel General
    Replies: 2
    Last Post: 11-07-2011, 06:01 PM
  3. #Div/0 Error, but not dividing in formula
    By tiff58 in forum Excel General
    Replies: 5
    Last Post: 10-01-2011, 10:17 PM
  4. Formula for dividing a cell
    By PipRams in forum Excel General
    Replies: 1
    Last Post: 02-26-2010, 08:32 PM
  5. [SOLVED] What is the formula for dividing a number by 4 in excel
    By Blessingspoint in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2005, 02:06 PM

Bookmarks

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