Export Related Lists to Excel

Hi all,
Is it possible to export related lists along with the primary list data using Export to Excel?
Thanks!
K.
Personal Blog: http://thebitsthatbyte.com

Hi Kelly,
As far as I know, from the current SharePoint function, we can’t export the list along with the related list to excel. Because, the excel is not the relation database or data source. So, when you export the list, the relationship will miss.
In fact, SharePoint list is a form of database table. So, SharePoint list can keep the relationship.
In excel, you can create multiple data sheet, so, you can store your different list in different data sheet in one excel file. Some data you can choose from the other data sheet to display.
More reference:
http://blogs.c5insight.com/Home/entryid/438/Use-Power-Pivot-to-Merge-Related-SharePoint-List-Data
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support

Similar Messages

  • Exporting a List to Excel to use for Excel Services WebPart (not working)

    Hey everyone, here's the scenario. I'm trying to export a list to excel and save it to a library. All the connections are saved. Now. I want that excel file to render as a web part. When I make a change on the list and try to refresh the data connection
    I get the error below. Please help
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY

    Hi,
    I did a test as the followings:
    Create a list, and add some items into it.
    Export the list into a Excel file, then upload the excel file to a library.
    When I opened the file via Excel service, I saw the a yellow warning about unsupported features.
    Then I created a wiki page, and add Excel Web Access web part and connect the web part to the excel file.
    When I refresh all data conections, nothing happened.
    From the article:
    https://msdn.microsoft.com/en-us/library/ms496823.aspx (they are similar with SharePoint 2013)
    SharePoint lists are not supported for Excel service. So, it may cause this issue.
    I suggest you click "Open in Excel" to open the file in Excel application, then refresh the data connection, and save back to SharePoint. Then after you refresh the page, the data of the Excel Web Access web part will refresh.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Export Custom List into Excel through custom Ribbon

    Hi i have a requirement, in that i need to export custom list into EXCEL through custom Ribbon. For Example in my list, i have Col1, Col2, Col3. Col3 has multiple values (allow mutiple values) and when export this into excel all values in Col3 should
    come as new rows and rest of the column values should duplicate. please helpout from this requirement.
    List View
    Col1   Col2      Col3
    v1        v2    v31,v32,v33
    Excel View
    Col1  Col2  Col3
    v1      v2      v31
    v1      v2      v32
    v1      v2      v33
    Nihath

    Hello Nihath,
    As per your description, you have to read each and every items in list with column value then only you can generate excel. There is direct way to export datatable to excel but in your case you will also need to iterate Col3 value to create new row in excel.
    I would suggest to use CAML query to get all items then check Col3 value. If there are multiple value then add them as new datatable row and finally export full datatable to excel.
    Here is link for CAML:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.listitemcollectionposition.aspx
    Export datatable to excel:
    http://stackoverflow.com/questions/12533626/export-datatable-to-excel
    Finally add this feature in ribbon:
    http://ankurmadaan.blogspot.in/2012/10/custom-ribbon-action-for-specific-list.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Exporting SharePoint List to Excel it adds special / weird characters

    It's probably an escape code but they're not uniform.  When exporting a SharePoint List to Excel there is one column that is a multi-select lookup column and upon export between each item in that column there are a few special characters.  #68 and #70 in particular I see quite a lot of.  What are these escape codes and what would be a good way of filtering them out so they don't end up on the export?

    Hi Bouhatsu and Rob,
    I'm having the same thing with a filtered lookup. When exporting the list to Excel it adds the ID from the other list in front of the value I want (without me asking for it ...).
    Did one of you found a solution to get these ID's out of the export?
    Regards,
    Jeroen

  • I'm trying to export a list to Excel and I'm getting this error: "unable to download owssvr.dll"

    Hi, 
    Help, please.
    I’m trying to export a list to Excel and I’m getting this error: "unable to download owssvr.dll"
    Thanks in advanced.

    Hi,
    According to your post, my understanding is that you got the error "unable to download owssvr.dll" when exporting a list to Excel.
    owssvr.dll is the module given by Microsoft to read the data from SharePoint Lists using remote procedure call.
    You can find the OWSSVR.DLL in SharePoint 2010 Server Physical Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI.
    Please check whether it exists in SharePoint 2010 Server Physical Path.
    Please check whether you export a list to Excel correctly.
    Generally, the issue is caused by the brower. Please reset the IE to check whether it works.
    In addition, you can repair the Office to check whether it works.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5f471d53-e980-4acc-a6cb-7c8722571ec0/problem-with-export-to-spreadsheet?forum=sharepointgenerallegacy
    More information:
    SharePoint RPC Protocols Examples Using OWSSVR.DLL
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Removing the ID of a lookup column when exporting SharePoint list to Excel

    Hi,
    I export a list in Excel and I noticed the lookup column contains an ID together with the name (e.g. John Doe, #12). Is there a way I can avoid exporting the ID in Excel?
    Thanks.

    LookUp Field Values have a string representation of “(ID);#(VALUE)”, i.e. “2;#Second Entry”.
    If you export the list in excel you could create a formula or macro that split/copy only the value in a
    new column and then hide the real one.
    Try the following blog post for same samples:
    http://sharepoint-freak.blogspot.it/2011/04/when-you-use-lookup-fields-or-any.html
    http://excel.shilor.org/2010/07/export-sharepoint-2007-list-with-multi.html
    Marco Rizzi @Avanade Italy http://blog.marcorizzi.com

  • Export ABAP List to Excel and send it as email attachment

    Hi,
    I have a program that sends email to employees, using SAP Office, this email sends an attachment in html (an abap lisp exported to html). To create this attachment I use LIST_FROM_MEMORY to recover data and then WWW_HTML_FROM_LISTOBJECT to create the html file.
    Then the email is sent using SO_NEW_DOCUMENT_ATT_SEND_API1 and it works fine. But now I need to send this ABAP List as an Excel instead of sending as a HTML file.
    How can I do this? Is this possible?
    Thanks in advance
    Best regards
    P.S: I've tried to recover information from ABAP List as an ASCII file (using LIST_TO_ASCII instead of WWW_HTML_FROM_LISTOBJECT) and then sending the file as an XLS instead of HTM (this is determined in PACKING_LIST parameter of SO_NEW_DOCUMENT_ATT_SEND_API1), but when I open the excel file, all information is stored in the first cell, so you cannot perform any operation on it.

    Hi,
    Please refer to the link below :
    http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm
    or
    http://www.sapdev.co.uk/reporting/email/attach_xls.htm
    Thanks,
    Sriram Ponna.

  • Export ALV List into Excel Sheet

    Hi Friends,
    We are displaying an ALV List in report Program and we are exporting that into excel sheet using the icon "Spreadsheet(ctrlshiftF7)"provided by ALV Grid.
    But when it is displayed in Excel sheet it changes the sequence of columns (fields).
    And we observed that it displays all the CHAR fields first then the CURRENCY fields and then the DATE fields that we specified in field catalog.
    So, what should be done so that the fields are exported into Excel in the same order as specified in the field catalog of ALV List.

    Give this a look.
    REPORT ZEXCEL .
    INCLUDE ole2incl.
    DATA: application TYPE ole2_object,
    workbook TYPE ole2_object,
    sheet TYPE ole2_object,
    cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, formula(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
    APPEND: 'Peter' TO itab1, 'Ivanov' TO itab2,
    '=Sheet1!A1 & " " & Sheet2!A1' TO itab3,
    'John' TO itab1, 'Smith' TO itab2,
    '=Sheet1!A2 & " " & Sheet2!A2' TO itab3.
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = 1.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
    Create first Excel Sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 1.
    CALL METHOD OF sheet 'Activate'.
    SET PROPERTY OF sheet 'Name' = 'Sheet1'.
    LOOP AT itab1.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Value' = itab1-first_name.
    ENDLOOP.
    Create second Excel sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 2.
    SET PROPERTY OF sheet 'Name' = 'Sheet2'.
    CALL METHOD OF sheet 'Activate'.
    LOOP AT itab2.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Value' = itab2-last_name.
    ENDLOOP.
    Create third Excel sheet
    CALL METHOD OF application 'Worksheets' = sheet
    EXPORTING #1 = 3.
    SET PROPERTY OF sheet 'Name' = 'Sheet3'.
    CALL METHOD OF sheet 'Activate'.
    LOOP AT itab3.
    index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'Formula' = itab3-formula.
    SET PROPERTY OF cells 'Value' = itab3-formula.
    ENDLOOP.
    Save excel speadsheet to particular filename
    CALL METHOD OF sheet 'SaveAs'
    EXPORTING #1 = 'c:\temp\exceldoc1.xls' "filename
    #2 = 1. "fileFormat
    Closes excel window, data is lost if not saved
    SET PROPERTY OF application 'visible' = 0.

  • Exporting song lists to Excel, etc. with Zen Vision:M 3

    Hello-
    Is there any way to export my songs from the Zen to Excel (or any other similar program)? I have researched previous requests, and all pointed to the previous version of Creative Media Explorer, along with a 3rd party program called Notmad. Unfortunately, Notmad will not work, as it does not support the Zen Vision (though it does support the non-vision Zen series). Please note I did download it and attempted to use it.
    Any help would be greatly appreciated.
    -Steve C

    Never mind, I found a very easy method:
    1. Download Media Monkey, FREE at www.mediamonkey.com
    2. Media Monkey will find the Zen. Select the Zen so the songs appear.
    3. Go to File:Reports, and choose export as Excel.
    4. Choose the location, and there you go!!!

  • Exporting a large filtered list to Excel

    I have a list that has approx 9600 items.  List view threshold is set to 5000.  The list view has a filter on it which in the browser is only displaying around 100 items. However, at the top of the list it displays "Displaying only the newest
    results below. To view all results, narrow your query by adding a filter".   When i try to export the list to Excel, i get "You do not have permission to view the entire list because it is larger than the list view threshold enforced by
    the administrator". 
    My questions are:
    1. Shouldn't this only be trying to export the 100 or so items being displayed in the filtered view? 
    2. Why would it work in the browser but not export to Excel (since the same limit should apply both places, right)? 
    3. Is there a way to get this to work (other than changing the list view threshold)?  I need to be able to export this small filtered list multiple times a day.
    thanks to anyone with any info or help.

    Hello,
    The message you see in the browser indicates that the list is not filtered using an indexed column. You need to create an index on the column. If the filtered view then returns less than 5000 items, you won't see the message and the filtered view will also
    export to Excel nicely. 
    In order to create an index, you either need to temporarily lift the threshold, create the index (or indices) and the lower the threshold again. Or use the daily time window for large queries. For details see http://blogs.msdn.com/b/dinaayoub/archive/2010/04/22/sharepoint-2010-how-to-change-the-list-view-threshold.aspx
    Also, once the view has been exported to Excel, you can save the Excel file and only refresh the data connection. The saved query in the Excel file can then return over 50,000 items to Excel.  Here is a video course about large lists that is easy to
    follow: http://office.microsoft.com/en-us/sharepoint-server-help/introduction-RZ101874361.aspx?section=2 It contains a section about Excel
    exports that is very useful.
    cheers, teylyn

  • Export from SP list to Excel: Excel doesn't show changed colum name. It shows only the original column names, which would be done by the column creation.

    Hello,
    I have an excel list with some columns. I changed the name of some of the column. When I export this list to excel, I always get the first column name, which was created by the creation of the column, and not the new one.
    Is there some possibility to export a SP list to export with the new column names?
    I'm waiting for your help,
    BR
    Damian

    Hi Damian,
    I tested in my environment, change the column name and export to excel list, the exported field name is the correct one.
    Please check the column name from somewhere else from site UI, you could check from SharePoint designer or powershell script.
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $site= New-Object Microsoft.SharePoint.SPSite ("http://siteurl")
    $web=$site.OpenWeb()
    $list=$web.Lists["CustomList"]
    $list.Fields |select ID, title, internalname| more
    In addition, I wonder if the issue occurs to all lists or one specific list. If the issue only occurs to one list, please try to save this list as template and create a new list based on this list and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Exporting ALV list to EXL different behaviour in different Language

    Dear Experts,
    We have a custom report in which we are displaying an ALV Grid. Here many columns are there along with a column to display Material Number.
    We have declared this material as of type MARA-MATNR only.
    The user executes this report in language HU. In output This is getting displayed properly and there is no problem in it. But when the user export it to local file-> spreadsheet->excel file then the last character of the material is truncated. For example if material number is 00000000000123456 then in Excel it is storing as 12345 and digit 6 is truncated.
    But if we log in to English language and execute the same report with same variant and export the list to EXCEL then it is working fine and the Excel sheet is showing proper material number as 123456.
    I have tried to debug and check but i found that the data loaded in EN language is proper but in HU language it is loading it with value 12345X. Does anyone know what might be the issue here.
    in EN
    in HU
    I searched in forum and found many threads regarding this but those solutions i couldnot apply here as I am properly declaring it as type MATNR and I cannot use the conversion exit as i need to display the entire value of material in ALV with leading zeroes.
    Thanks,
    Aswath.

    Hi Guys,
    We finally got what the issue is. Actually the translated text for field heading of material is having only 5 characters and it was allowing to store only 5 digit material numbers.
    Solution used:
    just provided the reference field as matnr in REF_FIELD of field catalog and set the flag NO_CONVEXT to make sure that leading zeroes are still used.
    Regards,
    Aswath.

  • How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel

    How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel?

    See this thread here
    Display number of emails by sender

  • Exporting PDF document to Excel.  When I export a PDF document to Excel containing lists of  people the Excel page shows all the names on  one line several inches deep instead of on separate lines which makes editing impossible.  What am I doing wrong?

    Exporting PDF document to Excel.  When I export a PDF document to Excel containing lists of  people the Excel page shows all the names on  one line several inches deep instead of on separate lines which makes editing impossible.  What am I doing wrong?

    Murray is right. Padding (and margins) is added to the width. However, when using percentages, you should never use figures that add up to exactly 100%.
    Browsers need to convert the percentages to pixels. Because pixels must be whole numbers, some percentages are rounded up, which results in the final element dropping down below its neighbours. With percentages, it's much safer to use values that add up to 98% (99% often works, but 98% is safer).

  • Export Song List -itunes- to Excel (with BPM)

    Hi, trying to export my Itunes library song list to excel. When I do it, it exports most of the info but not the column BPM (Beats per minute). I need this one more than any as a DJ. Why is it not exporting? Any ideas? Everything else looks fine.
    Thanks
    Matthew

    OK, let's try the hard way.
    iTunes keeps an XML copy of your Library data in Music:iTunes:iTunes Music Library.xml. iTunes only writes to this file as a quasi-backup of the real database at the heart of iTunes - "iTunes Music Library".
    The XML file does contain the BPM data. Depending on your familiarity with XML you may be able to easily parse out the data yourself rather than relying on iTunes' Export command.

Maybe you are looking for

  • Unexpected File Format

    I am developing a training course in Flash CS3 and several of my files seem to have become corrupt - when I try to open them I'm getting the 'Unexpected File Format' error message. They are definitely CS3 files. I am making sure I publish swfs before

  • Purchse Requisation ME51N - BADI

    Hello, Am looking to change the value of Requisationer of Purchase Requisation (EBAN-AFNAM), in the process of Purchase requisation creation/change process (ME51N, ME52N)..so, i did not see any user-exit/enhancement spot in the main prog., i mean, SA

  • @DESCENDANTS Function in Business rule creation

    Hi, I am using the copy data system template to copy data between two forms. Everything is working well when seleting one member from each dimension, but for the period dimension I need to select multiple months. I know that is possible by using @DES

  • Error message in IE when viewing output. whskin_tbars.htm

    ROBOHELP HTML 8. Hello, I generate my webhelp files. Add them to the application file. Build, Deploy, etc, Then when accessing the help file directly or through the application(web application) using Internet Explorer 8, I get an error... Webpage err

  • Wcm_placeholder service pulls content with default template

    I have mutiple templates defined for a region definition in the placeholder definition. When accessing content using wcm_placeholder service it always pulls content usign the default template even if the content has been setup to use a different regi