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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,213,536
Messages
6,114,211
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