This formula will work. You would then filter on the formula field where it outputs a 1.
WEEKNUM(NOW()) = WEEKNUM({Next Contact Date})
Thank @Justin_Barrett - I appreciate your help!
This formula will work. You would then filter on the formula field where it outputs a 1.
WEEKNUM(NOW()) = WEEKNUM({Next Contact Date})
Justin, I have a follow-up question. Right now if there is not a date in both fields it returns NaN. How can I modify the formula to return an empty result and nothing fill the cell until both fields have dates? Is there an IF statement, or an additional string I need to include?
Justin, I have a follow-up question. Right now if there is not a date in both fields it returns NaN. How can I modify the formula to return an empty result and nothing fill the cell until both fields have dates? Is there an IF statement, or an additional string I need to include?
Both fields? There’s only one field in your formula at the moment. Here’s the mod to check for the presence of the date, and only run the comparison if it’s there:
IF({Next Contact Date}, WEEKNUM(NOW()) = WEEKNUM({Next Contact Date}))
Any place you need to make a simple true/false comparison, the field alone will effectively return True if it contains anything, and False if it contains nothing. The only exception to this is a number field, where a 0 will be seen as false. If that comes up, you’ll need to compare against BLANK()
.
Both fields? There’s only one field in your formula at the moment. Here’s the mod to check for the presence of the date, and only run the comparison if it’s there:
IF({Next Contact Date}, WEEKNUM(NOW()) = WEEKNUM({Next Contact Date}))
Any place you need to make a simple true/false comparison, the field alone will effectively return True if it contains anything, and False if it contains nothing. The only exception to this is a number field, where a 0 will be seen as false. If that comes up, you’ll need to compare against BLANK()
.
@Justin_Barrett I goofed and put this in the wrong thread *facepalm