Ashish ... (Good morning)
Saw your response last night, but waited to see File this am before attempting to provide further details as you suggested ... Started this morning with an empty head (not unusual) & started to layout what I was attempting to do so I could better present
to this board ... In doing so, I managed to come up with a better solution I feel more comfortable with. Instead of using INDEX/MATCH ... I changed to using "MIN(IF" & "MAX(IF" in Col Ranges expecting Date Returns & "SUM(IF" for Col Ranges expecting Numeric
Returns ... Most likely not most efficient, but it appears to be working ...
Sample ... Return MIN Date
{=IF(AND($B10<>I$5,$B10<>I$7),"",MIN(IF(OR($B10=I$5,$B10=I$7),IF(WS2!$A:$A=$C10,IF(WS2!$C:$C=$B10,WS2!E:E)))))}
Sample ... Return Numeric Value
{=IF(AND($B10<>I$5,$B10<>I$7),"",SUM(IF(OR($B10=I$5,$B10=I$7),IF(WS2!$A:$A=$C10,IF(WS2!$C:$C=$B10,WS2!$F:$F)))))}
So while you did not directly provide a solution to my post (indirectly, you did ... & for that I Thank You)
Thank you for supporting these boards where so many valuable solutions are found for those of us less intimate with Excel (in particular ... Me) ... Kha