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

End of Arrayformula Range in Google Sheets by source cell

Is it possible to parse the end line 3 into a Arrayformula. So the in Cell X1 is number 3 stored, the last line should by 3.

=ARRAYFORMULA(
IF(A1:A3 <> "" ;true;false)
)

When I use INDIRECT, I have to store the complete range in the cell X1 ( like A1:A3), but I want to store only the line number 3 in cell X1.

This tried this formula, but it’s not working:

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

=arrayformula(
IF(A1:A & X1 <> "";true;false)
)

Many many thanks for any help

>Solution :

You may try:

=arrayformula(if(indirect("A1:A"&X1) <> "";true;false))
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