Excel function like cells, is it possible?

Hello to plotly members and users.

I want to build an expense forecast vs master plan input table
and am in need of knowledge on function or library that can do this.

I need columns like this:

|master plan | forecast | difference| comments
| 10,000 | 7,500 | ▲2,500 | “decreased production”

I can expect many to say “use Excel”, but scalability and performance
is very limited in Excel, and having problem of misinputs.

I was able to build table that can add rows and update values ,
but having no luck with google on [“excel function” pandas] and so on.

If there are methods to implement difference that keeps updated
on cells in a table, I’d like to know.

thanks in advance.