Search code examples
google-sheetsfilteruniquegoogle-sheets-formulatranspose

Is it possible to transpose a column of text values into a single row without duplicates based on an if statement?


E.g. I have the following sheet and formula, but I only want to transpose the data if it contains a specific month, specified in A2.

Screenshot of spreadsheet


Solution

  • try:

    =TRANSPOSE(UNIQUE(FILTER(A5:A; B5:B=A2)))