IFERROR INDEX MATCH combi formule does not work

maarten74

New Member
Joined
Jan 18, 2009
Messages
4
Dear Sir, Madam,

I have the following issue. I have inputfile with only data on the 1st of january and the sixth of january, but I have to fill this in on a full calendar list. I tried to solve this by using an IFERROR , INDEX and Match function, but as you can see in the attachment it only ends up with 0. Could one of you please let me know what I do wrong? Thanks in advance.


01/01/201806/01/2018
Project a31
Total22
01/01/201802/01/201803/01/201804/01/201805/01/201806/01/2018I have an input table from c2 thru e4 and I would like to fill in automatically c6:i9
Project a000000
Other000000
Total000000

<colgroup><col><col span="6"><col span="7"></colgroup><tbody>
</tbody>

The formula used in cell d7 (the bold highlighted 0) is as follows =IFERROR(INDEX($C$2:$E$4;MATCH($C$7;$C$2:$E$4;0);MATCH(D6;$C$2:$E$4;0));0)

I do not know how to add an attachment.

Thanks in advance for your help

Best regards,

Maarten
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Maybe this...


C
D
E
F
G
H
I
1
01/01/2018​
06/01/2018​
2
Project a​
3​
1​
3
4
Total​
2​
2​
5
6
01/01/2018​
02/01/2018​
03/01/2018​
04/01/2018​
05/01/2018​
06/01/2018​
7
Project a​
3​
0​
0​
0​
0​
1​
8
Other​
0​
0​
0​
0​
0​
0​
9
Total​
2​
0​
0​
0​
0​
2​

Formula in D7 copied across and down
=IFERROR(INDEX($D$2:$E$4,MATCH($C7,$C$2:$C$4,0),MATCH(D$6,$D$1:$E$1,0)),0)

Hope this helps

M.
 
Upvote 0
Dear Marcelo,

Thanks for your feedback.
However I tried to fill this in =IFERROR(INDEX($d$2:$e$4,MATCH($C7,$C$2:$C$4,0),MATCH(D$6,$D$1:$E$1,0)),0) like you said but I get the following message

38b1b648-6844-4b27-80db-638e4b8f225c.png


What do I do wrong?

Regards,

Maarten
 
Upvote 0
Ah, it seems your Excel version uses semicolon instead of comma as argument separator

Try
D7 copied across and down
=IFERROR(INDEX($D$2:$E$4;MATCH($C7;$C$2:$C$4;0);MATCH(D$6;$D$1:$E$1;0));0)

M.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,008
Members
448,935
Latest member
ijat

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