First, select a single cell in the range, use data/sort, select Name from the
first dropdown and Type from the 2nd.
Then use Data/Subtotals and specify at each change in Name, use Sum to add
Amount. Then do Data/Subtotals AGAIN, and specify at each change in Type, use
Sum to add Amount AND BE SURE TO DESELECT Replace Current Subtotals
> Name Type Amount
> A P 10.00
[quoted text clipped - 7 lines]
> grant-total on name?
> regards,