How do I do Between in a function
I have a status bar and I want to do between 1-25 = Quarter but I don't know how to do it. I think it's an IF(And(but i'm not sure the syntax. Thanks!
Best Answers
-
This syntax should work for you. Be sure to edit the column name to match your actual column name
=IF(AND([your column]@row >= 1, [your column]@row <= 25), "Quarter")
Kelly
-
Example sheet:
Status formula:
=IF(AND([Column2]@row > 0, [Column2]@row < 26), "Quarter", IF(AND([Column2]@row > 25, [Column2]@row < 51), "Half", ""))
Answers
-
This syntax should work for you. Be sure to edit the column name to match your actual column name
=IF(AND([your column]@row >= 1, [your column]@row <= 25), "Quarter")
Kelly
-
Example sheet:
Status formula:
=IF(AND([Column2]@row > 0, [Column2]@row < 26), "Quarter", IF(AND([Column2]@row > 25, [Column2]@row < 51), "Half", ""))
-
Thank you both!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!