{"id":15245,"date":"2025-11-05T14:53:38","date_gmt":"2025-11-05T14:53:38","guid":{"rendered":"https:\/\/manual.m-path.io\/?post_type=ht_kb&#038;p=15245"},"modified":"2025-11-06T13:08:58","modified_gmt":"2025-11-06T13:08:58","slug":"import-exported-csv-into-microsoft-excel","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/import-exported-csv-into-microsoft-excel\/","title":{"rendered":"Import exported .csv into Microsoft Excel"},"content":{"rendered":"\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">For analysing m-Path data, we <strong>strongly suggest using R<\/strong> or another statistical program like SPSS, Matlab,&#8230;<br>We\u2019ve prepared a <strong><a href=\"https:\/\/manual.m-path.io\/knowledge-base\/importing-and-analyzing-m-path-data-in-r-mpathr\/\" data-type=\"link\" data-id=\"https:\/\/manual.m-path.io\/knowledge-base\/importing-and-analyzing-m-path-data-in-r-mpathr\/\">manual for using R<\/a> to guide you through that process<\/strong>, so we recommend checking that out rather than using Excel.<br>Excel should only be used if you have a very specific reason to.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100 is-style-fill\"><a class=\"wp-block-button__link has-white-color has-theme-default-background-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/manual.m-path.io\/knowledge-base\/importing-and-analyzing-m-path-data-in-r-mpathr\/\"><strong>Importing and analysing m-Path data in R<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-step to open the .csv file in Excel<\/h2>\n\n\n\n<p>Importing your <a href=\"https:\/\/manual.m-path.io\/knowledge-base\/export-data\/#export-a-larger-dataset-for-statistical-analysis\">.csv data file<\/a> in Excel already begins with having to open the .csv file in a specific way. You can&#8217;t go to your explorer and open the file (sometimes that seems to work, but your columns won&#8217;t all be working as expected). Follow these steps to make sure your .csv is correctly imported into Excel:<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">If you\u2019ve already opened this file before in Excel, it\u2019s best to export it again from m-Path to make sure no unwanted changes were made.<br>Excel sometimes automatically adjusts formatting or data types, which can cause issues later on.<br>By exporting a fresh copy, you can be certain you\u2019re starting with a clean, unmodified file.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open Microsoft Excel on your device<\/li>\n\n\n\n<li>Click &#8220;Open&#8221;<\/li>\n\n\n\n<li>Choose your file<\/li>\n\n\n\n<li>The &#8220;Text Import Wizard&#8221; should now open on &#8220;Step 1 of 3&#8221;.<\/li>\n\n\n\n<li>Choose &#8220;Delimited&#8221; (because our .csv uses semicolons to separate the fields).<img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"431\" class=\"wp-image-15246\" style=\"width: 600px;\" src=\"\/wp-content\/uploads\/2025\/11\/image.png\" alt=\"\" srcset=\"\/wp-content\/uploads\/2025\/11\/image.png 791w, \/wp-content\/uploads\/2025\/11\/image-300x215.png 300w, \/wp-content\/uploads\/2025\/11\/image-768x551.png 768w, \/wp-content\/uploads\/2025\/11\/image-50x36.png 50w, \/wp-content\/uploads\/2025\/11\/image-60x43.png 60w, \/wp-content\/uploads\/2025\/11\/image-100x72.png 100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n\n\n\n<li>Click &#8220;Next&#8221;<\/li>\n\n\n\n<li>In step 2 of 3 of the Wizard, select &#8220;Semicolon&#8221; and deselect all other options (if they were selected). The text qualifier should be double quotes (&#8220;).<img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"430\" class=\"wp-image-15249\" style=\"width: 600px;\" src=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1.png\" alt=\"Shows step 2 of 3 of the &quot;Text Import Wizard&quot;. Delimiters has only 'Semicolon' checked. &quot;Treat consecutive delimiters as one&quot; is not selected. Text qualifier is set to double quotes. \" srcset=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1.png 796w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1-300x215.png 300w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1-768x551.png 768w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1-50x36.png 50w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1-60x43.png 60w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-2-1-100x72.png 100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n\n\n\n<li>Click &#8220;Next&#8221;.<\/li>\n\n\n\n<li>In step 3 of 3 of the Wizard, click on &#8220;Advanced&#8230;&#8221; and you&#8217;ll see the following pop-up. Select a dot as &#8220;Decimal separator&#8221; and a space as the &#8220;Thousands separator&#8221; to get the optimal results. And leave the marker for &#8220;Trailing minus for negative numbers&#8221; on.<img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"341\" class=\"wp-image-15251\" style=\"width: 600px;\" src=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1.png\" alt=\"Image of &quot;Advance Text Import Settings&quot; pop-up. For the Decimal separator &quot;.&quot; (dot) is chosen. For Thousands separator the field looks empty because the space was chosen. The checkbox for &quot;Trailing minus for negative numbers&quot; is checked.\" srcset=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1.png 478w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1-300x171.png 300w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1-50x28.png 50w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1-60x34.png 60w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-Advanced-1-100x57.png 100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n\n\n\n<li>Optional step if you have columns from multiple choice questions where users could select multiple options so you have fields that look like this &#8220;1,2&#8221; or &#8220;3,4,5&#8221; or &#8220;1&#8221;. Excel will mix the fields up and see some as numbers and some as text. So to avoid that, you can click on the column in the Data preview and select &#8220;Text&#8221; as Column data format. This is not mandatory, but may prevent problems later. If you&#8217;re not sure or can&#8217;t find the column directly, we also have an explanation on how to change the data type when the file is already imported further down this page. <img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"430\" class=\"wp-image-15252\" style=\"width: 600px;\" src=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3.png\" alt=\"Screenshot of Text Import Wizard - Step 3 of 3. In the Column data format &quot;Text&quot; is chosen. And in the Data preview a column with input &quot;1,2,4&quot; is black (selected) and at the top it says &quot;Text&quot; (while the other columns have &quot;General&quot; on top)\" srcset=\"\/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3.png 797w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-300x215.png 300w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-768x550.png 768w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-50x36.png 50w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-60x43.png 60w, \/wp-content\/uploads\/2025\/11\/Text-import-wizard-step-3-100x72.png 100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n\n\n\n<li>Click &#8220;Finish&#8221; and now it should be imported correctly!<\/li>\n\n\n\n<li>Excel will most likely give you a warning &#8220;Possible data loss&#8221;. It&#8217;s best to save this file as a .xlxs file, certainly if you want to make changes to the file, or you&#8217;ll need to open this .csv multiple times.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Tips and tricks, troubleshooting<\/h2>\n\n\n\n<p>If you&#8217;re having issues, we&#8217;d like again to redirect you to <a href=\"https:\/\/manual.m-path.io\/knowledge-base\/importing-and-analyzing-m-path-data-in-r-mpathr\/\" data-type=\"ht_kb\" data-id=\"13071\">importing and analysing your data in R<\/a>. This will most likely go much smoother and will save you time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Change data type of column<\/h2>\n\n\n\n<p><strong>Problem<\/strong><\/p>\n\n\n\n<p>You&#8217;re working in Excel, but some fields in a column are recognized as numbers, while others in the same column are treated as text.<\/p>\n\n\n\n<p><em>Pro tip: When a cell\u2019s content is <strong>right-aligned<\/strong>, Excel sees it as a number (something it can perform calculations on). When it\u2019s <strong>left-aligned<\/strong>, Excel treats it as text (something it can\u2019t use in calculations).<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"88\" height=\"87\" src=\"\/wp-content\/uploads\/2025\/11\/outlining-1.png\" alt=\"\" class=\"wp-image-15254\" srcset=\"\/wp-content\/uploads\/2025\/11\/outlining-1.png 88w, \/wp-content\/uploads\/2025\/11\/outlining-1-50x50.png 50w, \/wp-content\/uploads\/2025\/11\/outlining-1-60x60.png 60w\" sizes=\"auto, (max-width: 88px) 100vw, 88px\" \/><\/figure>\n\n\n\n<p>In this image, you can see that the &#8220;1&#8221; is right aligned, meaning Excel thinks this is a number. &#8220;1,2,4,5,6&#8221; is left aligned so it will treat it as a string. But when you want to handle this data from this column, it will act funky because it&#8217;s not just one type.<\/p>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<p>Select your column. Go to tab &#8220;Home&#8221;, Subtab &#8220;Number&#8221; and open the dropdown and choose &#8220;Text&#8221; (or the data type you need). You should now see that all the data is aligned to the left and more importantly, all the data of that column will now behave the same.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"176\" src=\"\/wp-content\/uploads\/2025\/11\/change-type.png\" alt=\"Screenshot of the Excel toolbar where &quot;Home&quot; tab is selected and the dropdown with &quot;General&quot; inside it is circled.\" class=\"wp-image-15255\" srcset=\"\/wp-content\/uploads\/2025\/11\/change-type.png 1006w, \/wp-content\/uploads\/2025\/11\/change-type-300x52.png 300w, \/wp-content\/uploads\/2025\/11\/change-type-768x134.png 768w, \/wp-content\/uploads\/2025\/11\/change-type-50x9.png 50w, \/wp-content\/uploads\/2025\/11\/change-type-60x10.png 60w, \/wp-content\/uploads\/2025\/11\/change-type-100x17.png 100w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"261\" height=\"766\" src=\"\/wp-content\/uploads\/2025\/11\/image-1.png\" alt=\"Screenshot of the dropdown you get to see when you clicked on the dropdown and &quot;Text&quot; is circled red to indicate to click it.\" class=\"wp-image-15256\" style=\"width:188px;height:auto\" srcset=\"\/wp-content\/uploads\/2025\/11\/image-1.png 261w, \/wp-content\/uploads\/2025\/11\/image-1-102x300.png 102w, \/wp-content\/uploads\/2025\/11\/image-1-17x50.png 17w, \/wp-content\/uploads\/2025\/11\/image-1-20x60.png 20w, \/wp-content\/uploads\/2025\/11\/image-1-34x100.png 34w\" sizes=\"auto, (max-width: 261px) 100vw, 261px\" \/><\/figure>\n\n\n\n<p>Of course, this is also your course of action if you require another data type. Experiment with it and see what works best for your data.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Change decimal separator<\/h2>\n\n\n\n<p><strong>Problem<\/strong>: <\/p>\n\n\n\n<p>Your system (typically in Belgium or other European countries) expects a comma to be the decimal separator, so your numbers might act strange or give errors.<\/p>\n\n\n\n<p><strong>Solution 1: Change it for this file only<\/strong><\/p>\n\n\n\n<p>If you don&#8217;t want all your Excel files to have this format, only this one, then you have to import the file again according to the steps provided, and make sure you follow step 9 correctly. This will make sure the separators are set correctly but only for this file.<\/p>\n\n\n\n<p><strong>Solution 2: Change it for all Excel files<\/strong><\/p>\n\n\n\n<p>Go to your Excel to <strong>File<\/strong> &#8211;><strong> Options<\/strong> &#8211;> <strong>Advanced<\/strong>. Uncheck &#8220;<strong>Use system separators<\/strong>&#8221; and choose a dot as a Decimal separator and type a space in the Thousands separator field. You possibly need to restart your Excel (or open your .csv again), but from now on, it should always recognize a dot as a decimal separator.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"839\" src=\"\/wp-content\/uploads\/2025\/11\/separators-1024x839.png\" alt=\"Screenshot showing the Excel Options pop-up. Advanced is selected and there is a red square around &quot;Use system separators&quot;. And decimal separator is set to a dot and the Thousands separator is a space.\" class=\"wp-image-15261\" srcset=\"\/wp-content\/uploads\/2025\/11\/separators-1024x839.png 1024w, \/wp-content\/uploads\/2025\/11\/separators-300x246.png 300w, \/wp-content\/uploads\/2025\/11\/separators-768x629.png 768w, \/wp-content\/uploads\/2025\/11\/separators-50x41.png 50w, \/wp-content\/uploads\/2025\/11\/separators-60x49.png 60w, \/wp-content\/uploads\/2025\/11\/separators-100x82.png 100w, \/wp-content\/uploads\/2025\/11\/separators.png 1028w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step-by-step to open the .csv file in Excel Importing your .csv data file in Excel already begins with having to open the .csv file in a specific way. You can&#8217;t go to your explorer and open the file (sometimes that seems to work, but your columns won&#8217;t all be working&#8230;<\/p>\n","protected":false},"author":7,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[63],"ht-kb-tag":[463,303],"class_list":["post-15245","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-data-collection","ht_kb_tag-data","ht_kb_tag-export"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=15245"}],"version-history":[{"count":14,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15245\/revisions"}],"predecessor-version":[{"id":15290,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15245\/revisions\/15290"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=15245"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-category?post=15245"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-tag?post=15245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}