Using Index in combination wth Match

MindManagement

New Member
Joined
Jan 13, 2016
Messages
8
I am using the table below to fill in the right value from another worksheet called "Call Rates".

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Type Convesation
[/TD]
[TD]Fonzer
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Belgium, Fixed
[/TD]
[TD]€ 0,02000
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

The Worksheet Call Rates looks like this
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]Fonzer
[/TD]
[TD]Fonzer+
[/TD]
[TD]Fonzer++
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Belgium, Fixed
[/TD]
[TD]€ 0,02000
[/TD]
[TD]€ 0,01900
[/TD]
[TD]€ 0,01800
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Belgium, Mobile
[/TD]
[TD]€ 0,08500
[/TD]
[TD]€ 0,06500
[/TD]
[TD]€ 0,04500
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

The formula I used in the first table where € 0,02000 is marked in red looks like :
=INDEX('Call Rates'!B2:B4;MATCH(B1&A2;'Call Rates'!B1:D1&'Call Rates'!A2:A4;0))
After that I press Shift+CTRL+Enter
But i get an error saying "# Value".
I used an example from the internet where they looked up a value based on 2 criteria, same as I would like to do.
If I write in the first table 1, in B1, Fonzer++ he should return the value € 0,01800 or Fonzer+ should result in € 0,01900.
But no, it returns the result #Value .
Can somebody tell me what's wrong on my formula ?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You actually want a regular formula rather than an array formula since your criteria are separate - one for the row, one for the column:

=INDEX('Call Rates'!B2:D4;MATCH(A2;'Call Rates'!A2:A4;0);MATCH(B1;'Call Rates'!B1:D1;0))
 
Upvote 0
Try
Code:
=INDEX('call rates'!B2:D3;MATCH(A2;'call rates'!A2:A3;0);MATCH(B1;'call rates'!B1:D1;0))
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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