+ Reply to Thread
Results 1 to 5 of 5

Get Contract Date (3/14/14 to "14th Day of March, 2014")

  1. #1
    Registered User
    Join Date
    09-24-2014
    Location
    Denver
    MS-Off Ver
    Professional Plus 2010
    Posts
    3

    Get Contract Date (3/14/14 to "14th Day of March, 2014")

    Just need a formula for converting a mm/dd/yyyy date to "14th Day of March, 2014"

    included in the formula I need something to convert the 3 to 3rd, 4 to 4th, etc for the days - that's where I am running into the most trouble.

    Anything you guys can suggest I would greatly appreciate - thanks!

  2. #2
    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 Contract Date (3/14/14 to "14th Day of March, 2014")

    Try this one

    =DAY(A1)&MID("thstndrdth",MIN(9,2*RIGHT(A1)*(MOD(A1-11,100)>2)+1),2)&" Day of "&TEXT(A1,"mmmm, ")&YEAR(A1)

    A
    B
    1
    3/14/2014
    14th Day of March, 2014
    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

  3. #3
    Registered User
    Join Date
    09-24-2014
    Location
    Denver
    MS-Off Ver
    Professional Plus 2010
    Posts
    3

    Re: Get Contract Date (3/14/14 to "14th Day of March, 2014")

    Thanks for the help - it's working for all the "th" dates but for 4 it's coming back with 4nd and for 5 it's coming back with 5rd

  4. #4
    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 Contract Date (3/14/14 to "14th Day of March, 2014")

    Try this adjusted formula

    =DAY(A1)&MID("thstndrdth",MIN(9,2*RIGHT(DAY(A1))*(MOD(DAY(A1)-11,100)>2)+1),2)&" Day of "&TEXT($A1,"mmmm, yyyy")


    A
    B
    1
    3/14/2014
    14th Day of March, 2014
    2
    3/15/2014
    15th Day of March, 2014
    3
    3/16/2014
    16th Day of March, 2014
    4
    3/17/2014
    17th Day of March, 2014
    5
    3/18/2014
    18th Day of March, 2014
    6
    3/19/2014
    19th Day of March, 2014
    7
    3/20/2014
    20th Day of March, 2014
    8
    3/21/2014
    21st Day of March, 2014
    9
    3/22/2014
    22nd Day of March, 2014
    10
    3/23/2014
    23rd Day of March, 2014
    11
    3/24/2014
    24th Day of March, 2014
    12
    3/25/2014
    25th Day of March, 2014
    13
    3/26/2014
    26th Day of March, 2014
    14
    3/27/2014
    27th Day of March, 2014
    15
    3/28/2014
    28th Day of March, 2014
    16
    3/29/2014
    29th Day of March, 2014
    17
    3/30/2014
    30th Day of March, 2014
    18
    3/31/2014
    31st Day of March, 2014
    19
    4/1/2014
    1st Day of April, 2014
    20
    4/2/2014
    2nd Day of April, 2014
    21
    4/3/2014
    3rd Day of April, 2014
    Last edited by AlKey; 09-24-2014 at 04:10 PM.

  5. #5
    Registered User
    Join Date
    09-24-2014
    Location
    Denver
    MS-Off Ver
    Professional Plus 2010
    Posts
    3

    Re: Get Contract Date (3/14/14 to "14th Day of March, 2014")

    Thank you so much it worked!

+ 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] "Mar 05, 2014" text to 3/5/14 using Formula
    By inincubus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-05-2014, 06:52 PM
  2. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  3. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  4. HI Everyone! Did u use excel for the "14th letter" question?
    By MiguelGarcia in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-15-2012, 01:17 PM
  5. display just "Feb 14th" in date cell
    By Silvabod in forum Excel General
    Replies: 3
    Last Post: 02-16-2006, 12:40 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