I have a problem where I am using Index and Match formula to index one result (Using Match formula to determine both the row number and the column number in the Index formula).

The problem is that my data array has several results in the same column and I want to the output to be one particular result only. There is only one relevant result and the other results are something called 'null' in the same column. So I was hoping to use some formula like <>"null" as a condition but its just to working. I have been researching for a couple of days on this and used both Vlookup and Index/Match.

Is there any suggestions you could give me?

Right, now, by default my formula gives me the first result in the column. Here is my formulas (both Vlookup and Index/Match ones)

=VLOOKUP(B8,'Attendance tracker Jun 20'!C10:CE500,MATCH(D7,'Attendance tracker Jun 20'!J10:CE10,0))

=INDEX('Attendance tracker Jun 20'!$A$10:$CE$500,MATCH($B12,'Attendance tracker Jun 20'!$C$10:$C$500,0),MATCH(D$7,'Attendance tracker Jun 20'!$A$10:$CE$10,0))