+ Reply to Thread
Results 1 to 4 of 4

Check Date in Cell is Date valid

  1. #1
    Registered User
    Join Date
    10-26-2019
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    19

    Check Date in Cell is Date valid

    Hi

    Question? Is there a way if i have a validation to check the cell that I've entered in Cell A3 for example is correct date format and will pop up a message box that you have entered a wrong date format "MM/DD/YYYY"

    For example:
    in cell A3 i'vee entered a text DOG instead of date, It will prompted me to "please enter a correct date format -MM/DD/YYYY"

    Hope someone here know how to code this on excel. Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Check Date in Cell is Date valid

    Hi luisperez19,

    Try using Data Validation on the cells you want to force the user to enter a date.

    In the Data Ribbon > Data Tools > Data Validation.
    Allow = Date
    Data = Greater than
    Start Date = 01/01/1900
    Under the Error Alert tab, enter your error message.

  3. #3
    Registered User
    Join Date
    10-26-2019
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    19

    Re: Check Date in Cell is Date valid

    Yay! Thanks much!

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Check Date in Cell is Date valid

    You are welcome

+ 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. Conditional Formatting to check if date format is valid
    By svenvaeth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2018, 05:08 AM
  2. date function not working.....if date blank says its a valid date
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2018, 09:25 AM
  3. [SOLVED] VBA Check if date format DD.MM.YYYY is valid in a certain column
    By 4petris in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2017, 06:56 AM
  4. How to test if cell is containing valid date
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-02-2017, 09:55 AM
  5. [SOLVED] VBA Code To check the valid partnername and date in H&M column
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2016, 11:41 PM
  6. [SOLVED] How to check valid Date value?
    By hstijnen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 08:30 AM
  7. Check if date is valid
    By Lava in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2005, 10:28 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