+ Reply to Thread
Results 1 to 6 of 6

IF formula not recognising blank cells in Data column

  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    IF formula not recognising blank cells in Data column

    Hi Forum,

    I am having trouble getting a simple IF formula to recognise a blank cell.

    I want the formula to recognise if the cell is empty and return an empty cell if it is.

    This is the formula I have been trying to use and I have attached a sample spreadsheet.

    Please Login or Register  to view this content.
    How can I get my formula to detect empty cells?

    Thanks very much

    Dave
    Attached Files Attached Files
    Last edited by Motox; 02-18-2012 at 03:45 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: IF formula not recognising blank cells in Data column

    They're spaces, not blanks.

    Use:

    IF(A9= "", "", "Present")

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-07-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: IF formula not recognising blank cells in Data column

    Deleting a space within the first quotation in your formula will solve the problem.
    Give it a try.

    P.

  4. #4
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: IF formula not recognising blank cells in Data column

    Thanks very much, guys.

    I will give it a go.

    Dave

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: IF formula not recognising blank cells in Data column

    If you only remove the space in the first quotes, you will return a space, not a blank ... not quite the same, as you have discovered.


    Regards, TMS

  6. #6
    Registered User
    Join Date
    12-07-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: IF formula not recognising blank cells in Data column

    Quote Originally Posted by TMShucks View Post
    If you only remove the space in the first quotes, you will return a space, not a blank ... not quite the same, as you have discovered.


    Regards, TMS
    Thanks much for correcting that.

    P.

+ 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