Sum of quantities on a given date
I have a date column for installs. I also have a column where we enter a quantity.
I am trying measure installs on each day of the month.
We want to be able to look at a particular date and see how many installs we have on this date.
We have about 120 properties
Im thinking a roll up sheet with each of the properties on a row.. Maybe a column for each day of the month? Then maybe a formula that would calculate the quantity on a each day?
Im not really sure if this is the best way or not. Looking for some suggestions for the best way go about measuring installs on each day of the month.
Ive Included a screen shot of the install and quantity columns.
Also included a possible sheet solution? Again, not sure if its the best way to setup or not.
Thanks for your help.
SGF
Comments
-
Sheryl P ✭✭✭✭
I was able to use countifs "install date" - I set a few dates in the "header" - today, today -1 (for installs yesterday) and I set the start/end of week - so I could get counts for the week. The countifs then referenced those dates to decide whether or not to count. I had other criteria in the countifs as well.
Haven't used the new summary report feature yet - can't speak to that.
Hope that helps.
-
Paul Newcome ✭✭✭✭✭✭
I would suggest a date column and then have your properties listed out along a single row. This will allow you to use a very basic SUMIFS and reference cells instead of having to hardcode dates into your formulas. Column headers in the example below are in bold.
.
Date Property A Property B Property C
Property A Property B Property C
1/1/19
1/2/19
1/3/19
1/4/19
.
In the first cell of the table ([Property A]2), you would enter something along the lines of this...
=SUMIFS([Install QTY]:[Install QTY], [Install Date]:[Install Date], $Date@row, [Install Property]:[Install Property], [Property A]$1)
.
NOTE: The $ to lock in the Date column reference and the 1 row reference respectively.
.
Once you enter this into [Property A]2, you can then dragfill down and over to have it reference the appropriate dates and property names within the formula to avoid having to manually update for each variable.
-
I think i understand, but im missing something.
Here's the formula i used...
=SUMIFS([7900 Park Central Install QTY]:[7900 Park Central Install QTY], [7900 Park Central Install Date]:[7900 Park Central Install Date], $Date@row, [7900 Park Central Property Info]:[7900 Park Central Property Info], [7900 Park Central]$2)
It gives me an #UNPARSEABLE
does it have to do with using "[" rather than "{"
I attached a couple screen shots
-
So in working through it this is the formula i ended up with
=SUMIFS({7900 Park Central Install QTY:7900 Park Central Install QTY}, {7900 Park Central Install Date:7900 Park Central Install Date}, $Date@row, {7900 Park Central Property Name:7900 Park Central Property Name}, [7900 Park Central]$1)
It gives me a invalid reference response.
screenshots included
-
I think im close, but formula still returning "Invalid ref"
=SUMIFS({7900 Park Central Install QTY:7900 Park Central Install QTY}, {7900 Park Central Install Date:7900 Park Central Install Date}, $Date@row, {7900 Park Central Property Name:7900 Park Central Property Name}, [7900 Park Central]$1)
feels like im just missing a bracket or () somewhere.
any ideas?
thanks,
Steve
-
Paul Newcome ✭✭✭✭✭✭
Are you referencing data on the same sheet as the table or on a different sheet? That is going to make the difference between using
[Column Name]:[Column Name]
and
{Sheet Name Range Name}
-
referencing both same sheet and different sheet for the ranges.
so i corrected the brackets in the formula but now it returns #UNPARSEABLE
=SUMIFS({7900 Park Central Install QTY}:{7900 Park Central Install QTY}, {7900 Park Central Install Date}:{7900 Park Central Install Date}, $Date@row, {7900 Park Central Property Name}:{7900 Park Central Property Name}, $[7900 Park Central]$1)
any ideas why its still unparseable?
-
Paul Newcome ✭✭✭✭✭✭
There are actually a few reasons why.
Curly brackets denote a range from another sheet. This range is established by going through the appropriate route of selecting the "Reference Another Sheet" link in the formula help dialog box. When using a cross sheet reference, you will select the range and leave it as is. You do not repeat the range with a : in between.
Square brackets denote a column name on the same sheet as the formula. These would be separated by a : if there is a start and stop cell for the range or if it is just the column name(s) to reference entire column(s).
So let's break this down piece by piece to figure out which bracket types are required where and how to properly use them...
这是一个清单的似乎是每个哟ur column names referenced in your formula. Which one's are on the other sheet, and which ones are on the table sheet?
.
7900 Park Central Install QTY
7900 Park Central Install Date
Date
7900 Park Central Property Name
7900 Park Central
.
I am assuming it will be
.
Other
Other
Table
Other
Table
.
??
-
date & 7900 Park Central are the table sheet. the others are the "other" sheet
so what you have listed above is correct
-
BTW...The way you broke it down...THANKS SO MUCH! I didnt realize the difference in the square brackets and the curly brackets. Makes sense now.
so based on that, should it look like this...
=SUMIFS({7900 Park Central Install QTY}, {7900 Park Central Install Date}, $Date@row, {7900 Park Central Property Name}, $[7900 Park Central]$1)
This seems to work. Want to be sure though
thanks again.
It was a HUGE help!
Steve
-
Paul Newcome ✭✭✭✭✭✭
Help Article Resources
Categories
Check out theFormula Handbook template!
Instead of applying the formula to \"Multiselect Text String\" row, did you tried with \"Multiselect Values\" row?<\/p>
=IF(HAS([Multiselect Values]@row, [Component ID]@row), \"MATCH\", \"NO MATCH\")<\/p>
Thank you,<\/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":109493,"type":"question","name":"I am having trouble using \"And\", \"OR\" & \"Countif(s)\" to build a formula.","excerpt":"Hello, I am attempting to come up with a sheet summary formula that counts cells if they meet at least one of 3 different statuses in the same column, AND also meet one of 5 different statuses in a separate column. So using the screenshot I've provided as an example (although it doesn't have 5 different statuses in the…","snippet":"Hello, I am attempting to come up with a sheet summary formula that counts cells if they meet at least one of 3 different statuses in the same column, AND also meet one of 5…","categoryID":322,"dateInserted":"2023-08-25T20:03:21+00:00","dateUpdated":null,"dateLastComment":"2023-08-26T00:34:49+00:00","insertUserID":165710,"insertUser":{"userID":165710,"name":"SmarsheetNewb","url":"https:\/\/community.smartsheet.com\/profile\/SmarsheetNewb","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-26T00:33:27+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":26,"score":null,"hot":3386005690,"url":"https:\/\/community.smartsheet.com\/discussion\/109493\/i-am-having-trouble-using-and-or-countif-s-to-build-a-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109493\/i-am-having-trouble-using-and-or-countif-s-to-build-a-formula","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109493,"commentID":392692,"name":"Re: I am having trouble using \"And\", \"OR\" & \"Countif(s)\" to build a formula.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392692#Comment_392692","dateInserted":"2023-08-26T00:34:49+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-26T00:33:25+00:00","dateAnswered":"2023-08-25T20:44:12+00:00","acceptedAnswers":[{"commentID":392662,"body":"
Try this:<\/p>
=COUNTIFS([Item Number]:[Item Number], OR(@cell = \"C001\", @cell = \"COO2\", @cell = \"COO3\", @cell = \"COO4\"), [Status]:[Status], OR(@cell = \"Green\", @cell = \"Yellow\", @cell = \"Red\"))<\/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":109474,"type":"question","name":"Help with date calculation formula","excerpt":"Hello, I'm trying to find a formula that will help me calculate how long an intake took to resolve. The rows I need to be calculated are Date Reported & Resolution Date. If the resolution date is blank I want it to use the current date in the calculation to see how long this issue has gone unresolved. Any help is much…","snippet":"Hello, I'm trying to find a formula that will help me calculate how long an intake took to resolve. The rows I need to be calculated are Date Reported & Resolution Date. If the…","categoryID":322,"dateInserted":"2023-08-25T16:29:39+00:00","dateUpdated":"2023-08-25T16:29:59+00:00","dateLastComment":"2023-08-25T23:01:30+00:00","insertUserID":165688,"insertUser":{"userID":165688,"name":"Nwest","title":"Systems Analyst","url":"https:\/\/community.smartsheet.com\/profile\/Nwest","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!ukHVZ18ImX4!BcjWAe8S9SY!l7iQo_PZHOx","dateLastActive":"2023-08-25T17:22:30+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":165688,"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-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":25,"score":null,"hot":3385987269,"url":"https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109474,"commentID":392687,"name":"Re: Help with date calculation formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392687#Comment_392687","dateInserted":"2023-08-25T23:01:30+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-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T17:04:22+00:00","dateAnswered":"2023-08-25T16:36:59+00:00","acceptedAnswers":[{"commentID":392622,"body":"