I have a range of data where each row is in alphabetical order and I want to pull each cell in the row that contains "client" to another column. enter image description here

  • Welcome to Web Applications Stack Exchange. Please edit your question and insert a table of sample data together with another table that shows your manually entered desired results. Also consider sharing a publicly editable sample spreadsheet. There is a blank sheet maker that lets you share safely. Feb 3, 2023 at 18:20

2 Answers 2


Use filter(), like this:

=iferror( filter(A2:H2, search("client", A2:H2)) )

See filter(), search() and iferror().


It's not very clear what you're expected result is. You can try with this formula in the first cell of your new column. Adapt A2:H to your actual range:

=BYROW(A2:H,LAMBDA(each,IF(COUNTA(each)=0,"",TEXTJOIN(", ",1,INDEX(IFNA(REGEXEXTRACT(TO_TEXT(each),"((?i)client.+)")))))))

If it's not what you're looking for, please give some feedback

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.