+ Reply to Thread
Results 1 to 4 of 4

Using Concatenate & Ifs functions to convert US dates into British Dates

  1. #1
    Registered User
    Join Date
    07-21-2020
    Location
    Great Britain
    MS-Off Ver
    2016
    Posts
    9

    Using Concatenate & Ifs functions to convert US dates into British Dates

    Hi there,

    I have worked out a way of converting US dates into British ones using delimited and concatenate function to restore leading zeros lost after date data seperation. The next step is to nest these concatenate functions into 1 formula so it can simply be dragged down the page.

    I've programmed concatenate with 4 conditional values;

    1) if month <10 then return date by concatenating day, month & year by inserting these digits.
    2) If day <10 then return date by concatenating day, month & year by inserting those digits.
    3) if month & day are both <10 then return date by concatenating day, month & year by inserting other digits.
    4) if month & day are both=>10 then concatenate cells by day, month & year.

    How do I use IFS or IF functions to nest these conditions into 1 formula?

    Sample sheet is attached. Any help/suggestons would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Using Concatenate & Ifs functions to convert US dates into British Dates

    Try

    =DATE(LEFT(A2,4),MID(A2,6,2),RIGHT(A2,2))

    format as "dd-mm-yyyy"
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    07-21-2021
    Location
    Norfolk, UK
    MS-Off Ver
    Excel 2003, 2007, 2013, 2019
    Posts
    212

    Re: Using Concatenate & Ifs functions to convert US dates into British Dates

    @Stephen

    I think you are trying to do this for yourself rather than using Excel's quite sophisticated date management functions.

    You have several different concatenation formulae (4 - I think) in your column that converts US dates to UK ones. It would be good if you could match the formulae up to the descriptions in your first post.

    We might then have some chance of identifying whether there is a clear cascading order of IF statements.

    Stephen
    Regards,

    Stephen

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Using Concatenate & Ifs functions to convert US dates into British Dates

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and format as date.

+ 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] Looking for a formula to convert American dates to British dates.
    By JackMWhit in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-28-2022, 02:42 PM
  2. [SOLVED] Nested If Functions for Upcoming Expiration Dates and Expired Dates
    By AmberLeanne in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2017, 07:33 PM
  3. Replies: 12
    Last Post: 06-13-2014, 05:03 PM
  4. [SOLVED] Request a Macro to Convert data into Dates (Multiple Dates Values separated by Line)
    By seenai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2012, 02:28 AM
  5. [SOLVED] LEFT and CONCATENATE functions not working with dates
    By Excel Dumbo in forum Excel General
    Replies: 11
    Last Post: 08-27-2012, 06:52 AM
  6. Replies: 1
    Last Post: 06-25-2012, 12:45 AM
  7. Problem importing British dates
    By Sten in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2012, 09:40 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