Regards avoidance of VBA, correct, there is no VBA support in XL2008.
If we assume your table is A2:B13 then with the names detailed in D2:D5 [we assume row 1 will contain headers] we can generate the count in E2:E5 as follows:
It should be noted the above is not efficient and should your real data set prove to be very big you would best served changing approach.
(Note: you could also use a Frequency Array)
For a really efficient calculation IMO you should first sort your 2 column table by Columns 2 & 1 (in that order) which would in turn permit use of very efficient "helper" calculations. Whether or not that is viable is of course unknown at this stage.
If it transpires that you wish to generate the names as part of the calculation I would suggest using a helper based calculation to generate the name when appropriate (first instance of combination) in a further column which would then act as the source for a Pivot Table.
Bookmarks