Include line value in a sheet if creation date falls in a certain range
Hi all
I need help with a formula in a budget sheet. All orders my team creates are on 1 sheet per fiscal year. My issue that I have is to report on a monthly basis what was spent on each month.
I would like to find out what formula I can use to calculate the order amount in a certain month. Hope this makes sense. :)
Answers
-
I would add a column in called something like "Reporting Month" with the following formula (assuming your created date column is called "Created").
=YEAR(Created@row) + "-" + IF(MONTH(Created@row) > 9, MONTH(Created@row), "0" + MONTH(Created@row))
You can then feed your sheet into a report, group by "Reporting Month" and sum any budget columns you wish.
Note: The IF condition in the formula adds a preceding zero to months 1-9, so that the default sorting order is correct.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!