concatenate and add "/"'s

beancounter

Board Regular
Joined
Oct 30, 2002
Messages
111
Does anyone know of a way to add /'s to a concatenate formula? For instance column H = 06, column I = 29, column J = 1994, the formula in column K = concatenate(h2,i2,j2) to get 06291994. I would like to have the result be 06/29/1994.

Thanks,
John
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
Why not make it an actual date..

=DATE(J2,H2,I2)

But to technically answer the question...

concatenate(h2,"/",i2,"/",j2)

or

=H2&"/"&I2&"/"&J2


Hope this helps..
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
75,392
Office Version
365
Platform
Windows
John

Do you actually want a 'real' date or the text?

Real date:

=DATE(J2, H2, I2)

Text:

=H2&"/"&I2&"/"&J2
 

beancounter

Board Regular
Joined
Oct 30, 2002
Messages
111
That's it!

I'm using the concatenate(h2,"/",i2,"/",j2) and it works perfectly.

thank you
 

Forum statistics

Threads
1,084,736
Messages
5,379,515
Members
401,609
Latest member
MattyM1980

Some videos you may like

This Week's Hot Topics

  • VBA code giving errors and stopping Excel
    Hello Experts, I have this code being used to loop through files in a file path, and copy specific data to another sheet. It is giving me several...
  • Disable MsgBox message
    Morning, I have a userform where if i leave a ComboBox empty i see a MsgBox warning me that i must enter an invoice number. It is this MsgBox i...
  • Macro Recorder into VBA, Copy Paste Data Filled Cells
    Hi Everyone, I have a macro recorder file that takes a selection of data, copies, then pastes into a new sheet on ("A2:B2") The issue is my...
  • Number format changes while pasting into a cell
    Hi, I am trying to paste a number 180204524303 from an email to an excel cell, however, whenever i try to do so , the the paste value appears as...
  • Collating data
    Hello all. Could someone please help. I am trying to pull all column data from multiple sheets (24 I total so far) into 1 master sheet without...
  • Sum Multiple Columns Based on Multiple Criteria
    I am trying to consolidate data by summing columns G through M based on material, plant, vendor, and fiscal year being identical. The period does...
Top