Code Guy
Code Guy

Reputation: 3198

Return unique row using a query formula

I have a data as shown in the spreadsheet (Here is the link to sheet)

Where I need to get the uniques when both columns B and C considered, The col B is a date type

=QUERY(UNIQUE(FILTER(A:E,C:C="Daniel Workman")))

The expected result is indicated in yellow color

enter image description here

Upvotes: 1

Views: 33

Answers (1)

player0
player0

Reputation: 1

use:

=FILTER(A9:E18, COUNTIFS(B9:B18&C9:C18, B9:B18&C9:C18)=1, C9:C18="Daniel Wokman")

and:

=FILTER(A9:E18, COUNTIFS(B9:B18&C9:C18, B9:B18&C9:C18)=1, C9:C18="Morgan Freeman")

enter image description here

Upvotes: 1

Related Questions