Share via

Adding OR function to an Array formula (IFERROR(Index)

Anonymous
2022-04-29T22:01:56+00:00

How do I add an "OR" function to an array formula?

This is my formula that is currently working:

IFERROR(INDEX(Sheet1!$A$2:$A$301, SMALL(IF(Sheet1!$C$2:$C$301=$P2, ROW(Sheet1!$C$2:$C$301)-1,""),COLUMNS($Z$1:Z2))),"")

Currently, on Sheet1, the formula is reading Column A. I would like to add an 'or' function to this same formula and read Column B.

P2 will have either Column A or Column B info.

Microsoft 365 and Office | Excel | For business | 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

Answer accepted by question author

Ashish Mathur 102K Reputation points Volunteer Moderator
2022-04-29T23:01:36+00:00

Hi,

Share some data, describe the question and show the expected result.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2022-04-30T00:43:45+00:00

    I posted another question. With that answer, I was able to use a helper column. Therefore, please consider this ticket closed. My apologies for any confusion.

    Was this answer helpful?

    0 comments No comments