Is it possible to read data from an Excel sheet in Python using Xlsxwriter? If so how?

Ambi picture Ambi · Dec 10, 2013 · Viewed 35.9k times · Source

I'm doing the following calculation.

worksheet.write_formula('E5', '=({} - A2)'.format(number))

I want to print the value in E5 on the console. Can you help me to do it? Is it possible to do it with Xlsxwriter or should I use a different library to the same?

Answer

jmcnamara picture jmcnamara · Dec 11, 2013

It is not possible to read data from an Excel file using XlsxWriter.

There are some alternatives listed in the documentation.