MAX/IF function
Hello all,
I am trying to use the MAX/IF logic in smartsheet. It worked for me in excel:
I used the same logic from above in smartsheet:
And I get this:
Any ideas? Appreciate your help in advance. Thanks!
Best Answer
-
Without knowing your sheet to confirm, I think this is the result you're looking for...
=MAX(COLLECT([Column3]1:[Column3]10, [Column2]1:[Column2]10, [Primary Column]@row))
In which case, replace your original formula with this one...
=MAX(COLLECT({Employee Comp by Division and Specialty te Range 3}, {Employee Comp by Division and Specialty te Range 1}, [Primary Column]@row))
Let me know if this works for you.
-Jen
Answers
-
Hi @Deesa Dontamsetti. Can you provide a screenshot of your columns and one sample row of data, so I can better understand the validity of the formula you've written? Thanks.
-Jen
-
Without knowing your sheet to confirm, I think this is the result you're looking for...
=MAX(COLLECT([Column3]1:[Column3]10, [Column2]1:[Column2]10, [Primary Column]@row))
In which case, replace your original formula with this one...
=MAX(COLLECT({Employee Comp by Division and Specialty te Range 3}, {Employee Comp by Division and Specialty te Range 1}, [Primary Column]@row))
Let me know if this works for you.
-Jen
-
Thank you so much, Jen! This worked! Truly appreciate your help :). Great example too!
-Deesa
-
That's great, @Deesa Dontamsetti.
Also, thank you for your engagement and contribution to our community. Your inquiry is likely to assist other members across time AND it helps me flex my skills.
If you appreciate my response, please recognize the effort by with an "Insightful" or "Vote Up" selection. Thanks!
-Jen
-
Thanks Jen, this also worked for my issue - I appreciate your skills :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!