In the attached file I've inserted a new blank row at the top of the sheet (for headings), so all the data starts on row 2. I've also used a helper column (which could be hidden if you wish), so in G2 I have this formula:
This identifies the matches between A and D and sets up a simple sequence where there is a match.
This formula in H2:
brings the matching names across, all bunched together with no gaps. Finally, this formula in I2:
carries out the calculation for the matching names. I've applied formatting to these cells to show only 2 decimal places. All formulae can be copied down to beyond the extent of the data, to ensure that you don't miss anything (I've copied to row 20, as an example).
Hope this helps.
Pete
Bookmarks