Can I extract the month or year from a date column for a formula...
...without creating separate columns for Month and Year like in this screenshot where formula for Verbal Agreement Month is =MONTH([Date of Verbal Agreement]@row) and formula for
Verbal Agreement Year is =YEAR([Date of Verbal Agreement]@row)
Thank you!
Answers
-
I hope you're well and safe!
Not sure I follow. Can you elaborate?
Be safe, and have a fantastic weekend!
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!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andrée,
An example of what I clearly did not state in my question... (sorry!)
I'm trying to count the number of rows that match this criteria:
- the Sales Status is "Verbal Agreement"
- the Verbal Agreement is in May 2022
Can I extract the month and year from the date column (showing 5/23/22 above) in a formula or do I need to create two columns (one for Month and one for Year) in order to create the formula. The formula below works but I wanted to try to avoid having to create additional columns.
=COUNTIFS({Sales Status}, "Verbal Agreement", {Verbal Agreement Month}, "5", {Verbal Agreement Year}, "2022")
Hopefully this clarifies my question? Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!