Hi, I need to convert several currencies across multiple rows into GBP by looking up a conversion table and then provide the sum in GBP. I haven't been able to come up with an elegant formula (an array type formula maybe) to keep it short and simple.
for the SUM in GBP, I've got the following formula:
SUM(C8/INDEX($C$2:$C$4,MATCH(B8,$B$2:$B$4,0),),C9/INDEX($C$2:$C$4,MATCH(B9,$B$2:$B$4,0),),C10/INDEX($C$2:$C$4,MATCH(B10,$B$2:$B$4,0),))
But this is not practical as the actual table of items has a lot more rows. Any help would be much appreciated.
Regards,
pkh
for the SUM in GBP, I've got the following formula:
SUM(C8/INDEX($C$2:$C$4,MATCH(B8,$B$2:$B$4,0),),C9/INDEX($C$2:$C$4,MATCH(B9,$B$2:$B$4,0),),C10/INDEX($C$2:$C$4,MATCH(B10,$B$2:$B$4,0),))
But this is not practical as the actual table of items has a lot more rows. Any help would be much appreciated.
Regards,
pkh