Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I'm getting an error using this formula and can't figure out why... Maybe because I don't have the column matching the date?
It should return 3. Criteria range is G2:G4
Thank you
In your formula, INDEX returns a 4-Row by 3-Column array, hence the error. Try the following instead...
=INDEX(C2:E5,MATCH(1,INDEX((A2:A5=G2)*(B2:B5=G3),0),0),MATCH(G4,C1:E1,0))
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.