• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to Use OR function with Match Function

Ram Mher

Member
Greetings to All !

i am using the following formula but it is not providing the correct answer.

INDEX($J$17:$J$20,MATCH(1,INDEX(($H$17:$H$20=A7)*(OR(($I$17:$I$20=B7),($I$17:$I$20=B7+1))),),0))

Formula is not working at highlighted area and giving incorrect answer therefore please find the attached sample sheet and help me.
 

Attachments

  • Use of Match with OR.xlsx
    10.3 KB · Views: 7
Try this (untested):

=INDEX($J$17:$J$20,MATCH(1,INDEX(($H$17:$H$20=A7)*((($I$17:$I$20=B7)+($I$17:$I$20=B7+1))),),0))
 
Back
Top