Skip to main content
Can someone help me out.
 
 
I'm want Airtable to return the "Column name" after he compares 4 adjacent cells in the same row.
 
I expected to be something like...
if(@A>@B AND(@A>@C) AND(@A>@D), "A")
if(@B>@A AND(@B>@C) AND(@B>@D), "B")
if(@C>@A AND(@C>@B) AND(@C>@D), "C")
if(@D>@A AND(@D>@B) AND(@D>@C), "A")
 
Thanks in advance!

@Cunwalker , hello! You can try the following formula

IF(AND(A>B, A>C, A>D), "A", IF(AND(B>A, B>C, B>D), "B", IF(AND(C>A, C>B, D>D), "C", IF(AND(D>A, D>B, D>C), "D", "undefined"))))

Yep, that worked 🥇


Reply