Read Cell Values and Cell formula from excel sheets using Python

Hello Forum,

I need to read a cell’s value and formula both from a sheet in excel file using Python.
Until, now I can read formula only if both value & formula are present in a cell and getting value as output if only value is present.

But I need both when cell has value & formula also.

Can anyone suggest the python to achieve this task? I am using openpyxl to read the excel file.

BR,
Shubham