+ Reply to Thread
Results 1 to 9 of 9

To required the date format as justify

  1. #1
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    To required the date format as justify

    Date
    12112013
    9081970
    12121936
    4091964

    Please look the above 4 dates.Here,take an example i.e.9081970.Last 4 digits are 'Year' i.e.1970,next from right to left 2 digits are 'Month' i.e.08 ( August) and rest of date i.e.'9'.

    Now I want this format of above all:-
    Desired
    12.11.2013
    09.08.1970
    12.12.1936
    04.09.1964
    Is it possible through excel formula?
    Regards


    Pradeep Kumar Gupta
    Gurgaon ( INDIA )

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

    Re: To required the date format as justify

    Try
    =IF(len(A1)=7,"0"&left(A1,1),left(A1,2))&"."&left(right(A1,6),2)&"."&right(a1,4)

    The returned string is text of course

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: To required the date format as justify

    1 way

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: To required the date format as justify

    =TEXT(DATE(RIGHT(A1,4),LEFT(RIGHT(A1,6),2),LEFT(A1,LEN(A1)-6)),"dd.mm.yyy")

  5. #5
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Re: To required the date format as justify

    Thanks for the solution.

  6. #6
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Re: To required the date format as justify

    Thanks for the solution provide.

  7. #7
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Re: To required the date format as justify

    Thanks a lot for solution provide.

  8. #8
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: To required the date format as justify

    A good tricks.

  9. #9
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Re: To required the date format as justify

    Kamal Asharaf,

    Will you please explain,what is the good tricks?
    Last edited by PRADEEPB270; 11-21-2013 at 08:58 PM.

+ 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. Help required in matching data in required format
    By pravindwd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2013, 09:03 PM
  2. Help required in matching data in required format
    By pravindwd in forum Access Tables & Databases
    Replies: 1
    Last Post: 05-04-2013, 04:11 PM
  3. Help required: VBA ignoring regional date settings - using US format as default.
    By Nukamoi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-29-2012, 02:24 PM
  4. Date Format Problem - Help Required.
    By heliskier89 in forum Excel General
    Replies: 1
    Last Post: 01-16-2012, 05:47 AM
  5. Formula required for date without changing the date format
    By suryaprasad in forum Excel General
    Replies: 1
    Last Post: 01-28-2009, 08:04 AM

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