...three extra columns
Col1: =vlookup(<ccyref>, <tableref>, 2, false)
Col2. =vlookup(<ccyref>, <tableref>, 3, false)
Col3. =iif(<Col1>="M",<valueref>*col2,<valueref>/col2)
simpler.
if you need to extend this to have multiple rates for each currency ( ie GBP-EUR <> EUR-GBP) then create your...