+ Reply to Thread
Results 1 to 3 of 3

Help with converting m/dd/yyyy to a date that works in a pivot table

Hybrid View

  1. #1
    Registered User
    Join Date
    10-17-2020
    Location
    Canada
    MS-Off Ver
    365
    Posts
    6

    Help with converting m/dd/yyyy to a date that works in a pivot table

    I have a data dump that gives me date in this format 9/24/2020 in General format
    Excel does not recognize this as a date and I cannot figure out how to convert it
    I want to make a pivot table and insert a timeline but it doesnt work - says it doesnt have a field formatted as date
    I tried ctrl 1 and changing to date - nope
    =VALUE(text) - nope
    =DATEVALUE(date_text) - nope
    I was able to change the / using substitute formula, but still stuck

    I'd prefer not to use text to columns - would prefer something that can be easily automated by plugging in data and then a formula does the rest

    Help please
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,455

    Re: Help with converting m/dd/yyyy to a date that works in a pivot table

    Select the date range without the header - Data - text to columns - delimited - use comma as delimiter - Next- Select the first column check " Date" and select MDY if not try a variation) - Select the second column and check " Do not Import column - Finish
    You now have usable dates

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,090

    Re: Help with converting m/dd/yyyy to a date that works in a pivot table

    Some of the cells are already in date format such as cells A17 to A44, you need to modify your formulas:
    A2 = IF(ISNUMBER(A2),A2,XXXX) with XXXX being your SUBSTITUTE formula.

+ 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. The UserForm works with mm-dd-yyyy and the Excel sheet with dd-mm-yyyy.
    By Roy71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2020, 07:09 AM
  2. [SOLVED] Help need for converting a string date to yyyy-mm-dd
    By spittingfire in forum Excel General
    Replies: 10
    Last Post: 01-25-2020, 01:31 AM
  3. Converting date from various forms to mm/dd/yyyy format
    By Sud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2012, 07:38 PM
  4. Converting Six Digit Number to MM/YYYY Date Format
    By bschmeec in forum Excel General
    Replies: 1
    Last Post: 12-22-2011, 06:55 PM
  5. Excel 2007 : pivot table convert dd/mm/yyyy to mm/yyyy
    By timxiao in forum Excel General
    Replies: 9
    Last Post: 10-26-2011, 02:21 AM
  6. Replies: 3
    Last Post: 12-14-2009, 12:04 PM
  7. Problems converting date from d/m/yyyy to mmmm format
    By dcgrove in forum Excel General
    Replies: 6
    Last Post: 07-22-2009, 01:25 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