Hi All
I am struggling coming up with a easy way to compound returns from a large list.
Say i have a spreadsheet with
Column A (animals) Column B (return)
Dog 5
Dog 7
Cat 3
Cat 2
Mouse 9
I want to run the formula {=(product(1+B1:B4/100)-1)} which compounds the returns. But i only want to compound like animals.
So I would have a List sheet that contains the set of Animals so i could use a lookup function.
Column A (List)
Cat
Dog
Mouse
I thought something like =vlookup(A1, Animals(product(1+B1:B4/100)-1),2, false) but i need to get all the Cats and Dogs not just one!
Any help would be muchly appreciated.
Cheers
Bookmarks