+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Replace date range

  1. #1
    Registered User
    Join Date
    05-11-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    29

    Replace date range

    Hi everyone,

    Second post today and had some excellent help earlier. I hope someone can help me with this problem. I am trying to replace a date and time range with just the corresponding date range. Please see the attachment. So I need to replace column "A" and have it look like column "C". I manually typed in the date range in Column "C" but the data set Im working with is so big this is not feasible for the whole set. Any ideas?

    Thanks!

    Help1.xlsx

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,627

    Re: Replace date range

    B1: "=DATEVALUE(SUBSTITUTE(A1,".","/")))", copied down and formatted as date.
    Ben Van Johnson

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Replace date range

    Hi Matabele,

    You might try:

    =DATEVALUE(MID(A1,6,2)&"/"&MID(A1,9,2)&"/"&LEFT(A1,4))

    Format that cell as Date and then fill down the column. Hope that helps!

  4. #4
    Registered User
    Join Date
    05-11-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Replace date range

    Thanks very much for your help proton and Paul, it worked perfectly!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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