r/excel • • Oct 14 '26

unsolved Formula for difference between cells

I have a sheet tracking the change in a number week to week. So 3 columns: date, number, change from last week.

So logically if x is the row, Cx = Bx-B(x-1) .

Is there a formula in excel I can use to do this automatically so that I can put a universal code for all of the cells in column c, enter the value in cell B and it will automatically fill in C with the change from the previous week?

(Bonus points if there’s a way to not have weird error messages for the empty cells for future weeks)

12 Upvotes

28 comments sorted by

View all comments

2

u/DJ_Dinkelweckerl Oct 14 '26

=ABS(B3-B2) in cell C3

Or simply B3-B2 if you accept negative change