Concatenate with different date formats

sobrien1234

Board Regular
Joined
May 10, 2016
Messages
175
Office Version
  1. 365
Platform
  1. Windows
I use concatenate to create a code so I can use vlookup. The source of data comes from 2 separate sheets. The issue is I get two different result using concatenate (i.e. formula = concatenate (A1,B1) which is the date,client's surname. The two different results from the two sheets are:
43369Lake
01/08/2019Lake

This means I can't use vlookup as the codes come out differently. I need to know concatenate formula to get the codes in the same format so vlookup will work. The columns with the dates both say they are in date format.

So just need to be able to convert the date (via formula using concatenate) in one of the sheets so it's the same as the other)

Thanks in advance
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Try this


Book1
ABC
1
201/08/2019Lake01/08/2019Lake
3
Hoja4
Cell Formulas
RangeFormula
C2=TEXT(A2,"dd/mm/yyyy") & B2
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,198
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top