Reputation: 3
I have one column in google sheet with unique values. I then want to match this column to two separate columns. See google sheet below for an example. I want the output in column "B".
[https://docs.google.com/spreadsheets/d/10AOYlqsScoDUfcOaJd2opjjC_8zXSOP3_HBTOCCrb6U/edit#gid=0][1]
Upvotes: 0
Views: 39
Reputation: 49998
You can use maxifs
:
=maxifs($F$4:$H$14,$E$4:$G$14,A4)
A longer approach could be the following:
=max(vlookup(A4,$E$4:$F$14,2,false),vlookup(A4,$G$4:$H$14,2,false))
Upvotes: 1