{"id":825,"date":"2009-01-22T19:59:29","date_gmt":"2009-01-23T03:59:29","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=825"},"modified":"2017-07-16T15:31:37","modified_gmt":"2017-07-16T22:31:37","slug":"how-to-import-excel-spreadsheets-into-a-sharepoint-list","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-import-excel-spreadsheets-into-a-sharepoint-list\/","title":{"rendered":"How to Import Excel Spreadsheets into a SharePoint List"},"content":{"rendered":"<p>Here is an example that shows in detail how you can import an Excel spreadsheet into a Microsoft Office SharePoint Server (MOSS) 2007 List. I used my Windows Networking User Group Web site as an example because I have easy access to it. I am using Excel 2007 in my example.<\/p>\n<p>First create an Excel document with column headings and data that needs to be imported, if one doesn&#8217;t exist already.\u00a0To import an Excel file into SharePoint, you don&#8217;t have to first create a List and all the columns because when you import an Excel spreadsheet, SharePoint will create all the columns and will also create the list based on the name you provide. If you use column names that already exist (e.g. Name), SharePoint will create a column with a number appended\u00a0to it, e.g. Name1. Here are all the steps.<\/p>\n<p>1. Go to Site Actions, View All Site Content.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport1.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-826\" title=\"excelimport1\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport1.jpg\" alt=\"\" width=\"250\" height=\"261\" \/><\/a><\/p>\n<p>2. Click Create.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport2.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-840\" title=\"excelimport2\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport2.jpg\" alt=\"\" width=\"300\" height=\"202\" \/><\/a><\/p>\n<p>3. In the Custom Lists section click Import Spreadsheet.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport3.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-841\" title=\"excelimport3\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport3-300x214.jpg\" alt=\"\" width=\"300\" height=\"214\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport3-300x214.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport3.jpg 633w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>4. Enter the Name, Description and File location, where:<\/p>\n<p>Name: <em>This will be the name of the new SharePoint List<\/em><br \/>\nDescription: <em>An appropriate description of the SharePoint List<\/em><br \/>\nFile location: <em>The path to your Excel file<\/em><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-842\" title=\"excelimport4\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport4.jpg\" alt=\"excelimport4\" width=\"352\" height=\"289\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport4.jpg 352w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport4-300x246.jpg 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/p>\n<p>Click the Import button.<\/p>\n<p>5. You will see the Excel spreadsheet open up. In the Range Type section, click the drop-down button and select Range of Cells. Click anywhere in the Select Range box. This will allow you to select the text that you want to import into SharePoint List.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport5.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-843\" title=\"excelimport5\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport5-300x117.jpg\" alt=\"excelimport5\" width=\"300\" height=\"117\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport5-300x117.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport5.jpg 949w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>6. Highlight the headers and all the cells with your mouse (click and drag) and then click on the icon on the right-hand side in the minimized <em>Import to Windows SharePoint Services list<\/em>. This will allow you to get back to the mode where you will be able to click the Import button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-854\" title=\"excelimport9\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport9.jpg\" alt=\"excelimport9\" width=\"258\" height=\"46\" \/><\/p>\n<p>7. Go ahead and click the Import button to start the import process.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport10.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-855\" title=\"excelimport10\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport10-300x200.jpg\" alt=\"excelimport10\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport10-300x200.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport10.jpg 421w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>NOTE<\/strong>: Whether you are using Excel 2003\u00a0 or Excel 2007 there is a chance that you may see the following error:<\/p>\n<p><em>Method &#8216;Post&#8217; of object &#8216;IOWSPostData&#8217; failed<\/em><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-849\" title=\"excelimport61\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport61.jpg\" alt=\"excelimport61\" width=\"297\" height=\"142\" \/><\/p>\n<p>If you get this error, don&#8217;t panic. Just read my blog post <a href=\"https:\/\/www.zubairalexander.com\/blog\/error-method-post-of-object-iowspostdata-failed-in-sharepoint\/\">Error: \u201cMethod \u2018Post\u2019 of object \u2018IOWSPostData\u2019 failed\u201d in SharePoint<\/a> on how to work around this error.<\/p>\n<p>8. If you are prompted for logon credentials, provide the account name a password that has permissions to add to the SharePoint List.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport11.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-856\" title=\"excelimport11\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport11-300x260.jpg\" alt=\"excelimport11\" width=\"300\" height=\"260\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport11-300x260.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport11.jpg 326w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>9. You will see your Excel spreadsheet imported into SharePoint with the name of the list that you provided in step 4.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport12.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-866\" title=\"excelimport12\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2009\/01\/excelimport12-300x171.jpg\" alt=\"excelimport12\" width=\"300\" height=\"171\" \/><\/a><\/p>\n<p><strong>NOTE:<\/strong><\/p>\n<p>If you used a name for the column that already exists in SharePoint, e.g. Name. SharePoint will append a number 1 to the column title, e.g. Name1. Next time it will use Name2, and so on.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>As you can see, adding data from Excel spreadsheet into SharePoint is relatively straight forward. You should check out this blog post from my colleague Sharee English <a href=\"http:\/\/www.shareesblog.com\/?p=269\">Excel and SharePoint: Part 2<\/a> because she prefers the Named Range as the Range Type and shows a slightly different method to import data from Excel into SharePoint. With Excel 2003, or even Excel 2007, you may run into the Method &#8216;Post&#8217; error that I mentioned earlier. The solution I posted in <a href=\"https:\/\/www.zubairalexander.com\/blog\/error-method-post-of-object-iowspostdata-failed-in-sharepoint\/\">another blog post<\/a> seem to work for just about everyone. I&#8217;ve run into this error on several computes both Windows XP computers running Office 2003 and Windows Vista running Office 2007 and was able to fix the problem with this solution.<\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a92009 Zubair Alexander. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is an example that shows in detail how you can import an Excel spreadsheet into a Microsoft Office SharePoint Server (MOSS) 2007 List. I used my Windows Networking User Group Web site as an example because I have easy access to it. I am using Excel 2007 in my example. First create an Excel [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[14,43,31,54,11],"tags":[],"class_list":["post-825","post","type-post","status-publish","format-standard","hentry","category-applications","category-articles","category-microsoft-office","category-sharepoint","category-tips-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=825"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/825\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}