{"id":24143,"date":"2016-12-12T12:40:12","date_gmt":"2016-12-12T12:40:12","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snap11\/?page_id=24143"},"modified":"2023-02-03T14:48:17","modified_gmt":"2023-02-03T14:48:17","slug":"logical-expressions","status":"publish","type":"page","link":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/","title":{"rendered":"Logical expressions for question routing and analysis"},"content":{"rendered":"<p>Also known as \u2018If statements\u2019, logical expressions are at the heart of the most intuitive surveys and the smartest reports. In this tutorial you\u2019ll learn how to build logical expressions so you can:<\/p>\n<ul>\n<li>Create advanced routing and skip conditions<\/li>\n<li>Re-categorise and transform data with derived variables<\/li>\n<li>Set conditions for entire reports or specific report sections<\/li>\n<li>Build analysis filters to isolate specific participant groups<\/li>\n<\/ul>\n<p><a class=\"fancybox\" href=\"https:\/\/www.snapsurveys.com\/e-learning\/logical-expressions\/\" data-fancybox-type=\"iframe\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-24144 size-full\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg\" alt=\"Logical-expressions-for-question-routing-and-analysis\" width=\"1024\" height=\"611\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg 1024w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators-768x458.jpg 768w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators-150x90.jpg 150w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators-500x298.jpg 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Use the table of contents to skip straight to the section you need. To complete the whole tutorial would take approx 25 minutes.<\/p>\n<p>Did you find this tutorial useful? <a href=\"https:\/\/www.snapsurveys.com\/wh\/s.asp?k=140560054167&amp;topic=120\">Take this short survey<\/a> and let us know.<\/p>\n<h3><\/h3>\n<h3>Other Interactive tutorials you might be interested in:<\/h3>\n<ul>\n<li><a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/viewing-customising-the-default-questionnaire-and-summary-reports\/\">Getting Started with: Online surveys with Snap WebHost<\/a><\/li>\n<li><a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/viewing-customising-the-default-questionnaire-and-summary-reports\/\">Viewing and customising the default Questionnaire and Summary reports<\/a><\/li>\n<li><a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/analysis-essentials\/\">Analysis Essentials: Variables, Missing values, Data View mode and Filters<\/a><\/li>\n<li><a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/getting-started-with-online-surveys-with-snap-webhost\/\">Back up surveys using archive and restore<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/\">Browse all interactive tutorials&nbsp;\u2192<\/a><\/p>\n<h4>Having difficulty viewing this tutorial?<\/h4>\n<p>Our tutorials are produced in HTML5. If you are using an older, non-HTML5 browser, <a class=\"fancybox\" href=\"https:\/\/www.snapsurveys.com\/e-learning\/flash\/logical-expressions\" data-fancybox-type=\"iframe\">try viewing this tutorial in Flash<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"ninja_pages_read_more\"  href=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/\"><\/a><\/p>\n","protected":false},"author":33,"featured_media":0,"parent":18323,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":{"0":"post-24143","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>Logical expressions for question routing and analysis - 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=\"Logical expressions for question routing and analysis - Snap Surveys\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/\" \/>\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=\"2023-02-03T14:48:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/\",\"name\":\"Logical expressions for question routing and analysis - Snap Surveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg\",\"datePublished\":\"2016-12-12T12:40:12+00:00\",\"dateModified\":\"2023-02-03T14:48:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg\",\"width\":1024,\"height\":611},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interactive tutorials\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Logical expressions for question routing and analysis\"}]},{\"@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":"Logical expressions for question routing and analysis - 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":"Logical expressions for question routing and analysis - Snap Surveys","og_url":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/","og_site_name":"Snap Surveys","article_publisher":"https:\/\/www.facebook.com\/SnapSurveys","article_modified_time":"2023-02-03T14:48:17+00:00","og_image":[{"url":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/","url":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/","name":"Logical expressions for question routing and analysis - Snap Surveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg","datePublished":"2016-12-12T12:40:12+00:00","dateModified":"2023-02-03T14:48:17+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#primaryimage","url":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg","contentUrl":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/12\/logical-operators.jpg","width":1024,"height":611},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/logical-expressions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snap11\/"},{"@type":"ListItem","position":2,"name":"Interactive tutorials","item":"https:\/\/www.snapsurveys.com\/support-snap11\/interactive-tutorials\/"},{"@type":"ListItem","position":3,"name":"Logical expressions for question routing and analysis"}]},{"@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\/24143","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\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/comments?post=24143"}],"version-history":[{"count":7,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/24143\/revisions"}],"predecessor-version":[{"id":31624,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/24143\/revisions\/31624"}],"up":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/18323"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/media?parent=24143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}