+ Reply to Thread
Results 1 to 3 of 3

Change format to date format if cell populated with a date

  1. #1
    Registered User
    Join Date
    07-17-2019
    Location
    Point Pleasant, NJ
    MS-Off Ver
    Microsoft Office 365 pro plus
    Posts
    0

    Change format to date format if cell populated with a date

    I am using this formula
    =IFERROR(INDEX(Data!$B$4:$J$23,Data!$M4,COLUMNS($D$3:G3)),"")

    to extract data based on a drop down box selection, however if the data is a date it does not show in date format.
    If I format cells then cells with no data show as 01/01/1900 and I need them to be blank.

    Any help is gratefully received

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello Lbelden78,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,534

    Re: Change format to date format if cell populated with a date

    Hello Lbelden78 and Welcome to Excel Forum.
    You have posted your query in a forum set aside for introductions. Please repost the question in the Formulas & Functions forum of this site.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Show Error when a cell with number format change to date format
    By delroba in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2015, 02:57 AM
  2. How to change a unchageable date cell into a desired date format
    By erickwy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-22-2014, 06:26 PM
  3. Macro to change date value from one date format to another date format
    By RG12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2013, 04:51 AM
  4. Replies: 1
    Last Post: 11-01-2012, 10:37 AM
  5. Not able to change date format into proper excel date format
    By excel5111987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2011, 08:19 AM
  6. Userform date format reverting back to us format on change event
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2009, 12:34 PM
  7. Can I change a date with no format (20051111) to date format?
    By Rose in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-11-2005, 05:10 PM

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