<@U04S8PLJWMT> syncing an excel file the file is s...
# replication-troubleshooting
m
@kapa.ai syncing an excel file the file is showing nulls for last 4 columns. also if i convert to csv the data is able to sync but from excel it is not.
k
When syncing Excel files with Airbyte, there are known issues where some columns may appear as null, especially if the file contains formulas or if certain reader options are not set correctly. Specifically: - Airbyte's Excel file reader (using openpyxl) may extract the formula itself rather than the evaluated value, leading to nulls or unexpected data in the output. This is a documented issue, and a suggested workaround is to ensure the reader uses the
data_only=True
parameter when loading the workbook, so it reads the computed values instead of the formulas. However, this may not always be set by default in some connector versions, leading to the problem you described. This issue does not occur when converting the file to CSV, as CSV files do not contain formulas—only their evaluated values, which explains why your data syncs correctly in that format [Source File - openpyxl fails to interpret excel formula results](https://github.com/airbytehq/airbyte/issues/48774), [Importing excels does not resolve formulas, seems to ignore reader_options](https://github.com/airbytehq/airbyte/issues/31108). - The Airbyte documentation also notes that you can customize how files are read using
reader_options
in JSON format, which are passed to the underlying Pandas reader. For Excel files, ensuring the correct options are set may help, but if the connector is not passing these options correctly (as noted in some issues), the problem may persist [Reader Options](https://docs.airbyte.com/integrations/sources/file#reader-options). What you can try: - If possible, upgrade to the latest version of the source-file connector, as some issues may have been fixed in newer releases. - If you have control over the Excel file, try saving the file with all formulas evaluated (i.e., as values only), or convert it to CSV before syncing. - If you need to sync Excel files with formulas, check if you can set the
reader_options
to ensure
data_only=True
is used, or monitor for updates to the connector that address this issue. If these steps do not resolve the issue, it is likely due to the current limitations of the Excel file reader in Airbyte, as described in the referenced issues.
m
where to specify data only