+ Reply to Thread
Results 1 to 4 of 4

Thread: IF zero, NOT if blank!

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    Honolulu, HI
    MS-Off Ver
    Excel 2003
    Posts
    4

    IF zero, NOT if blank!

    Hi, I'm pretty new to using if functions, so this might be a simple question. I am creating a database for others to enter data into. I would like for a cell to read "skipped," if the response in another cell is 0 (NOT if it is blank). Right now the formula I'm trying is:

    =IF(DY3=0, "skipped", "")

    However, the cell is showing the word "skipped" even if DY3 is blank (no "0" typed in). I only want the word skipped to appear if a 0 is actually typed in the cell. Help!

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777

    Re: IF zero, NOT if blank!

    Try =IF(or(isblank(DY3), DY3<>0), "", "skipped")
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-23-2010
    Location
    Honolulu, HI
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: IF zero, NOT if blank!

    Thanks, shg! Worked like a charm

  4. #4
    Valued Forum Contributor acsishere's Avatar
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2007
    Posts
    303

    Re: IF zero, NOT if blank!

    Dear Daniela11,

    I think, you have got the solution.

    If so, please mark your post as "SOLVED". To do this, go to your first post, click "Edit" button, then click, "Go Advanced", then Select prefix "SOLVED" and then SAVE.

    This will enable other users/moderators not to repeatedly open the Thread unnecessarily.
    Good friends are hard to find, harder to leave, and impossible to forget.

    acsishere.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0