Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, pleaseVisit the Current Forums.

Display report data rolled Up?

Phil Smith
edited 12/09/19 inArchived 2016 Posts

Hi there

I’m currently running an exercise where we are asking a group of 30 users 10 sets of questions each. Each set of questions has its own web form so there should be 10 responses from each user (300 separate rows in total). I have this working fine.

The users have requested a ‘dashboard’ which would allow them to see how many questions they have left to answer. I can show each answer as ‘Red’ or ‘Green’ depending on if they have answered the question. I have this working fine.

I can create a report for the but the report shows each submission on a separate ROW. Ideally I want just one row per user with the 10 questions along the row (the submissions ‘ROLLED UP’ and grouped by user). Is this possible?

我也想看到如果有一种方法to have a formula in one sheet reference data in another sheet as this would allow me to achieve what I am trying to do via the reports, but I can’t see anywhere that shows how to set formula up across sheets. Is this possible?

Any help or guidance greatly appreciated.

Comments

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    Answer to first question, yes it is possible.

    I'd have to see the way you have laid out the sheet to be sure of my answer.

    But you are probably looking for either COUNT, COUNTIF, SUM, SUMIF or some combination of them to get things into one row for each user.

    Answer to second question. No, currently formulas looking at other sheets is not supported. You can sometimes work around this by linking data from one sheet to another and then keying your formula off of that.

    Hope this helps.

    Craig

  • Phil Smith
    edited 04/22/16

    Hi Craig

    I have attached two screen shots.

    1. Is the data as it comes in when the forms are submitted (I have blanked out the names)

    2. Shows groups that are all from one user. There are two users submissions show.

    The top bar shows all of the sections that will be answerd. If a user has not submitted an answer I need the box to be 'red ball', where ther do submit an answer, I would like it to show 'green ball'. There are 29 questions split over 8 sections.

    Hope this makes sense.

    Untitled2.png

    Untitled1.png

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    Phil,

    OK, let me see if I have this right.

    In the first picture (the color coded one), rows 42-49 are the same user responding to 8 different WebForms.

    The first WebForm is for section 1 and has 3 questions (1.1, 1.2, and 1.3)

    Based on row 58 & 59, the user does not need to do the sections in order.

    There are one or more columns between each question column and they aren't relevant to the problem.

    If I have that right, let's move on.

    I don't see any unanswered questions for the users that answered rows 42-49 and 50-57.

    Where is the box you refer to for red=no answer and green=answer reside?

    Is there one per question column or one for the entire set of questions?

    It looks like you have entered all of user 1 and then all of user 2.

    Is that always the case? Are you moving rows to consolidate them after they have been entered?

    Will they be taking the 'test' more than once? If they skipped a question today, do they come back tomorrow with the knowledge that they need to answer 1.3 (hopefully from the report you generate)?

    I think I see it, but something is eluding me.

    It might be those hidden columns.

    Craig

  • Yes you are right on your first comments. The 'hidden' rows between the scores are for them to add 'comments' as to why they scored something a particular score (their rationale). These can be ignored.

    The red and green box is also hidden. I was using these with a ISNUMBER statement to identify if the user had completed a score. I think that the ISNUMBER logic is still relevant as part of the rolled up data but probably not required within the actual data.

    All of the data being submitted will be mixed up in the list. User 1 will submit some answers, then user 2, user 5, user 1 etc....They wont be in any particular order. To make matters worse, some users will not submit anything for a period of time so I still need to be able to show them as a rolled up row (user) with their 'non-submissions' showing as a red ball.

    Users can take the test several times but I have a flag set which triggers an alert so that I can go into the data and remove the previous score(s).

    To sum up.

    1. I just need to show in a table or grid that they have submitted answers or now (I'm not worried about what the scores are). Each question box just needs to have a 'red' or 'green' ball.

    2. If they submit muliple entries, that's fine. it will just show as 'green' unless we can add some additional logic to change the ball to 'blue' if there are muliple entries for the same user/same question.

    3. I suspect that I need to insert a row for 'each of the users' above the data rows (submissions from the forms) and then add a formula to check the column that is the username and each of the 29 questions. If there isa number then show the 'static' row for the user as a green ball (per question), otherwise show it as red ball.

    I hadn't thought about adding a static table of users above the dynamic data until you mentioned the formula options in your original reply.

    Just need to work out the formula as per item 3 above.

    Hope this makes sense.

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    Phil,

    It does make sense.

    The user rows at the top are the way to go.

    If you create a copy of the sheet, delete all the data, and share it to me:

    [email protected]

    I'll try to take a quick look.

    It will save me time on the building of the column names and such.

    I know how I would implement it, I just need to test it.

    Craig

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    So, Phil shared the sheet with me.

    Here's what I came up with:

    I put it in the Primary Column because I could not add columns.
    But better is a Contact List column, probably.
    In the "S" columns, I added a formula. It goes here instead of the question number column to avoid circular references.
    =IF(COUNTIFS([1.1]:[1.1], ">" + 0, $[Created By]:$[Created By], $[Primary Column]41) > 0, "1.1 complete", "1.1 incomplete")
    if the count of matches for name and the number of answer is greater than 0, then
    the question is complete
    otherwise
    not complete.
    Phil will of course change the text of the results.
    Maybe to a number to count them or some such.
    The $ makes the reference absolute (to Created By and Primary Column columns for ease of copying to the next one.
    If you go with the current name, you can copy and paste to everything but need to change the text from "1.1 ..." to the correct column/question.
    Phil tested and it works for him.
    So we are both happy.
    Craig

    TestResults_02.jpg

This discussion has been closed.
Hi, <\/p>

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-26T01:04:51+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":23,"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-26T01:04:51+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":23,"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":"

\n \n https:\/\/community.smartsheet.com\/discussion\/109474\/help-with-date-calculation-formula\n <\/a>\n<\/div>\n

Hi, <\/p>

I hope you're well and safe!<\/p>

Try something like this.<\/p>

=IF([Date Reported]@row <> \"//www.santa-greenland.com/community/discussion/4828/\", IF([Resolution Date]@row = \"//www.santa-greenland.com/community/discussion/4828/\", NETDAYS([Date Reported]@row, TODAY()), NETDAYS([Date Reported]@row, [Resolution Date]@row)))<\/p>

Did that work\/help? <\/p>

I hope that helps!<\/p>

Be safe, and have a fantastic weekend!<\/p>

Best,<\/p>

Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>

Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/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"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&siteSectionID=0&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 Posts","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending Posts