+ Reply to Thread
Results 1 to 2 of 2

IF Statement to leave cell completely blank

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Glasgow
    MS-Off Ver
    Excel 2007
    Posts
    77

    IF Statement to leave cell completely blank

    Hi,

    I have the following IF statement


    Please Login or Register  to view this content.

    This column is formatted for a date which is fine when U2 does indeed equal 6. However, when U2 doesn't equal 6 the field shows as 00/01/1900.


    If the field, U2, doesn't equal 6 I want the field to be left completely blank, is this possible?

    Thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF Statement to leave cell completely blank

    =if(u2=6,edate(r2,71),"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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