How can I get the formula below to work?
=IF(AND([checkbox1]@row, 0, [checkbox2]@row, 1, [date]@row, >=DATE(2022, 4, 1), [date]@row, <=DATE(2022, 6, 30)), 1, 0)
@plaistedcj
=IF(AND([checkbox1]@row=0, [checkbox2]@row=1, [date]@row>=DATE(2022, 4, 1), [date]@row<=DATE(2022, 6, 30)), 1, 0)
It gives me a "#INVALID DATA TYPE" error when I use the above.
Hi @plaistedcj
I hope you're well and safe!
Strange! It should work!
Can you paste the formula you have in your cell?
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
=IF(AND([In Progress and Complete in Same Month]@row = 0, [In Progress > On Hold/Declined]@row = 1, [Date of Status Change (In Progress)]@row, >=DATE(2022, 4, 1), [Date of Status Change (In Progress)]@row, <=DATE(2022, 6, 30)), 1, 0)
Try this.
=IF(AND([In Progress and Complete in Same Month]@row = 0, [In Progress > On Hold/Declined]@row = 1, [Date of Status Change (In Progress)]@row >= DATE(2022, 4, 1), [Date of Status Change (In Progress)]@row <= DATE(2022, 6, 30)), 1, 0)
Did it work?
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!
That is the same formula that I currently have and am getting the #INVALID DATA TYPE error with.
It's not the same. You had some misplaced commas.
Did you try copying and pasting mine?
That worked! Thank you Andree! I didn't see that extra comma I had in there.
Excellent!
You're more than welcome!
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, sort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.