I am pulling data from a sheet called "Feeder List" in the linked spreadsheet.
I want to enter a team name in B1 of the "Team" sheet and have it pull the following information: CMU (all staff), SCSCF (all teams) and whatever is entered in B1.
The following formula works with one issue.
I cannot figure out why A5 is pulling in whatever text is in B1 in the format "UNIX"() or "TCP"(). Everything else is displaying correctly.
={"Team", "Service/Resource", "Dependencies", "Who provides or requests access?", "MechanismAuth", "Mechanism"; IFERROR( QUERY('Feeder List'!A:F,"SELECT '" & UPPER(B1) & "', B, C, D, E, F WHERE LOWER(A) CONTAINS '" & LOWER(B1) & "' LABEL B '', C '', D '', E '', F ''", 0 ), {"", "", "", "", "", ""} ); IFERROR( QUERY('Feeder List'!A:F,"SELECT A, B, C, D, E, F WHERE A = 'CMU (all staff)' LABEL A '', B '', C '', D '', E '', F ''", 0 ), {"", "", "", "", "", ""} ); IFERROR( QUERY('Feeder List'!A:F,"SELECT A, B, C, D, E, F WHERE A = 'SCSCF (all teams)' LABEL A '', B '', C '', D '', E '', F ''", 0 ), {"", "", "", "", "", ""} )}Test spreadsheet.
https://docs.google.com/spreadsheets/d/1ki-qPKp29r9TOYsVbjcTNoLWEqbOUT7N1J8RQHQKLh0/edit?usp=sharing