Hi all, I am stuck on a problem which I think is simple - just can't get my head around it. I also think there is a much better, more obvious solution that I am also missing completely.
I am open to solution for either...
I have two tabs:
1) is a master list of records
2) is a list of activities which link to one-or-more of the records
At present, the user manually enters the Records id(s) in the right most column on 2nd tab
I need to pick up and display the activities which match the record on the 1st tab (in red)
Problem:
I created this formula....
=TEXTJOIN(",",TRUE,IF(TEXT([@[R'#]],0)=activity[R'#],activity[A'#],""))
...which works perfectly, EXCEPT....
Instead of returning the results "101 102 106 109" against record "1", it returns ALL activities with a "1" in the Records number, ie it also includes records "104 107 111" as it also recognises 11, 12, 21 as they all contain a "1".
I need a way of only pulling through EXACT matches with the record number, OR an inspiring different methodology...
PS I could modify the layout of these tabs slightly, but no major changes, nor VBA if possible...
Many thanks
I am open to solution for either...
I have two tabs:
1) is a master list of records
2) is a list of activities which link to one-or-more of the records
At present, the user manually enters the Records id(s) in the right most column on 2nd tab
I need to pick up and display the activities which match the record on the 1st tab (in red)
Problem:
I created this formula....
=TEXTJOIN(",",TRUE,IF(TEXT([@[R'#]],0)=activity[R'#],activity[A'#],""))
...which works perfectly, EXCEPT....
Instead of returning the results "101 102 106 109" against record "1", it returns ALL activities with a "1" in the Records number, ie it also includes records "104 107 111" as it also recognises 11, 12, 21 as they all contain a "1".
I need a way of only pulling through EXACT matches with the record number, OR an inspiring different methodology...
PS I could modify the layout of these tabs slightly, but no major changes, nor VBA if possible...
Many thanks