I am currently using "Read Excel Spreadsheet to CDT" Plug-in to read v

I am currently using "Read Excel Spreadsheet to CDT" Plug-in to read values from Excel. However, when I have a row in excel that needs to be read in as text and the field is defined as text in the cdt, the plug-in formats the data using a numerical protocol when the data is read in. Meaning if you have data in a cell as 456000000, it will not appear this way when its read in, even though everything is defined as text. It will instead read in 4.56e8, which is a problem when you get rounding and the values become distorted. This happens for columns with mixed data as well. I was wondering if there is a way to get the plug-in to read the data as it is stored in excel, without distortion, and without making any changes the excel file like putting ' before the data....

OriginalPostID-75135

OriginalPostID-75135

  Discussion posts and replies are publicly visible

Parents
  • Hello Samuel, The concern here could be the format set on the columns in the uploaded excel sheet and may not be the data type of the fields/attributes in the CDT.
    If you can set the format of the column (having a mix of text and numbers) as "Text", instead of "General", it may help you.
    Could you please try this -
    Select the column (having mixed data of text and numbers) in the excel sheet --> Right Click --> Format Cells --> Category (Select the category as "Text" explicitly) and upload this updated sheet.
    Hope this helps.
Reply
  • Hello Samuel, The concern here could be the format set on the columns in the uploaded excel sheet and may not be the data type of the fields/attributes in the CDT.
    If you can set the format of the column (having a mix of text and numbers) as "Text", instead of "General", it may help you.
    Could you please try this -
    Select the column (having mixed data of text and numbers) in the excel sheet --> Right Click --> Format Cells --> Category (Select the category as "Text" explicitly) and upload this updated sheet.
    Hope this helps.
Children
No Data