Good afternoon,
Can anyone help me - I'm trying to work out how to calculate the difference between today's value (currently in cell B8) and yesterday's value (currently in cell B7). The days of the month are set down column B.
I started to use this formula where G2 is =now() Column A has the dates of the month and Column B has the value:
=IF(G2=A8,B8-B7,IF(G2=A9,B9-B8,IF(G2=A10,B10-B9,IF(G2=A11,B11-B10,IF(G2=A12,B12-B11,IF(G2=A13,B13-B12,IF(G2=A14,B14-B13,IF(G2=A15,B15-B14,""))))))))
I need to add more 'nestings' to be able to continue this for the entire month but it won't let me. Is there an easier way I can do this?
Help is greatly appreciated.
Bookmarks