Python openpyxl data_only=True returning None

It depends upon the provenance of the file. data_only=True depends upon the value of the formula being cached by an application like Excel. If, however, the file was created by openpyxl or a similar library, then it’s probable that the formula was never evaluated and, thus, no cached value is available and openpyxl will report None as the value.

Leave a Comment