TextJoin with Match to Return Unique Values in Date Format

Darken99

New Member
Joined
Jul 14, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I am returning multiple values, using CHAR(10) to have the items show up on multiple rows and excluding duplicate values. Everything is working but I want to get the dates to get returned in a date format. I have found a simpler formula to achieve this but have been unsuccessful on replicating in my formula. Any thoughts on how to make this work?

Thanks

Example Formula
=TEXTJOIN(", ", TRUE, IF(M7=I2:I2000,TEXT(C2:C2000,"mm/dd/yyyy"),""))

My Formula
=TEXTJOIN(CHAR(10), TRUE, IF(IFERROR(MATCH(Open_Pred_Pred_WOs[Date Created], IF([@[WO Asset Number]]=Open_Pred_Pred_WOs[Reporting Asset], Open_Pred_Pred_WOs[Date Created], ""), 0),"")=MATCH(ROW(Open_Pred_Pred_WOs[Date Created]), ROW(Open_Pred_Pred_WOs[Date Created])), Open_Pred_Pred_WOs[Date Created], ""))
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Maybe
Excel Formula:
=TEXTJOIN(CHAR(10), TRUE, IF(IFERROR(MATCH(Open_Pred_Pred_WOs[Date Created], IF([@[WO Asset Number]]=Open_Pred_Pred_WOs[Reporting Asset], Open_Pred_Pred_WOs[Date Created], ""), 0),"")=MATCH(ROW(Open_Pred_Pred_WOs[Date Created]), ROW(Open_Pred_Pred_WOs[Date Created])), TEXT(Open_Pred_Pred_WOs[Date Created],"mm/dd/yyyy"), ""))
 
Upvote 0
Solution
That worked but could have swore I tried that. Thanks for the help
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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