Forum Discussion

alifinn's avatar
alifinn
Copper Contributor
Sep 23, 2022

Excel formula

I have a spreadsheet. I need a formula to add 2 cells together, one of the cells will be a different cell depending if there is a value in another cell I have tried sumifs with the value for the 3rd cell as either <0 or >0 but can't get it to work also tried countifs

 

My answer needs to be sum of A+D if B is less than zero or sum of C+D if B is more than zero

6 Replies

    • alifinn's avatar
      alifinn
      Copper Contributor
      Thank you, it works if the value in B1 is more than 0, however if it is 0 or left blank then the answer is blank so I have to put in a minus value, tried changing the first part to B1BLANK but that didn't work

Resources