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

Replace OFFSET with INDEX (EXCEL)

I’m using a formula with OFFSET, I would like to replace OFFSET by INDEX, so I can get the data in another file. can anybody help me?

=OFFSET(DATA!$C$1,MATCH(C2,DATA!$C$2:$C$3500,0),8,COUNTIF(DATA!$C$2:$C$3500,C2))

This formula I use as a list, within the data validation.

Tks!!!

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 :

Use:

=INDEX(DATA!$K$2:$K$3500,MATCH(C2,DATA!$C$2:$C$3500,0)):INDEX(DATA!$K$2:$K$3500,MATCH(C2,DATA!$C$2:$C$3500,0)+COUNTIF(DATA!$C$2:$C$3500,C2))

Or with FILTER():

=FiLTER(DATA!$K$2:$K$3500,DATA!$C$2:$C$3500=C2)
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