If function based on multiple columns
I have done formula on column 3 and 4
if column 3 returns yes and column 4 is blank, the status will return from column 3
but if column 4 has yes in it, the status will return from column 4 ignoring what is column 3
I want to add the column 5 in the same formula with the same principle
if column 5 has yes, status will be yes, otherwise it will look at the column on the left
if column 4 is blank it will look at column 3
@Paul Newcome @Genevieve P. i have tagged you guys hoping you can help directly please
would really appreciate your advise
Best Answer
-
It's easiest and cleanest to write the formula backwards (in this case, from the rightmost to the leftmost). Try this:
=IF([Column5]@row = "Yes", "C Approved", IF([Column4]@row = "Yes", "B Approved", IF([Column3]@row = "Yes", "A Approved")))
Hope this helps!
Answers
-
It's easiest and cleanest to write the formula backwards (in this case, from the rightmost to the leftmost). Try this:
=IF([Column5]@row = "Yes", "C Approved", IF([Column4]@row = "Yes", "B Approved", IF([Column3]@row = "Yes", "A Approved")))
Hope this helps!
-
@Kelly P. Thank you Kelly, this was much simpler than I thought!
Much appreciated.
-
Happy to help!! 🙂
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!