Plotting cost over time
Hi-
I am trying to either graphically or with subtotals display cost over time as aggregated preferably by month, but also want to consider by week.
I am easily able to plot cost for items that begin or end in a calendar month, but not for items that span months.
I am pretty sure each cost would need to be broken down into a cost/day based on its duration, but am having trouble beyond that to calculate and display over time.
See screenshot for basic setup of what we are looking at.
Intent is to show clients and predict internally projected billings/revenue over time for each calendar month.
Many thanks in advance for your suggestions.
Comments
-
Paul Newcome ✭✭✭✭✭✭
最好的方法我可以算你强g some additional columns. 2 date columns and a "Prorate" column (see image below). In the date columns you would enter the 1st of the month and the last of the month. In the prorate column enter:
=IFERROR(IF(PRORATE([email protected], [Start Date]@row, [End Date]@row, [Billing Period 1 Start]@row, [Billing Period 1 End]@row)= 0, "-", PRORATE([email protected], [Start Date]@row, [End Date]@row, [Billing Period 1 Start]@row, [Billing Period 1 End]@row)), "")
What this does is calculate the cost within that calendar month. If the cost was $0.00 it is replaced with - . (Looks a little cleaner in my opinion).
The IFERROR portion will leave the cell blank if you don't have all 4 dates in the corresponding row (Header Rows). This allows you to drag-fill on down the column and avoid getting an "Invalid Data Type" error displayed in the cell.
From there you would just change the column titles to reflect whatever your column names are.
If you wanted the sheet to look cleaner you could hide the billing period start and end date columns and change the column names to the corresponding month.
thinkspi.com
-
Hi Paul,
I copy/pasted the following into my cost loaded construction schedule to calculate cost on a month to month basis...and then I''ll create a bell curve of the revenue spending per month for the job...but it didn't work? I just get the error "#INCORRECT ARGUMENT SET". I only changed the column label names to match mine but I get this error? Can you help?
=IFERROR(IF(PRORATE(Budget5, [Start Date]5, [End Date]5, [Month 1 Begin]5, [Month 1 End]5 = 0, "-", PRORATE(Budget5, [Start Date]5, [End Date]5, [Month 1 Begin]5, [Month 1 End]5, ""))))
-
Andrée Starå ✭✭✭✭✭✭
Hi Kurt,
At a glance, you have some parenthesis errors.
I've updated the formula to and changed the row numbers to @row instead, so you don't need to think about row numbers.
Try something like this.
=IFERROR(IF(PRORATE([email protected], [Start Date]@row, [End Date]@row, [Month 1 Begin]@row, [Month 1 End]@row) = 0, "-", PRORATE([email protected], [Start Date]@row, [End Date]@row, [Month 1 Begin]@row, [Month 1 End]@row)), "")
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @WORK BOLD
✅Did my post help or answer your question or solve your problem? Please help the Community bymarking it as the accepted answer/helpful. 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:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
-
That did the trick!
Thank you
Kurt
-
Paul Newcome ✭✭✭✭✭✭
Kind of curious as to why I didn't get a notification for this...
Either way, it looks like you got it working.
Thanks@Andrée Staråfor stepping in.
thinkspi.com
-
Andrée Starå ✭✭✭✭✭✭
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
-
Andrée Starå ✭✭✭✭✭✭
@Paul NewcomeSure thing!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
Help Article Resources
Categories
=(NETDAYS([Requested Start Date]@row, DATE(2022, 12, 1)<\/strong>) \/ 365) * 12<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":107082,"type":"question","name":"Automatic Update of Dropdown List?","excerpt":"I saw several discussions on this and I'm wondering if there is a formula or an easy way without a 3rd party to automatically update a dropdown list based on a cell in one sheet? I can create a helper sheet if that would help. Any ideas? I don't believe I have the premium Smartsheets plan. Thank you! Lori","snippet":"I saw several discussions on this and I'm wondering if there is a formula or an easy way without a 3rd party to automatically update a dropdown list based on a cell in one sheet?…","categoryID":322,"dateInserted":"2023-06-29T14:16:13+00:00","dateUpdated":null,"dateLastComment":"2023-06-29T18:02:59+00:00","insertUserID":162337,"insertUser":{"userID":162337,"name":"maineL","title":"Admin. & Course Coordinator","url":"https:\/\/community.smartsheet.com\/profile\/maineL","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!plNXqQdBs_o!2kvQ_7y42f4!PTHvB33mICN","dateLastActive":"2023-06-29T18:08:11+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-06-29T19:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":11,"countViews":50,"score":null,"hot":3376116552,"url":"https:\/\/community.smartsheet.com\/discussion\/107082\/automatic-update-of-dropdown-list","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107082\/automatic-update-of-dropdown-list","format":"Rich","lastPost":{"discussionID":107082,"commentID":383175,"name":"Re: Automatic Update of Dropdown List?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383175#Comment_383175","dateInserted":"2023-06-29T18:02:59+00:00","insertUserID":8888,"insertUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-06-29T19:42:36+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-29T14:52:00+00:00","dateAnswered":"2023-06-29T14:50:26+00:00","acceptedAnswers":[{"commentID":383100,"body":"