Forum Discussion

kabeerkhann's avatar
kabeerkhann
Copper Contributor
Aug 29, 2023
Solved

Excel Formula to sum the above value

Ok this is my dummy data. There is three column Column A Funded amount, Column B Payment amount, AND Column C is difference amount which i want.  Now there are some conditions and points.  F...
  • OliverScheurich's avatar
    Aug 29, 2023

    kabeerkhann 

    =IF(A2=0,0,A2-SUM(INDEX($B$2:$B$100,IFERROR(LARGE(IF($A$2:A2<>0,ROW($A$2:A2)-1),2),1)):INDEX($B$2:$B$100,ROW()-2)))

     

    You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.

Resources