+ Reply to Thread
Results 1 to 5 of 5

Ignoring the 0 value

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Ignoring the 0 value

    How do I iggore the value 0 in this formula?

    =IF(D2-C2<31, D2-C2,"")

    Thanks a ton!

    Bruno
    Last edited by bmunoz64; 10-16-2009 at 02:34 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Ignoring the 0 value

    What exactly do you mean?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: Ignoring the 0 value

    the calculation returns a 0 value there has not yet been any entry in the cells from the formula

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Ignoring the 0 value

    Try:

    =IF(SUM(C2,D2),IF(D2-C2<31, D2-C2,""),"")

  5. #5
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: Ignoring the 0 value

    EXCELLENT! That worked!

    Thanks!

    Bruno

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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