Forum Discussion
nikiw
Oct 22, 2021Copper Contributor
Formula help
Hello! I need help with an excel formula please 🙂 I have data in column A and a running total in column B I want to know the difference between the figures in column B but the number of bl...
HansVogelaar
Oct 22, 2021MVP
Leave C2 empty, obviously.
Enter the following formula in C3:
=IF(B3="","",B3-LOOKUP(9.99999999999999E+307,B$2:B2))
And in D3:
=IF(B3="","",SUM(INDEX(A:A,MAX((B$2:B2<>"")*ROW(B$2:B2)+1)):A3))
If you don't have Microsoft 365/Office 2021 you'll have to confirm the formula with Ctrl+Shift+Enter.
Fill down from C3:D3 to the last row with data,