+ Reply to Thread
Results 1 to 4 of 4

Convert date into a specific format

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Convert date into a specific format

    Hi All,

    To make a formula work, I need to either change the date format in the pivot table (see tab "sheet1") or the raw data (see tab "data") - which is a formula. I need it to be in the format of "mmm-yy" - and no - going to the format cells menu doesn't work!!

    Does anyone know of a formula that would work??

    Thanks

    example.xlsm

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Convert date into a specific format

    The formatting wont change the data in the PT because is it not a date, it is text that looks like a date = the same as the "date" in sheet2column A. To fix this, use this in A2, copied down...
    =DATEVALUE(1&" "&D2&" "&B2)

    Then refresh your table - you may need to redo that column in the PT
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: Convert date into a specific format

    =Text(A1, "MMM - YY" )

    Even this might help you to get data in JAN - 12


    __________________________________________________________________________________________________________________________________________
    if you feel something has helped please click * to add to reputation

    “I have not failed. I've just found 10,000 ways that won't work.”
    ― Thomas A. Edison

  4. #4
    Registered User
    Join Date
    04-16-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Convert date into a specific format

    Thank you. Appreciate the help

+ 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. Cannot convert date (which is in text format) to date in numeric format
    By geniuspro in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-19-2012, 09:21 AM
  2. Need Formula/VBA Code to convert date in String Format to Normal Date format
    By Karthik Sen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2012, 04:54 AM
  3. Convert from a specific date format
    By codepin in forum Excel General
    Replies: 4
    Last Post: 01-08-2009, 11:16 AM
  4. convert to specific format
    By true_atlantis in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 09:50 AM
  5. [SOLVED] Date Format Question- convert into a usable date format.
    By Josh O. in forum Excel General
    Replies: 1
    Last Post: 02-10-2005, 06:06 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