Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 16, 2022 03:16 AM
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!
Solved! Go to Solution.
1 Solution
Accepted Solutions
Solved
See Solution in Thread
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 16, 2022 04:03 AM
@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"))))
Reply
2 Replies 2
Solved
See Solution in Thread
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 16, 2022 04:03 AM
@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"))))
Reply
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 16, 2022 04:10 AM
Yep, that worked 🥇
Reply