Fighting an IF formula
I'm not sure what I am doing wrong. I am trying to get a response for "if the issue date is more than 10 days from the begin date AND the task is not 100%, show Late. Otherwise show 0. I will then be writing a report that shows only late.
=IF(AND(NETWORKDAYS(Begin1, Issue1) > 10, "Late", "0", [%Complete]5 < 1), "Late", "0")
Thanks!!
Comments
-
IF and AND are statements of their own. You need to think of them as independent when organizing your formulas. In your case you can use a stacked IF statement instead of an AND. If you want to get fancy and get your formula a little shorter you can use an or.
original
=IF(AND(NETWORKDAYS(Begin1, Issue1) > 10, "Late", "0", [%Complete]5 < 1), "Late", "0")
Stacked IF
=IF(NETWORKDAYS(Begin1, Issue1) > 10, "Late", if([%Complete]5 < 1), "Late", "0"))
IF OR
=IF(OR(NETWORKDAYS(Begin1, Issue1) > 10, [%Complete]5 < 1),"Late","0")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!