+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Quick/easy Question: Blank cell vs =""

    is there anyway for a formula to output a blank cell.
    For example what I use is
    If(a1=5,a1,"")

    But ="" is not a blank cell, meaning IsBlank("") = false

    Is there anyway to write that If() formula to output a Blank cell rather than a cell with an empty text string?

    Thanks
    Last edited by iamtehwalrus; 03-21-2010 at 04:15 AM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Quick/easy Question: Blank cell vs =""

    In short, no - a cell containing a formula must contain something (even if Null).

    As you point out ISBLANK, COUNTA etc treat Nulls as non-blanks (0 length text string), COUNTBLANK however does not, ie

    =COUNTBLANK(B1)

    will return 0 where B1 contains either Blank / Null.

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