Forum Discussion
Mangoorani
Jun 28, 2021Copper Contributor
looking for a short formula
I have several columns that need add then subtract then add then subtract. For example, Is there a way to short the formula? Thanks, M.
Riny_van_Eekelen
Jun 28, 2021Platinum Contributor
Mangoorani Not sure if your example is realistic, but if it is you could perhaps consider entering all the numbers that should be subtracted as negative numbers. Then the formula in your example could become =$B4 - SUM($D4:$AB4)
- MangooraniJun 29, 2021Copper ContributorEvery other column is add then subtract from B4-AB4, so the sum formula won't work.
- Riny_van_EekelenJun 29, 2021Platinum Contributor
Mangoorani Perhaps you missed a few words in my earlier reply, where I suggested that you could perhaps enter the numbers that need to be subtracted as negative numbers. Then you can use the SUM function as demonstrated in the picture below.