I have a Google Spreadsheet. In Sheet2 I have some data, and in Sheet3 I want to filter the data in Sheet2. Specifically I want that in Sheet3 will be collected only those columns of Sheet2 that contains a specific variable.
See the image above, this is the Sheet2

I want in the Sheet3 only the columns that contain the keyword “Gaetano” in the row 6.
So the resulting table will contain ONLY the column B and C of the Sheet2.
I read a lot about the FILTER function, but I cannot still solve my problem.
Thanks in advance.
Yes, use filter:
like this:
https://docs.google.com/spreadsheet/ccc?key=0AkGlO9jJLGO8dFMxN0lDLXR0U0NiQk1JX3ZWOW9jQkE&usp=sharing
A16: =filter(A1:E7,A12:E12)
the true and false values in row 12 cause it to hide colums.