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.

Screen Shot 2018-06-14 at 9.56.42 AM.png

Comments

  • Paul Newcome
    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.

    Untitled.png

    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, ""))))

    image.png


  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    @Kurt Miller Sr.

    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
    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å
    Andrée Starå ✭✭✭✭✭✭

    @Kurt Miller Sr.

    Excellent!

    Happy to help!

    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å
    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

Want to practice working with formulas directly in Smartsheet?

Check out the公式手册模板!
Try a DATE function:<\/p>

=(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":"

@maineL<\/a>,<\/p>

I haven't seen this possible without the use of a 3rd party integration. I don't believe it is supported natively in Smartsheet. The question comes up all the time though. <\/p>

BRgds,<\/p>

-Ray<\/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":[]},{"discussionID":107079,"type":"question","name":"Checkbox find duplicate in a column, do not check either box if either has a value in 2nd column","excerpt":"I am using a checkbox to find duplicate entries in the column name Email. I can up with this that worked, =IF(COUNTIF(Email:Email, Email@row) > 1, 1). Next, I am looking for both duplicates to not have a value in the Using Generic Account field and then check both boxes. Do not check either box if one of the two…","snippet":"I am using a checkbox to find duplicate entries in the column name Email. I can up with this that worked, =IF(COUNTIF(Email:Email, Email@row) > 1, 1). Next, I am looking for both…","categoryID":322,"dateInserted":"2023-06-29T13:18:14+00:00","dateUpdated":null,"dateLastComment":"2023-06-29T19:26:34+00:00","insertUserID":118523,"insertUser":{"userID":118523,"name":"Dan Thomas","url":"https:\/\/community.smartsheet.com\/profile\/Dan%20Thomas","photoUrl":"https:\/\/lh3.googleusercontent.com\/a-\/AOh14GiHwwRoH_LvkMJsJ63FLz68l82HkecIQDLz8X5Tug=s96-c","dateLastActive":"2023-06-29T19:22:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":118523,"lastUser":{"userID":118523,"name":"Dan Thomas","url":"https:\/\/community.smartsheet.com\/profile\/Dan%20Thomas","photoUrl":"https:\/\/lh3.googleusercontent.com\/a-\/AOh14GiHwwRoH_LvkMJsJ63FLz68l82HkecIQDLz8X5Tug=s96-c","dateLastActive":"2023-06-29T19:22:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":18,"score":null,"hot":3376112688,"url":"https:\/\/community.smartsheet.com\/discussion\/107079\/checkbox-find-duplicate-in-a-column-do-not-check-either-box-if-either-has-a-value-in-2nd-column","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107079\/checkbox-find-duplicate-in-a-column-do-not-check-either-box-if-either-has-a-value-in-2nd-column","format":"Rich","tagIDs":[254,334],"lastPost":{"discussionID":107079,"commentID":383204,"name":"Re: Checkbox find duplicate in a column, do not check either box if either has a value in 2nd column","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383204#Comment_383204","dateInserted":"2023-06-29T19:26:34+00:00","insertUserID":118523,"insertUser":{"userID":118523,"name":"Dan Thomas","url":"https:\/\/community.smartsheet.com\/profile\/Dan%20Thomas","photoUrl":"https:\/\/lh3.googleusercontent.com\/a-\/AOh14GiHwwRoH_LvkMJsJ63FLz68l82HkecIQDLz8X5Tug=s96-c","dateLastActive":"2023-06-29T19:22:03+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-29T19:25:02+00:00","dateAnswered":"2023-06-29T14:40:31+00:00","acceptedAnswers":[{"commentID":383090,"body":"

I want to make sure I understand...<\/p>


<\/p>

You have two columns. Email and [Using Generic Account]. You want to only flag duplicates that are blank in the [Using Generic Account] for all entries. If there is no duplicate or even one of the duplicates has data in the [Using Generic Account] column then you want to leave the boxes unchecked?<\/p>


<\/p>

If the above is correct, try this:<\/p>

=IF(AND(COUNTIFS(Email:Email, @cell = Email@row)> 1, COUNTIFS(Email:Email, @cell = Email@row, [Using Generic Account]:[Using Generic Account], @cell <> \"//m.santa-greenland.com/community/discussion/26976/\") = 0), 1)<\/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"},{"tagID":334,"urlcode":"automations","name":"Automations"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions