+ Reply to Thread
Results 1 to 9 of 9

Return Blank if no data entered

  1. #1
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Return Blank if no data entered

    How do you change this formula so it will return blank if there is no date entered?

    DATE(YEAR(A7),MONTH(A7)+IF(DAY(A7)>17,1,0),17)

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Return Blank if no data entered

    What does it return now if a date is not entered? If it is an error, enter this into the cell that you place your formula:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Re: Return Blank if no data entered

    Right now its returning 1/17/1900... I replaced the formula to the one you said and it didnt make it blank. it stayed the same.. 1/17/1900

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Return Blank if no data entered

    What is the date entered in A7

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Return Blank if no data entered

    An alternative

    =IF(A7="","",EOMONTH(A7,--(DAY(A7)>17)-1)+17)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Re: Return Blank if no data entered

    Please see attached. I'm trying to set up a spreadsheet to track credit card bills. In this case, the bill cycle of this particular card is every 17th of the month according to the date entered. the thing is that when I dont enter anything, it should be blank.CREDIT CARD BILLS.xlsx

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Return Blank if no data entered

    This might be what you are looking for.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 10-20-2014 at 05:03 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Re: Return Blank if no data entered

    Oh wow.. Doverman.. You're awesome.. Thank you.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Return Blank if no data entered

    Thank you for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How Do I Keep This Cell Blank Until Data is Entered?
    By CLRExcel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2014, 11:36 AM
  2. [SOLVED] Blank formula cells until data is entered?
    By DarkSoul in forum Excel General
    Replies: 13
    Last Post: 07-27-2014, 09:18 AM
  3. Replies: 6
    Last Post: 05-01-2012, 10:34 PM
  4. Keeping Blank Cells Until Data Entered
    By msf316 in forum Excel General
    Replies: 3
    Last Post: 02-27-2009, 03:55 PM
  5. Cell to show blank until data entered ?
    By conks in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2008, 09:12 AM

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