+ Reply to Thread
Results 1 to 7 of 7

Get Excell for mac 2011 to convert number into day and date

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    NY, USA
    MS-Off Ver
    MAC Excel 2008
    Posts
    6

    Thumbs up Get Excell for mac 2011 to convert number into day and date

    Hi!

    I'm looking to be able to enter 61113 (for Tuesday June 11, 2103)
    and have Excel for Mac 2011 convert that to Tue 06/11/13
    in each cell after I enter 61113 and tab to the next cell.

    Entering a zero before the 6 should be pretty easy, as is entering
    the slashes between 6 and 11, and again between 11 and 13.

    But the tricky thing may be in getting Excel calculate that
    June 11, 2013 was a Tuesday.

    Any suggestions?

    Many thanks!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: Get Excell for mac 2011 to convert number into day and date

    well this will give you the date... =DATEVALUE(LEFT(A1,1)&"/"&MID(A1,2,2)&"/"&RIGHT(A1,2)) and if you format it correctly you can get it to look the way you want.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    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,945

    Re: Get Excell for mac 2011 to convert number into day and date

    Try this...
    D
    E
    5
    61113
    Tuesday, June 11, 2013
    6
    161113
    Friday, April 11, 2014

    E5=DATE(2000+RIGHT(D5,2),LEFT(D5,IF(LEN(D5)=5,1,2)),MID(D5,IF(LEN(D5)=5,2,3),2))
    copied down
    then format to show the day as well as the date
    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

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: Get Excell for mac 2011 to convert number into day and date

    so this will cover two different scenarios - 5 digit or 6 digit values ... =IF(LEN(A1)=5,DATEVALUE(LEFT(A1,1)&"/"&MID(A1,2,2)&"/"&RIGHT(A1,2)),DATEVALUE(LEFT(A1,2)&"/"&MID(A1,3,2)&"/"&RIGHT(A1,2)))

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Get Excell for mac 2011 to convert number into day and date

    To do what you want will require VBA.

    Does Excel for Mac 2011 support VBA?

    If so, see this...

    http://www.cpearson.com/Excel/DateTimeEntry.htm
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Get Excell for mac 2011 to convert number into day and date

    Hi,

    Wouldn't it be simpler to avoid all the conversion stuff and merely enter
    6/11/13

    and have the cell formatted as "ddd mm/dd/yy"
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Get Excell for mac 2011 to convert number into day and date

    Try this formula if want to convert 61113 to real date
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Apply desired format
    or if you prefer as a text string
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 61113 Tue 06/11/13
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. how to convert 2011-1-2 to 20110102
    By vickilynch in forum Access Tables & Databases
    Replies: 4
    Last Post: 01-07-2014, 10:43 AM
  2. [SOLVED] Macro/vba to change date format from 01.01.2011 to 01/01/2011
    By Darrenh1238 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2012, 07:42 PM
  3. excell 2011 mac pivot tables and double axis charts
    By clks in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-09-2012, 03:39 AM
  4. Replies: 9
    Last Post: 02-29-2012, 12:11 AM
  5. Convert Date - 8/29/2011 to 2011.08.29
    By artiststevens in forum Excel General
    Replies: 4
    Last Post: 08-29-2011, 06:10 AM
  6. Help with Date Macros - eg. Change Values From Jun 5, 2011 to 05/06/2011
    By Red2Black in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-14-2011, 08:44 AM
  7. Convert Date - Jan 01 to 1/1/2011
    By artiststevens in forum Excel General
    Replies: 7
    Last Post: 03-21-2011, 03:30 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