Formatting Date withing Concatenate using Index Match

MoreGone

New Member
Joined
Aug 15, 2016
Messages
14
Hello,

I am pulling together a string of data including a date with Concatenate and Index/Match. What is being returned is the serial date. How do I format it to a presentable date? It is the index match highlighted in red.

Thanks


=CONCATENATE("WO ",INDEX(WL[WORK ORDER
'#],MATCH(B2,WL[BE],0),1)," WF BE ",B2," ",INDEX(WL[Building Name],MATCH(B2,WL[BE],0),1)," Scheduled ",INDEX(WL[Start Date],MATCH(B2,WL[BE],0),1))
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
use text() - following is untested:

=CONCATENATE("WO ",TEXT(INDEX(WL[WORK ORDER
'#],MATCH(B2,WL[BE],0),1)," WF BE ",B2," ",INDEX(WL[Building Name],MATCH(B2,WL[BE],0),1)," Scheduled ",INDEX(WL[Start Date],MATCH(B2,WL[BE],0),1),"DD MM YYYY"))

edit - moved a terminal bracket
 
Last edited:
Upvote 0
use text() - following is untested:

=CONCATENATE("WO ",TEXT(INDEX(WL[WORK ORDER
'#],MATCH(B2,WL[BE],0),1)," WF BE ",B2," ",INDEX(WL[Building Name],MATCH(B2,WL[BE],0),1)," Scheduled ",INDEX(WL[Start Date],MATCH(B2,WL[BE],0),1),"DD MM YYYY"))

edit - moved a terminal bracket


Here is what I went with an worked. I figured if TEXT would work I would want it just to apply to the INDEX since there was a few other numbers being pulled in I didn't want changed

=CONCATENATE("WO ",INDEX(WL[WORK ORDER
'#],MATCH(B2,WL[BE],0),1)," WF BE ",B2," ",INDEX(WL[Building Name],MATCH(B2,WL[BE],0),1)," Scheduled ",TEXT(INDEX(WL[Start Date],MATCH(B2,WL[BE],0),1),"MM/DD/YYYY"))

Thanks for the help!
 
Upvote 0

Forum statistics

Threads
1,215,172
Messages
6,123,443
Members
449,100
Latest member
sktz

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