Hello,
This should be straightforward but ive drawn a blank.
We are given;
Sheet1:
Col B: range of currencies in this format. A sample list has been provided but there may be more so the formula has to be dynamic enough to allow for this.
Col C: Value is given but could be any given value
Col D: Requires formula to show the following. Depending on value from Col b then take this rate which can be sourced from Sheet2 and times the value in Col C by this amount. Rates need to be sourced for A1 = 30/09/2018
Sheet1[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 217"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]Ccy[/TD]
[TD]Value[/TD]
[TD]Value_Fx'd[/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]1000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]2000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]3000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]USD[/TD]
[TD="align: right"]4000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]JPY[/TD]
[TD="align: right"]5000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]DKK[/TD]
[TD="align: right"]6000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]SEK[/TD]
[TD="align: right"]7000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]BRL[/TD]
[TD="align: right"]8000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]9000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]EUR[/TD]
[TD="align: right"]10000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]HKD[/TD]
[TD="align: right"]11000[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 523"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD][/TD]
[TD]FX_Rates[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]USDJPY[/TD]
[TD]USDGBP[/TD]
[TD]USDHKD[/TD]
[TD]USDEUR[/TD]
[TD]USDSEK[/TD]
[TD]USDDKK[/TD]
[TD]USDBRL[/TD]
[/TR]
[TR]
[TD="align: right"]31/08/2018[/TD]
[TD="align: right"]110.05[/TD]
[TD="align: right"]0.575[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]1.05[/TD]
[TD="align: right"]6.5[/TD]
[TD="align: right"]8.55[/TD]
[TD="align: right"]2.25[/TD]
[/TR]
[TR]
[TD="align: right"]30/09/2018[/TD]
[TD="align: right"]112.05[/TD]
[TD="align: right"]0.675[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]1.15[/TD]
[TD="align: right"]7.5[/TD]
[TD="align: right"]9.55[/TD]
[TD="align: right"]3.25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This should be straightforward but ive drawn a blank.
We are given;
Sheet1:
Col B: range of currencies in this format. A sample list has been provided but there may be more so the formula has to be dynamic enough to allow for this.
Col C: Value is given but could be any given value
Col D: Requires formula to show the following. Depending on value from Col b then take this rate which can be sourced from Sheet2 and times the value in Col C by this amount. Rates need to be sourced for A1 = 30/09/2018
Sheet1[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 217"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]Ccy[/TD]
[TD]Value[/TD]
[TD]Value_Fx'd[/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]1000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]2000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]3000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]USD[/TD]
[TD="align: right"]4000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]JPY[/TD]
[TD="align: right"]5000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]DKK[/TD]
[TD="align: right"]6000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]SEK[/TD]
[TD="align: right"]7000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]BRL[/TD]
[TD="align: right"]8000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]GBP[/TD]
[TD="align: right"]9000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]EUR[/TD]
[TD="align: right"]10000[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]HKD[/TD]
[TD="align: right"]11000[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 523"]
<colgroup><col><col span="7"></colgroup><tbody>[TR]
[TD][/TD]
[TD]FX_Rates[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]USDJPY[/TD]
[TD]USDGBP[/TD]
[TD]USDHKD[/TD]
[TD]USDEUR[/TD]
[TD]USDSEK[/TD]
[TD]USDDKK[/TD]
[TD]USDBRL[/TD]
[/TR]
[TR]
[TD="align: right"]31/08/2018[/TD]
[TD="align: right"]110.05[/TD]
[TD="align: right"]0.575[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]1.05[/TD]
[TD="align: right"]6.5[/TD]
[TD="align: right"]8.55[/TD]
[TD="align: right"]2.25[/TD]
[/TR]
[TR]
[TD="align: right"]30/09/2018[/TD]
[TD="align: right"]112.05[/TD]
[TD="align: right"]0.675[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]1.15[/TD]
[TD="align: right"]7.5[/TD]
[TD="align: right"]9.55[/TD]
[TD="align: right"]3.25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]