Hi everyone
This formula:
=IF(INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2)<0;INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2);TEXTJOIN("-";TRUE;INDIRECT($A24&"!$ID$5";INDIRECT($A24&"!$IE$5"))))
is made up of three parts:
Part 1: if index match < 0
IF(INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2)<0
Part 2: value if true
index match
Part 3: value if false:
TEXTJOIN("-";TRUE;INDIRECT($A24&"!$ID$5";INDIRECT($A24&"!$IE$5")
Textjoin part is showing only the first value, not the second one.
Thanks!
This formula:
=IF(INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2)<0;INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2);TEXTJOIN("-";TRUE;INDIRECT($A24&"!$ID$5";INDIRECT($A24&"!$IE$5"))))
is made up of three parts:
Part 1: if index match < 0
IF(INDEX(INDIRECT($A24&"!$R$2:$FK$51");50;MATCH(INDIRECT($A24&"!$HV$5");INDIRECT($A24&"!$R$2:$FK$2");0)+2)<0
Part 2: value if true
index match
Part 3: value if false:
TEXTJOIN("-";TRUE;INDIRECT($A24&"!$ID$5";INDIRECT($A24&"!$IE$5")
Textjoin part is showing only the first value, not the second one.
Thanks!