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
 

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,317
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.
 

maarten74

New Member
Joined
Jan 18, 2009
Messages
4
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



What do I do wrong?

Regards,

Maarten
 

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,317
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:

maarten74

New Member
Joined
Jan 18, 2009
Messages
4
Hi Marcelo,

Thank you very much; it worked
Good luck Friday against Belgium!

Regards,

Maarten
 

Forum statistics

Threads
1,081,415
Messages
5,358,533
Members
400,502
Latest member
price83

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top