Share via

index function

Anonymous
2018-03-29T06:39:33+00:00

i've this formula:

=INDEX('1  entry form'!$E$12:$E$27,MATCH(1,($C12='1  entry form'!$B$12:$B$27)*($B12='1  entry form'!$C$12:$C$27),0))

from the formula, i've asked excel to search cells e12 to e27 to matchup the players' names with their corresponding skill levels.

now, how do i insert cells e39 to e54 as part of the search into the formula, which are also from the entry form.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2018-03-31T06:29:38+00:00

    I have also uploaded an excel file for illustration - in case you have looked this up and found any issue in this? Infact the file returns a match from****rows 39 to rows 54 only.

    Firstly you need to decide that are you looking to match values in the full range "E12:E54" (then you need to simply extend your range or if you are looking to join 2 non-contiguous ranges of E12:E27" and "E39:E54" and skip the range "E28:E38".

    In case you still face problems then please upload your file to enable a solution.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-03-31T06:16:32+00:00

    hi amit,

    i did press ctrl+shift+enter.

    for those people who signed up in rows 12 to rows 27, excel does display the correct corresponding skill levels.

    both your & bernie's formulas give me the same result of 0.0 for those people who'd signed up in rows 39 to rows 54.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-03-31T06:00:38+00:00

    Please note that my solution considers 2 non-contiguous ranges ie. "E12:E27" and "E39:E54" and any matches found in the range "E28:E38" will not be considered. If you want to consider the full range "E12:E54" then as mentioned by Bernie you need to only extend "E12:E27" to "E12:E54" and similarly with column B.

    Reg your query of the formula not working:

    The formula is an array formula (Ctrl+Shift+Enter) - this means that after entering the formula press the key F2, then press 3 keys Ctrl+Shift+Enter simultaneously.

    I have also uploaded an excel file for illustration - in case you have looked this up and found any issue in this?

    In case you still face problems then please upload your file to enable a solution.

    Also note that the formula is long because it is joining 2 non-contiguous ranges and further due to the sheet name embedded therein '1  entry form'!.

    Firstly you need to decide that are you looking to match values in the full range "E12:E54" (then you need to simply extend your range or if you are looking to join 2 non-contiguous ranges of E12:E27" and "E39:E54" and skip the range "E28:E38".

    Regards,

    Amit Tandon

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-03-30T20:41:06+00:00

    yes i did.

    Was this answer helpful?

    0 comments No comments