Skip to main content

Need help combining IF statements (SOLVED)

  • Jan 8, 2019 10:11 PM UTC
  • 2 replies
  • 81 views

Forum|alt.badge.img+4

I have two IF statements that work independently. I cannot figure out what I’m doing wrong to combine them to be an AND.

First: IF(DATETIME_DIFF(TODAY(),{Date Quote Submitted},‘days’)>30,“ :rotating_light: URGENT​:rotating_light:”)

Second: IF(STATUS = “QIP - Submitted”," :rotating_light: URGENT​:rotating_light:”)

I want to combine them so any line that has “QIP - Submitted” status and is 30 days or more prior to today is marked as :rotating_light: URGENT​:rotating_light:

Thank you friends!

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+3
  • Known Participant
  • Jan 8, 2019 11:32 PM UTC

Easiest way in this case is adding an AND function:

 IF(AND(DATETIME_DIFF(TODAY(),{Date Quote Submitted},‘days’)>30,STATUS = “QIP - Submitted”),“:rotating_light:URGENT​:rotating_light:”)

Forum|alt.badge.img+4
  • Author
  • Participating Frequently
  • Jan 9, 2019 3:06 PM UTC

Thanks! I figured out it was the curved quotations that is messing it up when I copy and paste. I appreciated the confirmation of my formula.