I have imported columns from several spreadsheets and different tabs (using an importrange within query) to one column in my master sheet. Now I need a formula that will fill in a different column with specific strings depending on where the cell in the first column came from. More specifically, I have a spreadsheet file documenting information about a school's students (their names, ages, ID numbers, etc.), each section has a seperate sheet. On the other hand, I am working on a master sheet, where I imported the names of the students from all sections into one column -the goal is to summarize the information in one place-, so now I want it get the corresponding name, find it's source (the specific sheet from another document), and just copying the name (since the name of the sheet=the section).
How difficult is it to do that?
It would be great to get some help!
Thanks in advance :)