+ Reply to Thread
Results 1 to 6 of 6

substitute formula not working correctly on a specific date formula

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    substitute formula not working correctly on a specific date formula

    I've attached a workbook illustrating the raw format I get dates in, and the format I need. I've tried the SUBSTITUTE formula but what it does is convert to the Excel format (e.g. 43359.12523).

    Once it does that, I am unable to format the date as I wish.

    Any advice?
    Thanks!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: substitute formula not working correctly on a specific date formula

    =TEXT(A8,"yyy.mm.dd")

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Re: substitute formula not working correctly on a specific date formula

    Thanks Ghozi!

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: substitute formula not working correctly on a specific date formula

    Formatting dates (or any other numeric values) with the text function is not advisable unless absolutely necessary, it has the potential to cause more problems than it fixes.

    Just apply a custom format to the raw data, no formula needed.

    yyyy.mm.dd

  5. #5
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Re: substitute formula not working correctly on a specific date formula

    Thanks Jason, I appreciate the advice. I assume you mean to go to the format window, go to the"custom" settings and create one manually using yyyy.mm.dd... and that willl turn my existing raw data into a readable date format I can use in whatever other formulas I need to.

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: substitute formula not working correctly on a specific date formula

    That is correct, the formulas might need to manipulate the dates slightly as your raw data contains a time as well, so will not match up to another cell that is date only.

    Whenever you enter dates, it is best to enter them in line with your regional settings, then use a custom format to change the appearance as needed.

+ 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] INT Formula Not Working Correctly
    By chrisbay2324 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2018, 09:59 AM
  2. [SOLVED] Formula not working out correctly
    By ladbroke in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-26-2015, 01:24 AM
  3. Formula not working correctly
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2014, 07:08 AM
  4. If then formula not working correctly
    By chappie97 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-23-2013, 01:22 AM
  5. [SOLVED] Sumifs Formula not working correctly
    By jamaal09 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-01-2013, 09:36 PM
  6. [SOLVED] IF formula not working correctly
    By ErikaC in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-18-2013, 03:38 PM
  7. Replies: 9
    Last Post: 03-08-2013, 11:50 AM

Tags for this Thread

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