That UDF is really only needed when concatenating multiple results from one formula. In your case, you are wanting to concatenate single results from a range of formulae. There no need for any macro in your file. A much simpler INDEX-MATCH will do to look up the individual results. To get you exact result this sort of structure was used:
=Formula1a&" blah blah /Prize $"&formula2a&"blah blah and $"and formula3a&char(10)&Formula 1b" blah blah..........
Where 1 is the formula for the name, 2 is the formula for the prize and 3 is the formula for the career earnings;
Where a, b, & c are the 9th, 10th and 11th series
Where CHAR(10) introduces a line break.
Example formula 1
Formula:
=INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0))
Example formula 2
Formula:
=INDEX('Women Rank Placement Record'!$G$5:$G$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0))
Example formula 3
Formula:
=INDEX('Women Rank Placement Record'!$AA$5:$AA$75,MATCH(INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0)),'Women Rank Placement Record'!$Z$5:$Z$75,0))
Total formula as used in the sheet:
Formula:
=INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0))&" - Won "&'Women Rank Placement Record'!E3&" / Prize $"&
INDEX('Women Rank Placement Record'!$G$5:$G$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0))&
" / ASPR, CEPSC Career Earnings $"&INDEX('Women Rank Placement Record'!$AA$5:$AA$75,MATCH(INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$F$5:$F$35,0)),'Women Rank Placement Record'!$Z$5:$Z$75,0))&CHAR(10)&
INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$I$5:$I$35,0))&" - Won "&'Women Rank Placement Record'!H3&" / Prize $"&
INDEX('Women Rank Placement Record'!$J$5:$J$35,MATCH("1st",'Women Rank Placement Record'!$I$5:$I$35,0))&
" / ASPR, CEPSC Career Earnings $"&INDEX('Women Rank Placement Record'!$AA$5:$AA$75,MATCH(INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$I$5:$I$35,0)),'Women Rank Placement Record'!$Z$5:$Z$75,0))&CHAR(10)&
INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$L$5:$L$35,0))&" - Won "&'Women Rank Placement Record'!E3&" / Prize $"&
INDEX('Women Rank Placement Record'!$M$5:$M$35,MATCH("1st",'Women Rank Placement Record'!$L$5:$L$35,0))&
" / ASPR, CEPSC Career Earnings $"&INDEX('Women Rank Placement Record'!$AA$5:$AA$75,MATCH(INDEX('Women Rank Placement Record'!$C$5:$C$35,MATCH("1st",'Women Rank Placement Record'!$L$5:$L$35,0)),'Women Rank Placement Record'!$Z$5:$Z$75,0))
Bookmarks