Why Don't you try Pivot Table It Should Do the trick.
On Nov 21, 5:08 pm, "Gaurav Kapoor" <[EMAIL PROTECTED]> wrote: > Hi People, > I was looking for some help on the attached file.I have the data on > sheet 1 and in sheet 2 I want the data to be compiled for every > person.It should have the subtotal for each person in regards to "P". > > Thanks. > > Book4.xls > 651KViewDownload --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com -~----------~----~----~----~------~----~------~--~---