Index formula returning #REF!

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,922
Office Version
  1. 365
Platform
  1. Windows
Hi,

Table name: Currency, sheet name Currency

I have the following index formula on another sheet:
=INDEX(Currency,MATCH(D2,Currency[#Headers],0),MATCH(B2,Currency[[#Alll],[Date]],0))
D2 is a date, B2 is a currency label, both exist in the table

If I use Evaluate Formula, it becomes:
=INDEX('Currency'!$A$2,$R$7710,2,76)
Which returns #REF, despite valid values for row and column index numbers (i.e. Match returns a number)

Can anyone tell why? The cell it finds is B76 (which is within range A2:R7710) and contains value 1, so why does the formula return #REF!?

TIA,
Jack
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
The part in red is the column reference
=INDEX('Currency'!$A$2,$R$7710,2,76)
which is column BX hence the #REF error.
Should the two match functions be the other way round?
 
Upvote 0
Been staring at this screen for too long, urgh, should have re-checked that. Thanks @Fluff, solves it :)
 
Upvote 0

Forum statistics

Threads
1,215,381
Messages
6,124,614
Members
449,175
Latest member
Anniewonder

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