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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Export SharePoint List data to SQL Server 2005 Database

    Hello Everybody,
    I am presently working on a project which handles much larger amount of data. The architecture of the application demands extracting records from the SharePoint (WSS 3.0) and insert into a SQL Server 2005 database. I need to run this job as daily basis. I am thinking of using SSIS (SQL Server Integration Service) for this purpose. But I am new to this technology and I'd like to know how effective this idea to do the job.
    I'd also like to know more about SharePoint's ability to handle huge amount of data when it comes to Reporting.
    thank you,
    Arun

    For Reporting Services, There are web parts available which can be used to render a reporting service report in sharepoint. I have also used a reporting service report directly using Page Viewer Web Part so displaying a reporting services report in sharepoint is very simple task. Important part is to transfer data from Sharepoint list to SQL 2005. so if you want to use SSIS package and there is only one or two list then approach is to write a simple query based on your list id and extract information from sharepoint content database from UserData table, since it is a read only operation so it can work this way. Another way to do it is to write a Sharepoint Timer JOB which runs on a defined schedule and will read your list values and will transfer to your SQL 2005, Another way could be to write your custom web service and write code to transfer from list to SQL 2005. Custom code you will write inside timer or web service will be same code so it is just a different shell you can say. in case of web service, use it in some other application as a regular web service.  
    Let me know if you need further help, You did not mention how many list you have?
    Regards,
    BizWorld.

  • Export song list with Japanese, Chinese and some Korean characters

    I had tried to export my list of songs (which consist mainly of Japanese songs, some Chinese songs and a few Korean) using .xml but it seems like everytime I try to open it using Firefox or IE, both browsers will freeze and hang. I tried exporting as .txt, but non-English character will appear as question marks.
    May I know if there is any other better way for me to export my song lists?

    May I know if there is any other better way for me to
    export my song lists?
    Do you not also have the choice Unicode Text in Format when you do Export?

  • 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.

  • 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.

  • Sharepoint list not letting edit/add items programmatically

    Hello,
    I have a SP List which I need to update and edit items programmatically (I'm using InfoPath).
    I coded the solution, tested in many others lists and the code does work. But when I test using the list I actually need to use it just doesn't let me to do any operation. I wonder if there is any configuration that might be set which doesn't allow
    people to programmatically  change the list.
    Some points:
    - This list was created in another SP site and has been exported as template to another. Is that possible that anything could be occurred during the export operation?.
    - I have created an InfoPath form template to add a new item to this list, If I need to add/update an item manually I can do this without any problems.
    -I checked the fields that cannot be blank and I'm filling all of them, so I don't think that's the problem.
    Thanks in advance.

    Hi,
    I suggest you debug your code, then provide error messages for further troubleshooting.
    Or you can provide your code for us to reproduce the issue.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • 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!!!

  • Pages Exports to PDF/Printer Saves as PDF with weird characters

    This situation is getting worse for me, not better, the more I'm using Pages.
    I have made several files, nothing special, just used Pages for layout and the ease of using colors and shapes.
    When I Export as PDF, sometimes random text boxes end up having all spaces replaced with exclamation marks. Not always the same one, not always all of the text fields on my page, and so far, never the title. When I "Print to PDF," which used give me an error and say I had to export only but now works, I get the same error. Even a character I used 5 times on the page, the first 4 were fine and the 5th had turned to an exclamation mark. Just for kicks when I could not get my file to work last night, I exported to Word (looked fine) and then went to Save as PDF... same exclamation marks. Physically printing the files has no errors.
    Last night I rebooted my MacBook and let it sit a bit and tried again, and both files I was trying to export came out fine. Other times this has happened though, my computer was neither warm nor a few hours from the last reboot.
    Methinks that this is related to making PDFs on my computer, maybe that connection between printer driver and making PDFs, but it's also got to be Pages-related. Except for the file I exported to Word, I have no problems with Print to PDF for anything else- Word, Excel, web pages, etc. What should I check/do to try and diagnose the problem? Since the things I do in Pages are generally on a deadline, I need to be proactive about the solution. Rebooting is not going to save me every time.

    It could be a font cache problem. You might try using a utility to clear the caches or try doing it by hand. Try a Google search on "clearing font caches" and Leopard, for example. I believe something like Onyx will do it though I haven't used that myself.
    I'm not sure about this - it is just a hunch based on some things I've read about problems with Leopard and pdfTeX.
    - cfr

  • Export list from sharepoint online to Excel 2007 failed

    Hello, Office365 sharepoint online, Office 2007 32bit, Win 8.0 x64. When I try to export a list to Excel, I get this error: You do not have adequate permissions to modify this list. Changes to your data cannot be saved.; This comes right after I am prompted
    to enable data connections, and the Import Data dialog. Even I double check the permission for the list. I get this error on two different computers; I have tried several browsers (IE10, IE9 ;FireFox, Chrome). How do I fix this problem? Thanks.

    are you using sharepoint 2010 or 2013 ? if you are using 2013 then remove office and install office from office 365 portal.. make sure you are signed in the office excel client application with the same username and password you are using for office 365
    portal..give it a try !

  • Excel Services with SharePoint List Data in SharePoint 2013 - Chart is not refreshing automatically

    Hi Everyone,
    This is My req: I m going to display pie chart and Bar chart in share point 2013.
    Steps I have follwed:
    1. Export the list to excel.
    2.Using the Power Pivot table I have done the chart.
    3. Uploaded into document Library.
    4. Added into the web part. 
    Chart are displaying. But When ever user added the data into the list chart is refreshing.
    Is there any option to refresh the data in chart? Waiting for valuable replies.
    Regards, Manoj Prabakar

    SharePoint lists as data sources in Excel Services is not supported.That's the reason refreshing is not working. There are some work around you can use  -
    Export as Data Feed - Export your SharePoint list as Data Feed , use this data feed to a PowerPivot for Excel workbook and publish this PowerPivot using Excel Services.
    User-defined functions  - write UDF in C# and extend the Excel Services functionality to work with SharePoint lists.
    https://msdn.microsoft.com/library/bb267252(office.12).aspx#Office2007ExcelServicesUnlimited_SharePointLists
    Web Services API -
    The Web Services API can be used to push data from a database and then refresh the data in a SharePoint Server list by using Excel Services.
    JavaScript Object Model - The JavaScript Object Model for Excel Services in Microsoft SharePoint Server 2010 provides many solutions for Excel Services.
    More details  - 
    https://technet.microsoft.com/en-us/library/gg576960.aspx
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

Maybe you are looking for