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

Grabbing the nearest uppermost-parallel value of another column under X conditions

Objective: Write an array formula inside a column that outputs the nearest uppermost-parallel value from other column under the condition that a different column is set to a specific value.

See sheet and image below for example inputs and outputs. If the image fails to open, it is also inside the Sheet in "Image" tab.

Image

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:

={"formula_";index(if((B5:B="Parent")+(B5:B=""),,scan(,A5:A,lambda(a,c,if(c="",a,c)))))}

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