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

Make an array/range of distinct table columns

On an Excel file I was trying to use the BYROW function in a table in order to join two table columns row by row

The function says it requires an array as its first argument, and I haven’t been able to find a way to unite them together succesfully. Any ideas?

To give a clearer example:
Say the table has Field 1 and Field 2, my goal is to make the function:

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

=BYROW( *"Table\[Field 1\] united with Table\[Field 2\]"*;LAMBDA(r;TEXTJOIN("";TRUE;r)))

Work in any shape or form.
Thanks in advance

>Solution :

As I have commented above, and it seems from the explanation of your OP, you need to use the following formula instead of the one you are using presently. That said the formula is:

=UNIQUE(HSTACK(Table[Field 1],Table[Field 2]))

You may need to change the references as well the separators which is completely based on regional settings. So for me, its comma, but for you from the post it seems you need to use semicolon.

=UNIQUE(HSTACK(Table[Field 1];Table[Field 2]))

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