Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

Google sheets indirect formula question

$
0
0

I have a list of students that in Column A has their first name and then in following columns has their specific data that I am interested in. I have removed last names and data as it is sensitive info, but have a shell of what I am attempting to do. Basically, StudentA's name may be listed 8 times, StudentB's name 12 times, StudentC's 4 times, and so on (each student with a different number of rows of data attached to their name). I want to type the students name I am after in F3, such as BLAINE, and return only the rows that match that name. Right now with my function I have to type the next different name in the list into my function to get BLAINE's info.

This is my function so far.
=IFNA(INDIRECT("A"&MATCH(F3,A:A,0)&":E"&MATCH(F3,A:A,0)-1+MATCH("MYA",INDIRECT("A"&MATCH(F3,A:A,0)&":A"),0)),"Record not found")

In this where you see "MYA" that is the next person in the list that is different than BLAINE. I would like it so that I do not have to search the list and change the formula each time to generate just the student I am interested in. Is there a way for me to get sheets to find the first time that a name is not BLAINE and then show only the rows that address BLAINE. Any help in generating what I am looking for would be much appreciated. Attached is the link to my page, feel free to augment.

https://docs.google.com/spreadsheets/d/1-WjVXNlDIGG1ZeJceOvssW2-vZtAR0MDuUq7J1G6Kmo/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>