Results 1 to 5 of 5

Merge date and time column to compare with a single datetime column

Threaded View

  1. #1
    Registered User
    Join Date
    04-17-2020
    Location
    Newcastle
    MS-Off Ver
    office 365
    Posts
    66

    Merge date and time column to compare with a single datetime column

    Hi Team,

    I have 2 date time values i need to compare to find a match.

    The first is split into separate date (column 1) and time (column 2). The second is a combined date and time in a single column.

    My thoughts were i need to merge the 2 columns into 1 and then compare it to the datetime column. I did that with:

    =CONCATENATE(TEXT(A2,"dd/mm/yyyy")&" "&TEXT(B2,"hh:mm:ss"))

    The values look the same format now in the 2 columns i have to compare but i'm not able to match them. I thought maybe it was because my combined column is a formula but even if i copy and paste it as a value and make sure the format cell option on both is the same custom format of "dd/mm/yyyy hh:mm:ss" it still doesnt work.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 03-24-2016, 11:49 PM
  2. Merge specific column data from multiple sheets in single column of new workbook.
    By kadam203 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2016, 01:58 AM
  3. Merge date and time in one column
    By Krista1984 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-14-2014, 10:59 AM
  4. Merge date and time in one column
    By Krista1984 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-11-2014, 08:59 PM
  5. [SOLVED] Date function that compare 2 date in single column and return value
    By alimamak in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-20-2012, 06:45 AM
  6. Replies: 0
    Last Post: 07-27-2010, 03:08 PM
  7. Based on a Column datetime value auto calculate and populate a datetime range
    By rajashanmuga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2010, 04:10 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