+ Reply to Thread
Results 1 to 2 of 2

Change date format

  1. #1
    Registered User
    Join Date
    06-11-2015
    Location
    Michigan
    MS-Off Ver
    2011
    Posts
    2

    Change date format

    Hello all and thank you for any help in advance.

    I have an online database of dates that I need to extract every week. When I extract I get an excel file, but this excel file only extracts the dates in French format DD/MM/YYYY. I need to these dates in a formula, but the formulas do not like the dates in the DD/MM/YYYY format because it sees it at text. I need to get them in MM/DD/YYYY format. I've tried to just change the format in the menu bar but nothing seems to to work. I posted pictures and the formula below.

    ScreenHunter_2.jpg
    ScreenHunter_3.jpg

    =Month(VLOOKUP(C6,Sheet5!A3:AK40,8))&"/"&DAY(VLOOKUP(C6,Sheet5!A3:AK40,8))&"/"&Year(VLOOKUP(C6,Sheet5!A3:AK40,8))

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Change date format

    Hi,

    Maybe convert the date longhand like so?

    =DATE(RIGHT(A1,4),MID(A1,FIND("/",A1)+1,2),LEFT(A1,2))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ 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. [SOLVED] Date formula - Change Format to YYYYMMDD from Exported Format
    By haleakala17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-21-2014, 03:22 PM
  3. [SOLVED] help on vba code to change the error date format as standard format mm/dd/yyyy
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2013, 01:10 AM
  4. Excel:How change the textbox format from text to date format?
    By inpetto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2013, 08:23 AM
  5. 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
  6. 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
  7. 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

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