Hi Lisa,
Perhaps I'm missing something, but it seems to me your 'would like' format contains none of the before/after text and merely needs to use the tutorial's 'Merge Records by Category Using Two Keys' example, perhaps with some minor reformatting.
As for documentation of field code syntax, there isn't much available but see:
http://office.microsoft.com/en-us/wo...102110133.aspx?
http://office.microsoft.com/en-us/wo...101830917.aspx