Pulsar3000
New Member
- Joined
- Apr 19, 2021
- Messages
- 44
- Office Version
- 365
- Platform
- Windows
When I remove the current raw data and replace it with new raw data, this function no longer works.
Function: (IF(OR(W2="OT Hours",W2="Holiday Hours")=TRUE,TEXTJOIN(", ",TRUE,UNIQUE(IF(($A$2:$A$7537=A2)*($C$2:$C$7537=C2)*($S$2:$S$7537=S2)*(@$T$2:$T$7537=T2)*($H$2:$H$7537<>0),$K$2:$K$7537,""))),0))
Question !: Why doesn't it work?
Question 2: Is there a better performing function? For example, I concatenated all the fields that it needs to match in helper Column X and changed the function to the below but it didn't work. Maybe I need to do an index match.
Alternative Function: (IF(OR(W2="OT Hours",W2="Holiday Hours")=TRUE,TEXTJOIN(", ",TRUE,UNIQUE(IF(($X$2:$X$7537=X2),$K$2:$K$7537,""))),0))
Function: (IF(OR(W2="OT Hours",W2="Holiday Hours")=TRUE,TEXTJOIN(", ",TRUE,UNIQUE(IF(($A$2:$A$7537=A2)*($C$2:$C$7537=C2)*($S$2:$S$7537=S2)*(@$T$2:$T$7537=T2)*($H$2:$H$7537<>0),$K$2:$K$7537,""))),0))
Question !: Why doesn't it work?
Question 2: Is there a better performing function? For example, I concatenated all the fields that it needs to match in helper Column X and changed the function to the below but it didn't work. Maybe I need to do an index match.
Alternative Function: (IF(OR(W2="OT Hours",W2="Holiday Hours")=TRUE,TEXTJOIN(", ",TRUE,UNIQUE(IF(($X$2:$X$7537=X2),$K$2:$K$7537,""))),0))