1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel formula

Discussion in 'Business Applications' started by Blunt, Feb 11, 2016.

Thread Status:
Not open for further replies.
  1. Blunt

    Blunt Thread Starter

    Nov 15, 2004
    Hi guys/gals,

    I'm looking for the formula on my spreadsheet to give out a value and if there is no value, display N/A as the output. So for example =E2-D2 is already in the cell and gives me what i want however when there is no value in E2 i would like it to display N/A instead of #Value. The 2 cells for the formula are set up as date/time but occassionally letters may be in these cells instead. Ive probably made that sound complicated. Excel newbie sorry.

    Thanks in advance for any replies.
  2. cwwozniak

    cwwozniak Trusted Advisor Spam Fighter

    Nov 28, 2005
    First Name:
    The following formula for exactly what you requested uses the ISBLANK function as the logical_test parameter in an IF function.
    A more general approach uses the ISERROR function to return "N/A" if any kind of error is found for E2-D2.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1165927

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice