TEXTJOIN and Dates

phalcon45

New Member
Joined
Nov 4, 2015
Messages
19
He everyone, Im trying to build a formula that finds all values that correlate to a search criteria then puts all of them in a single cell.
For example, it looks up a job number and reports all of the dates where the job number occurs.
I've been able to get it to report all of the dates BUT TEXTJOIN is reporting them as numbers instead of dates. For example job number AX11034 was worked on 9/27/2021, 9/28/2021 and 10/1/2021. TEXTJOIN finds all three dates but reports them as 43735, 44467, 44470. I've tried everything I can think of (including cell is formatted as Date mm/dd/yyyy) but nothing seems to work.
How can I get it to report the dates in a mm/dd/yyyy format?

Any help would be REALLY appreciated

Thank you
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
You need to apply the TEXT function, using the date format you want, to the individual dates that are being joined. If you had posted your TEXTJOIN formula, we could give you specific help how to do this.
 
Upvote 0
Thanks. I tried the TEXT function but try as I did, I apparently couldn't get it right.
My TEXTJOIN formula is simply TEXTJOIN(", ", TRUE, IF(M7=I2:I2000,C2:C2000,""))
 
Upvote 0
Try this formula...

=TEXTJOIN(", ", TRUE, IF(M7=I2:I2000,TEXT(C2:C2000,"mm/dd/yyyy"),""))
 
Upvote 0
Solution
I re-marked Rick's post as the solution.
When marking a solution, you want to mark the post that actually contains the solution (not the post acknowledging that there is a solution).
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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