Forum Discussion

renee_crozier's avatar
renee_crozier
Copper Contributor
Apr 17, 2024
Solved

Removing Duplicates When Using XLOOKUPs, IF, and TEXTJOIN

I am trying to compile a list of people from a different sheet named "Asset" that are associated with a certain asset in Excel (Office 365). Using this formula, I want to return a name if the asset w...
  • Detlef_Lewin's avatar
    Apr 17, 2024

    renee_crozier 

    Try this.

    =TEXTJOIN("; ",TRUE,
    UNIQUE(VSTACK(
    IF(XLOOKUP(A15,Tabelle1[Path],Tabelle1[Modified])>TODAY()-184,XLOOKUP(A15,Tabelle1[Path],Tabelle1[ModifiedBy]),"Mod > 6 months"),
    IF(XLOOKUP(A15,Tabelle1[Path],Tabelle1[Created])>TODAY()-184,XLOOKUP(A15,Tabelle1[Path],Tabelle1[CreatedBy]),"Created > 6 months"),
    XLOOKUP(A15,Tabelle1[Path],Tabelle1[ContentOwner]))))

Resources