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

Return next not blank result based on a raw

I have the following sheet using G-sheets:
enter image description here

I have the following formula in H2

=ArrayFormula(IF(E2:E="", F2:F, IF(G2:G="", E2:E, G2:G)))

I want Col H to return non-empty text in columns E,F,G, but the formula does not return text from Col G.
I wrote in Col I the result I want.
Hope you guys can help

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

>Solution :

You may try this in Cell_H2:

=byrow(E2:G,lambda(Σ,if(counta(Σ)=0,,+torow(Σ,1))))
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