Multiple MATCH within INDEX function

dinanochka

New Member
Joined
Sep 22, 2015
Messages
1
Hello,

I need to pull various exchange rates that are located in a separate worksheet (FX Table), and which must correspond to a) a certain date and b) a certain currency. The formula below seem to only account for the date, and omits the currency ticker.

D18 is the date
G3 is the currency
Row 4 in FX Table contains all currency tickers (hence B4:ZZ4)

=IF(($G$3<>"USD"),INDEX('FX Table'!$B:$B,MATCH(D$18,'FX Table'!$A:$A,0),MATCH($G$3,'FX Table'!$B$4:$ZZ$4,0)),1)

I am using Excel 2011
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try...

=IF(($G$3<>"USD"),INDEX('FX Table'!$B:$ZZ,MATCH(D$18,'FX Table'!$A:$A,0),MATCH($G$3,'FX Table'!$B$4:$ZZ$4,0)),1)

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,049
Members
449,206
Latest member
Healthydogs

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