question

Serge A avatar image
0 Likes"
Serge A asked Serge A commented

Import Row and Column Headers from Excel with an Offset from A1

I noticed that options "Use Row Headers" and "Use Column Headers" in Excel Import tool do not work the same when the data is not at the top left corner of the sheet (A1).

In particular, if Excel sheet looks like this:

And Import is configured to start from row 2

Then the table is imported like this (headers are imported as data):

And if data starts from A1, and Starting Row = 0, Starting Column = 3, then the table is imported like this:

(OK)

I also noticed, that if the table starts at B2, then automatic detection of the table boundary (Total Rows = 0, Total Columns = 0) doesn't work.

FlexSim 21.0.2
bugflexsim 21.0.2excel import
1612450778800.png (4.6 KiB)
1612450875000.png (25.4 KiB)
1612450921300.png (3.6 KiB)
1612450991500.png (3.6 KiB)
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Serge A commented

The start row and column is where the data starts - not the headers- and the number of rows and columns should not include the headers (this is different to the tooltip displayed when you hover over - will email that to dev). The tooltips of the row and column header checkboxes are also misleading - you should instead consider reading them as "include an extra column to the left of the data for the row headers" and "include an extra row above the data for column headers"

The automatic number of rows and columns works fine too - you need to make sure your start column and row is in the data and not the header space, and of course that you've saved your Excel workbook.

· 1
5 |100000

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

Serge A avatar image Serge A commented ·

Thank you. It was not obvious that Import settings should define offset to the first data cell, not the top-left table cell.

From the usability point of view I suggest to use Excel coordinates directly, like "C3" in this case, and call it "Top-left data cell: C3", and change the default to B2 when "Use Row Headers" and "Use Column Headers" are active. It would also eliminate the need to count columns.

0 Likes 0 ·
1613378564700.png (55.3 KiB)