IF function using matrix entries? HELP

ph282

New Member
Joined
Jun 22, 2016
Messages
1
Hey guys, I am having loads of trouble editing my spreadsheet and it seems to be taking a really long time (over 20,000 entries)...

I have some data for over 500 companies (1990-2015) and they all have different currency units which i need to convert (into EUR). It looks something like this



DateCompCurrDivRep
1990xCAD407
1991xCAD250
*****
2015xCAD136
1990yUSD112
1991yUSD430
*****
2015yUSD138
1990zATS233
1991zATS454
*****
2015zATS345
1990aBEF2345
*****

<tbody>
</tbody>



I then have created a matrix (26,45) of all the historical exchange rates:

AED ATS AUD BEF BRL CAD CHF CLP*ZWD
1990
1991
1992
1993
1994
1995
*
2015


What I need is a formula that can recognise the units the companies 'dividends' and 'repurchases' is in and then divide by the correct exchange rate (that is by the correct entry in the matrix)?


 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,215,417
Messages
6,124,787
Members
449,188
Latest member
Hoffk036

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