I am printing some formula in one of the Excel sheets:
wsOld.cell(row = 1, column = 1).value = "=B3=B4"
# copy the 1st row to another sheet
>>> print(wsOld.cell(row=1, column=1))
openpyxl support either the formula or the value of the formula. You can select which using the
data_only flag when opening a workbook. However, openpyxl does not and will not calculate the result of a formula. There are libraries out there like pycel which purport to do this.