Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I combine two rows given a condition using google sheets?

I need to combine two rows based on the first column:

enter image description here

If the column "A" is the same, the formula needs to combine the rows so that we obtain this:
enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

If the upper row is FALSE, and the lower row is FALSE we obtain FALSE. In any other case, we obtain TRUE.

How can I make this?

Thanks!!

>Solution :

Give a try to the following formula and let us know your feedback in comment.

=LET(x,
UNIQUE(A2:A7),
y,MAP(x,LAMBDA(cli,OR(FILTER(B2:B,A2:A=cli)))),
z,MAP(x,LAMBDA(ews,OR(FILTER(C2:C,A2:A=ews)))),
HSTACK(x,y,z))

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading