Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEARCH and COUNTIF array criteria breaking #59

Open
pb-0 opened this issue Aug 15, 2023 · 0 comments
Open

SEARCH and COUNTIF array criteria breaking #59

pb-0 opened this issue Aug 15, 2023 · 0 comments

Comments

@pb-0
Copy link

pb-0 commented Aug 15, 2023

SEARCH and COUNTIF seem not to support arrays in criteria argument. For both functions, only the first element is evaluated.

For example, SEARCH evaluates "outlook.com" but not "gmail.com":

IF(SUMPRODUCT( -- ISNUMBER(SEARCH({"outlook.com", "gmail.com"},A1)))>0,A1,RIGHT(A1,LEN(A1)-FIND("@",A1)))

A1: [email protected]

--> result: gmail.com

A1: [email protected]

--> result: [email protected]

Same in COUNTIF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant