Okay, probably that one above is not going to work...
I think this might... but it requires you insert helper columns, since the formulas would have too many nested function for XL2003...
So see attached.
I inserted 2 columns in Data sheet after B and 2 columns after the new column G.
Formulas are in C2:
=INDEX(AWorkbookin!$A2:$O2,,MAX(IF(ISNUMBER(SEARCH(A$2:A$4,AWorkbookin!$A2:$O2)),COLUMN(AWorkbookin!$A2:$O2))))
this extracts the string in the cell that contains last occurance of a matched wordl
in D2:
=MAX(IF(ISNUMBER(SEARCH(A$2:A$4,C2)),SEARCH(A$2:A$4,C2)))
this finds max (or nearest to the end) position within that cell of last occurring word
in E2:
=INDEX(B$2:B$4,MATCH(D2,SEARCH(A$2:A$4,INDEX(AWorkbookin!$A2:$O2,,MAX(IF(ISNUMBER(SEARCH(A$2:A$4,AWorkbookin!$A2:$O2)),COLUMN(AWorkbookin!$A2:$O2))))),0))
the final matched text for from Column B to coincide with last matched word.
Each of these formulas are array formulas, needing CTRL+SHIFT+ENTER confirmation, then each copied down.
Then you can copy C2:E4 to H2 for the Female side.
Those helper columns can be hidden...
You may need to adjust the formulas in column S of the other sheet to coincide with new column positions...
Hope that does it.
Bookmarks