question

Gesa R avatar image
0 Likes"
Gesa R asked Jordan Johnson edited

Excel Interface: problem with identifying text starting with "E"

test.fsm

Hi,

I have a problem with the excel interface for importing tabels.

I have a table in excel with 5 columns. The first 4 with numbers and the last one with text (declared as such in excel). The text is a combination of letters and numbers like: P22, AE3, EF1, E20, E21.

I use the automatic import and everything is fine except the text E20 and E21. There FlexSim decided that it is a number (0). I can't even change the cell in FlexSim to text.

Thank you for helping.

FlexSim 18.0.3
excel importtextautomatic
test.fsm (18.0 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image tannerp commented ·

If using the underscore method doesn't work, you can simply right click on the cells starting with an "E" and select Assign Data and then Assign String Data to change the values to accept a combination of letters and numbers.

I believe that @Jörg Vogel is correct about the table recognizing it as scientific notation, but I'm not sure if that can be adjusted in FlexSim or in your Excel file.

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel commented ·

You get the import value as a number because it is a number in scientific notation 1.234e03. Maybe you can add in the excel cell an underscore character as a prefix "_E20".

0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered Jordan Johnson edited

If you are only importing text or numbers, try the Values Only (very fast) data distinction option. I suspect it will work better in your case.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.