Concatinate, TEXT with date formula.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
I have dates in column C, like this 2/28/2017
[TABLE="width: 255"]
<tbody>[TR]
[TD] And text in column H,
[/TD]
[/TR]
</tbody>[/TABLE]
I want result like this,
0217JIB IDC - DRILL SITE TITLE OPINION

Please advise.

Thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Where in your result is a date formula....or a date like you said you had in column C?

Or........

Is the 0217 the month and the year?

Maybe this?:


Excel 2013/2016
ABC
12/28/2017Hi there0217Hi there
23/4/2017How are you0317How are you
Sheet1
Cell Formulas
RangeFormula
C1=TEXT(MONTH(A1),"00") & RIGHT(TEXT(YEAR(A1),"00"),2)&B1
C2=TEXT(MONTH(A2),"00") & RIGHT(TEXT(YEAR(A2),"00"),2)&B2
 
Upvote 0
PHP:
=TEXT(MONTH(C1),"00") & RIGHT(TEXT(YEAR(C1),"00"),2)&H1

Sorry. Here's one with your requested columns.
 
Upvote 0
jproffer

Thank you, your formula is working but as you see Scott's formula is easy so I think I should use the easy one.

Thanks again.

Best regards,
 
Upvote 0
jproffer

Thank you, your formula is working but as you see Scott's formula is easy so I think I should use the easy one.

Thanks again.

Best regards,


I agree, you should use his. I'm not completely familiar with the TEXT function and didn't realize you could do the month and year at the same time. I like his better also :) . I'll have to work on that function sometime...get more acquainted with it.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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