Getting status of a RYG with a Date Column
Greetings,
Thank you for taking the time to read this. I am a newbie to both programming functions and to Smartsheet. I am working on a sheet where I require to report out the RYG Balls on the end of calendar months.
I have two columns I need to create a function for- "Date of Update" and "Status Report." When the Status is turned, the date column updates with the "today's date".
但是现在,展望未来,我想管理一个月report where it shows the end of the Month day, followed by a count of the status of each color. In other words, (September = 3R, 5Y, 19G,) and (October = 4R, 2Y, 8G,) and ... The report will appear on a Bargraph Dashboard widget monthly.
Since I am new with this, I have looked at COUNTIFS, VLOOKUP, IF/AND, but am missing something.
Your help would be appreciated.
Thanks!
Comments
-
eric.o Employee
Hello,
Happy to help! I've addressed your desires in the order received.
1. If you desire that when "Status Report." is changed the "Date of Update" will be changed to today's date, you may be able to achieve this utilizing a Modified By column which is further outlined here:https://help.smartsheet.com/articles/1964567-system-columns
Note: The Modified Date alters to the date of the rows last modification. Which may not be ideal. Currently, we don’t have a method to Timestamp date columns utilizing formulas but this will be considered as a possibility for future development.
2. If you'd like to utilize a Formula to count the status colors for each color based on month. You may want to create a total sheet containing a Date Column and two Text columns. In the Date column, you can set the End Dates for each month. In the first text column, you can list the Total Names for example, "Green Total", next row "Red Total" etc. In the third column, you can place the formula that will reference the desired sheet and produce the result. (This is how I've seen customers achieve this in the past). The formula would be similar to this:
=COUNTIFS([Status Range]2:[Status Range]5, "Green",[Date Range]2:[Date Range]5, MONTH(@cell)= MONTH([Month Day]1))
The formula would be slightly altered because instead of referencing the same sheet you'll be referencing another sheet. The formula above reads COUNTIF the status range [Column3]2:[Column3]5 equals the value "Green", COUNTIF the date range [Column4]2:[Column4]5 equals the value of the Month in the Month day cell. The Month day cell will be the cell you set on the sheet with the Total values, the highlighted ranges above will be the referenced ranges on the other sheet. Once the formula is established you can copy the formula into the other two color totals and alter the "Green" value to "Red", "Blue", Yellow", etc depending on the row you're looking to total.
Please let us know if you have any questions on the above.
Cheers,
Eric
Smartsheet Support
-
pbeahn40831 ✭✭
Eric,
I must say I am more afraid of programming than I was a short time ago, each new line brings new formulas. I am sure it will work its way out, but this is mind numbing at times.
Thanks for your help, I will get back to this after the holidays.
Happy holidays!
-
eric.o Employee
Hello,
Formulas can be tricky but once you get an understanding of how they function it can be quite liberating. If you desire, I'd be happy to set aside some time with you for a quick phone call to discuss this particular formula in further detail.
Cheers,
EricSmartsheet Support
Help Article Resources
Categories
If I understand correctly, this may help.<\/p>
=AVERAGEIF({date of request}, MONTH(@cell) = 2, {Ack SLA})<\/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":107116,"type":"question","name":"I'd like to create a column formula that references a specific cell with acceptable syntax","excerpt":"I have a sheet that has a column of dates that autofill based on another date. Specifically, each row has target end dates based on weeks ahead of the date that I want to reference. This is to make sure tasks are started on time in relation to the overall start date. My formula is currently: =[Target End Date]1 - ([Task…","snippet":"I have a sheet that has a column of dates that autofill based on another date. Specifically, each row has target end dates based on weeks ahead of the date that I want to…","categoryID":322,"dateInserted":"2023-06-29T23:48:12+00:00","dateUpdated":null,"dateLastComment":"2023-06-30T22:48:54+00:00","insertUserID":163028,"insertUser":{"userID":163028,"name":"jcabaniss","url":"https:\/\/community.smartsheet.com\/profile\/jcabaniss","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-01T02:58:52+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":129958,"lastUser":{"userID":129958,"name":"Lucas Rayala","title":"Program Manager","url":"https:\/\/community.smartsheet.com\/profile\/Lucas%20Rayala","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!3C9S_9DsC3w!XMDTX-y-BOY!7HVumwhOGBb","dateLastActive":"2023-07-01T15:43:12+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":35,"score":null,"hot":3376249626,"url":"https:\/\/community.smartsheet.com\/discussion\/107116\/id-like-to-create-a-column-formula-that-references-a-specific-cell-with-acceptable-syntax","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107116\/id-like-to-create-a-column-formula-that-references-a-specific-cell-with-acceptable-syntax","format":"Rich","lastPost":{"discussionID":107116,"commentID":383416,"name":"Re: I'd like to create a column formula that references a specific cell with acceptable syntax","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383416#Comment_383416","dateInserted":"2023-06-30T22:48:54+00:00","insertUserID":129958,"insertUser":{"userID":129958,"name":"Lucas Rayala","title":"Program Manager","url":"https:\/\/community.smartsheet.com\/profile\/Lucas%20Rayala","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!3C9S_9DsC3w!XMDTX-y-BOY!7HVumwhOGBb","dateLastActive":"2023-07-01T15:43:12+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-30T15:52:25+00:00","dateAnswered":"2023-06-30T00:15:36+00:00","acceptedAnswers":[{"commentID":383245,"body":"