Create these dynamic named ranges.
Name: List1
Refers to:
=Login!$G$8:INDEX(Login!$G$8:$G$100,MATCH("zzzzz",Login!$G$8:$G$100))
Name: List2
Refers to:
=Login!$T$8:INDEX(Login!$T$8:$T$100,MATCH("zzzzz",Login!$T$8:$T$100))
Then, enter this formula in cell L2 on the Validações sheet:
=IFERROR(IF(ROWS(L$2:L2)>ROWS(List1),INDEX(List2,ROWS(L$2:L2)-ROWS(List1)),INDEX(List1,ROWS(L$2:L2))),"")
Copy down until you get blanks.
In the formulas you may have to replace the commas with semi-colons.
Bookmarks