I need help in my formula, I'm getting #VALUE!.
I have 2 sheets, I need to get the data using 2 values, So I've searched and the solution is to use the INDEX and MATCH Function. I've tried that in my formula but I think I'm doing it wrong.
I have 3 columns in my Main Sheet,
In the column Total Amount I need to insert the formula.
And this is my 2nd sheet. 3 columns also.
And this is the formula that I've used,
=INDEX(Q9:Q13,MATCH(O19&P19,O9:O13&P9:P13,0))
I've tried to check using evaluate formula and I'm getting #Value! I don't know why.
Any Ideas? Thanks!



=INDEX(Sheet2!Q9:Q13,MATCH(O19&P19,Sheet2!O9:O13&Sheet2!P9:P13,0)). Then you need to enter the formula as an array formula as you are matching two column. Need to enter asCTRL+SHIFT+ENTER. You can useSUMIFS()to get your output. See my answer. - Harun24HR