Forum Discussion

Anonymous's avatar
Anonymous
May 30, 2018
Solved

EXCEL

Hi,   I want to use this code.. =IF(C2="","",SUM($C$2:C2)) but how do I change it so it is the sum of two columns added instead of one?  
  • Haytham Amairah's avatar
    Haytham Amairah
    Jun 01, 2018

    If so, I suggest to use this formula instead:

    =IF(AND(C2="",D2=""),"",SUM($C$2:D2))

    Place it in cell E2, and copy it down.

     

    I hope this helps you

    Regards

Resources