Stock history formula how to convert GBp to GBP

vampsthevampyre

New Member
Joined
Apr 29, 2016
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Morning All,

I'm currently trying to convert stock and ETF prices into UK pounds (£), the problem I'm hitting is the two different versions of GB currency. The share price of Aviva Plc and INRG are in GBp (0.01 GBP) and the VUSA and VFEM ETF's is in GBP (1 GBP), the 3M stock in USD are easy to convert.

How do I get a formula to differentiate between the two and give a GBP (£) in the share price column. My google skills have let me down and excel thinks that GBP and GBp are the same thing and I have two ETF's that are different values VUSA (GBP) and INRG (GBp).

Any help will be appreciated

Best Regards

Ian



Stock Question.xlsx
CDEFGH
2Excel StockExchangeInstrument TypePurchase Share PriceCurrencyShare Price (£)
33M COMPANY (XNYS:MMM)XNYSStock93.76USD£118.36
4AVIVA PLC (XLON:AV.)XLONStock427.6GBp£427.60
5Vanguard S&P 500 ETF USD D (XLON:VUSA)XLONETF74.375GBP£74.38
6iShs Glbl Clean Engy ETF USD D (XLON:INRG)XLONETF646.25GBp£646.25
7Vanguard FTSE EM ETF USD D (XLON:VFEM)XLONETF43.788GBP£43.79
8
9
10GBP/GBpCurrencyFrom CurrencyPrice
11USD/GBPGBPUSD£ 0.79
12GBP/USDUSDGBP$ 1.26
Sheet1
Cell Formulas
RangeFormula
D3:D7D3=[@[Excel Stock]].[Exchange abbreviation]
E3:E7E3=[@[Excel Stock]].[Instrument type]
F3:F7F3=[@[Excel Stock]].Price
G3:G7G3=[@[Excel Stock]].Currency
H3:H7H3=IF([@Currency]="USD",[@[Purchase Share Price]]*G12,[@[Purchase Share Price]])
E11:E12E11=[@[GBP/GBp]].Currency
F11:F12F11=[@[GBP/GBp]].[From currency]
G11:G12G11=[@[GBP/GBp]].Price
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi, perhaps you could try:

Excel Formula:
=IF([@Currency]="USD",[@[Purchase Share Price]]*G12,IF(EXACT([@Currency],"GBp"),[@[Purchase Share Price]]*0.01,[@[Purchase Share Price]]))
 
Upvote 1
Solution
Hi, perhaps you could try:

Excel Formula:
=IF([@Currency]="USD",[@[Purchase Share Price]]*G12,IF(EXACT([@Currency],"GBp"),[@[Purchase Share Price]]*0.01,[@[Purchase Share Price]]))
Thanks for that, I didn't even know the "exact" function existed
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,628
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top