I’m trying to figure out how to create automatic reminder emails based on 2 concurrent factors: a dropdown list and a date.
I don’t know how to insert a code, but I can put in a screenshot (below). Essentially, I have a list of todos, and some of them are follow ups. I have so many that I need them emailed to me as a sort of (mental) filter. I want the item emailed to me if the row meets 2 criteria: status=scheduled and date=today. How do I do that? Seems like it’d be simple but I just can’t get it to work. Below is the formula I’m using . . .
Hi Ben, the correct syntax there is And(test1, test2), or alternatively test1 and test2 (without parentheses). So in your case just remove the parentheses and it works.
Having said that, given your use case you actually need to use OR instead of AND.
I actually use the date function for both DUE and DONE (on a certain date). And one of my “status” options is “complete”. I wanted to make sure that in order to only get the right items that both of these criteria met. Would I still use “and” or does “or” cut it? I guess I’m not understanding the difference between the two, or just didn’t explain my use case scenario very well.
Reading through and noticed you wrote equals in your description and your formula shows not equals.
Status=Scheduled AND Date=Today()
This should work.
I think in this case you do need AND instead of OR. OR would mean that only one of these criteria needs to be met, so all tasks that are not today would be included and all tasks that are not Scheduled would also be included.
@BenLee It’s in the “disable if” - you want it to be disabled if the criteria is not met so the ‘not equals’ is correct.
And it should be OR - you want it to be disabled if either of the criteria is not met, or in other words - you want to enable it only if both criteria are met
I changed to “or” and the button became grayed out (non-clickable). It’s clickable with “and” when I change it back.
I think I’m doing this all wrong . . .
I was trying to get an AUTOMATIC email, but what it looks like I’ve done (notwithstanding #1 above) is created a button which is only available when x and y conditions are met. I should probably be doing this with the gmail automation pack, correct?
Does this send an automatic email on the date or does the button have to be pressed? I’m aiming for the former. Sorry for my ignorance, I’m just starting to use the gmail functionality.
Thanks! This works on my test doc but not on my actual document (which I can’t share for privacy reasons). The “student” column/portion of the formula on my original document is the problem, and I suspect it’s because it’s being called from another sheet. Is there any way around that?
@Benn_Bennett, I was looking at this again and one of the easiest ways to include everything in an email is just emailing a particular section. For the email button, you can set the content to be a section.
If you create a new section, add a view of your table, then you can filter that view for the Date being equal to Today and the Status being equal to Scheduled.
Then you only need to send one email and it will have anything listed in the table. If you have 5 items, you’ll see the table of 5 items.