{"id":15372,"date":"2014-06-24T11:03:27","date_gmt":"2014-06-24T11:03:27","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snap11\/?page_id=15372"},"modified":"2018-10-04T12:47:30","modified_gmt":"2018-10-04T11:47:30","slug":"cell-ref-filtered-base-summary-report","status":"publish","type":"page","link":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/","title":{"rendered":"Using a cell reference to put the filtered base in a Summary Report"},"content":{"rendered":"<p>This worksheet describes how to insert data from a table cell in your report. The example used is inserting a filtered base.<\/p>\n<p>The default Summary Report displays some text showing the number of overall cases and describing the applied filter. If you apply a filter you may wish to include the new respondent base in the report. You can achieve this by inserting a cell reference.<\/p>\n<p>You can insert the value from any table cell into an <strong>Information<\/strong> instruction by using a <strong>Cell Value<\/strong> field. This puts a reference to the cell in your report. When you run the report, the reference is replaced by the current cell value. If you apply a filter to the report, the filter will also be applied to the table that the inserted value is from.<\/p>\n<p>If you insert a reference to the base value of a saved table in your report, you will automatically get the filtered base when you filter the report.<\/p>\n<h3>Background<\/h3>\n<p>Cell references are a means of inserting automatically updated data in a report (or in the notes for an analysis). A cell reference is the position in the specified table of where the data is shown.<\/p>\n<p>The cell referred to can be:<\/p>\n<ul>\n<li>A row label (describe by <em>tablename<\/em> <strong>R<\/strong><em>N<\/em> <strong>label<\/strong> e.g. AN1 R1 label<\/li>\n<li>A column label (describe by <em>tablename<\/em> <strong>C<\/strong><em>N<\/em><strong> label<\/strong> e.g AN1 C1 label)<\/li>\n<li>A data cell described by its row and column number (describe by <em>tablename<\/em> <strong>R<\/strong><em>N<\/em><strong>C<\/strong><em>N e.g AN1 R1C1<\/em>)<\/li>\n<li>A statistic value described by its row and statistic number (where its statistic number is its position in the list of statistics, S1 being the top, given by <em>tablename<\/em> <strong>R<\/strong><em>N<\/em><strong>S<\/strong><em>N<\/em> e.g. AN1 R1S1)<\/li>\n<\/ul>\n<p>where <em>N<\/em> is replaced by the row or column number.<\/p>\n<p>Once you have inserted the cell reference into the report, any filters applied to the whole report are applied to the table that the referenced cell is part of.<\/p>\n<p>You can use any analysis as the basis for the reference. For example, if you wish to insert a reference to data in a chart, view the chart as a table to find out what the cell reference is, and then redisplay it as a chart.<\/p>\n<h3>Summary of steps<\/h3>\n<p><a href=\"#o32994\">Step 1: Creating the analysis containing the cell to reference<\/a><br \/>\n<a href=\"#o32995\">Step 2: Inserting the reference in your report<\/a><br \/>\n<a href=\"#o33001\">Step 3: Applying the filter<\/a><br \/>\n<a name=\"o32994\"><\/a><\/p>\n<h4>Step 1: Creating the analysis containing the cell to reference<\/h4>\n<p>You can use any analysis to provide the filtered base. For this worksheet, you will create a simple table to provide the cell reference.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Click <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/table.png\" alt=\"table\" width=\"16\" height=\"16\" \/> on the toolbar to create a table.<\/li>\n<li>The <strong>Analysis Definition<\/strong> dialog will open.<\/li>\n<li>Enter a question that all respondents answer in the analysis field (the example uses<strong> Q1<\/strong>).<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"color: #3ca735;\"><em>If you do not use a Must Answer question, ensure all respondents are included in the Base value by selecting the <strong>Base\/Labels<\/strong> tab and setting the <strong>Errors<\/strong>, <strong>Not Asked<\/strong> and <strong>No Reply<\/strong> fields to <strong>Hide<\/strong> instead of <strong>Exclude<\/strong>.<\/em><\/span><\/p>\n<p>The example shows the <strong>Available<\/strong> field set to <strong>No<\/strong>. If you are only using an analysis to provide a cell reference, you would not want it to be available to view on Snap WebHost.<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/def_not_av_tab.png\" alt=\"Results definition dialog: definition tab\" width=\"473\" height=\"372\" \/><\/p>\n<\/div>\n<ol>\n<li>Click <strong>[OK]<\/strong> to create the table then click <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/09\/save.png\" alt=\"Save button\" width=\"21\" height=\"17\" \/>\u00a0to save it.\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/base_ref_hl.png\" alt=\"Smart reporting: image of grid table\" width=\"340\" height=\"271\" \/><\/p>\n<\/div>\n<\/li>\n<li>The <strong>Base<\/strong> value is displayed in the first column.<\/li>\n<li>Click on the base value. Right click and select &#8216;Copy Cell Reference&#8217;. In this example, the reference will be the table name, followed by a space and R0C1 (row 0, column 1).<br \/>\n(You can click in other cells to see their references.)<\/li>\n<\/ol>\n<p><a name=\"o32995\"><\/a><\/p>\n<h4>Step 2: Inserting the reference in your report<\/h4>\n<ol>\n<li>Click <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/05\/batch1.png\" alt=\"Batches button\" width=\"22\" height=\"16\" \/>\u00a0on the Snap toolbar to open the <strong>Reports<\/strong> window.<\/li>\n<li>Select the <strong>Summary<\/strong> report and click <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/05\/clone.png\" alt=\"Clone button\" width=\"23\" height=\"20\" \/>\u00a0to make a copy of it. This will ensure that you can go back to the original if you make any mistakes.<\/li>\n<li>Close the copy and open the <strong>Summary<\/strong> report.\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/rep_sum_inst.png\" alt=\"REP: Default questioninaire report\" width=\"487\" height=\"374\" \/><\/div>\n<\/li>\n<li>Double-click the <strong>Information<\/strong> instruction to open it. The default text is:\n<div><\/div>\n<p><strong>{Title}<\/strong><\/p>\n<div><\/div>\n<p><strong>This report was generated on {date}, giving the results for \u00a0{cases} respondents.<\/strong><\/p>\n<div><\/div>\n<p><strong>A filter of &#8216;{filter}&#8217; has been applied to the data.<\/strong><\/p>\n<div><\/div>\n<\/li>\n<li>Change the last sentence to read <strong>The report has been filtered to show the responses for &#8216;{filter}&#8217; ( cases)<\/strong>.<\/li>\n<li>Place the cursor after the open bracket, click the <strong> [Insert]<\/strong> button and select <strong>Cell Values Field&#8230;<\/strong> from the options.<\/li>\n<li>The <strong>New Cell Values<\/strong> dialog opens. Enter the <strong>Cell Reference<\/strong> for the <strong>Base<\/strong> cell in your table. Remember to leave a space between the table name and the cell position (e.g. <strong>AN15 R0C1<\/strong>).<\/li>\n<li>Click <strong>[OK]<\/strong> to insert the field.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21716\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/inf_cell_ref_basev2.gif\" alt=\"Printer layout dialog with start new document highlighted\" width=\"713\" height=\"362\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/inf_cell_ref_basev2.gif 713w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/inf_cell_ref_basev2-150x76.gif 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/06\/inf_cell_ref_basev2-500x254.gif 500w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/div>\n<\/li>\n<li>Click <strong>[OK]<\/strong> to save your changes.<\/li>\n<\/ol>\n<p><a name=\"o33001\"><\/a><\/p>\n<h4>Step 3: Applying the filter<\/h4>\n<ol>\n<li>Add the filter to the Filter field at the top of the report window. For example, using the demographic question <strong>Q10. Are you male or female<\/strong>?<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/05\/gender.png\" alt=\"Inserting background picture in title\" width=\"468\" height=\"68\" \/><br \/>\nEnter <strong>Q10=2<\/strong> in the Filter field to create a report using only the data from women.<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/05\/sum_rep_fil_hl.png\" alt=\"REP: Default questioninaire report\" width=\"487\" height=\"380\" \/><\/p>\n<\/div>\n<\/li>\n<li>Click the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2014\/05\/12258.png\" alt=\"Play\/run button \" width=\"26\" height=\"24\" \/>\u00a0button on the report window toolbar to run the report.<br \/>\nThe data that you have referenced will be filtered, so that when you run the report, you will see the correct filtered base value.<\/p>\n<div><\/div>\n<p><strong>This report was generated on 02\/06\/14. Giving the results for 204 respondents.<\/strong><\/p>\n<div><\/div>\n<p><strong>A filter of &#8216;Gender=Female&#8217; (59 cases) has been applied to the data.<\/strong><\/li>\n<\/ol>\n<p>If you are content with the new version of the report, delete the clone back-up.<\/p>\n<h3>Conclusion<\/h3>\n<p>This worksheet has described how to use a reference to a table cell to insert a filtered base in your standard <strong>Summary Report<\/strong>.<\/p>\n<p>To find out more about using references to cells, see the help topic: <a href=\"https:\/\/www.snapsurveys.com\/help\/index.htm#32083\" target=\"_blank\" rel=\"noopener\">Inserting the content of a table cell<\/a>.<\/p>\n<p>For instructions about inserting references to ordered tables, see the worksheet: <a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-a-smart-report-which-includes-automatic-text\/\">Creating a smart report which includes automatic text<\/a> and the help topic: <a href=\"https:\/\/www.snapsurveys.com\/help\/index.htm#31226\" target=\"_blank\" rel=\"noopener\">Inserting dynamic data from a ranked table to put highest and lowest values in your report<\/a>.<\/p>\n<p>For further information about the Summary Report, see the help topic: <a href=\"https:\/\/www.snapsurveys.com\/help\/index.htm#31638\" target=\"_blank\" rel=\"noopener\">Changing the default reports supplied with Snap<\/a> and the worksheet: <a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/adapting-automatic-summary-report\/\">Adapting the automatic Summary Report<\/a> (WS:106).<\/p>\n<p>If there is a topic you would like a worksheet on, email to <a title=\"\" href=\"mailto:snapideas@snapsurveys.com\" target=\"_self\">snapideas@snapsurveys.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"ninja_pages_read_more\"  href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"parent":43,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"page-templates\/child-page.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":{"0":"post-15372","1":"page","2":"type-page","3":"status-publish","5":"search_category-support-hub"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using a cell reference to put the filtered base in a Summary Report - Snap Surveys<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using a cell reference to put the filtered base in a Summary Report - Snap Surveys\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/\" \/>\n<meta property=\"og:site_name\" content=\"Snap Surveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SnapSurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-04T11:47:30+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/\",\"name\":\"Using a cell reference to put the filtered base in a Summary Report - Snap Surveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\"},\"datePublished\":\"2014-06-24T11:03:27+00:00\",\"dateModified\":\"2018-10-04T11:47:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worksheets\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using a cell reference to put the filtered base in a Summary Report\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\",\"name\":\"Snap Surveys\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using a cell reference to put the filtered base in a Summary Report - Snap Surveys","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Using a cell reference to put the filtered base in a Summary Report - Snap Surveys","og_url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/","og_site_name":"Snap Surveys","article_publisher":"https:\/\/www.facebook.com\/SnapSurveys","article_modified_time":"2018-10-04T11:47:30+00:00","twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/","url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/","name":"Using a cell reference to put the filtered base in a Summary Report - Snap Surveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website"},"datePublished":"2014-06-24T11:03:27+00:00","dateModified":"2018-10-04T11:47:30+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/cell-ref-filtered-base-summary-report\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snap11\/"},{"@type":"ListItem","position":2,"name":"Worksheets","item":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/"},{"@type":"ListItem","position":3,"name":"Using a cell reference to put the filtered base in a Summary Report"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website","url":"https:\/\/www.snapsurveys.com\/support-snap11\/","name":"Snap Surveys","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/15372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/comments?post=15372"}],"version-history":[{"count":10,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/15372\/revisions"}],"predecessor-version":[{"id":26384,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/15372\/revisions\/26384"}],"up":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/media?parent=15372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}