Forum Discussion

sac46280's avatar
sac46280
Copper Contributor
Dec 27, 2018
Solved

Excel auto sum not working on values calculated using formula.

I created a formula to calculate charges and it's working correctly, but auto sum is not working on these cells. I already checked and the cell format type is General. I have attached the file.
  • sac46280's avatar
    Dec 29, 2018
    =IF( EXACT(E9,"Not Installed"),"0", IF( (E9>DATEVALUE("1-Oct-18")),"50.00",(DATEDIF(E9,DATEVALUE("31-Oct-18"),"d")+1)*1.61 ))

    had 50 in "" and therefore it was text. Removing double quotes fixed the issue.

    =IF( EXACT(E9,"Not Installed"),"0", IF( (E9>DATEVALUE("1-Oct-18")),50.00,(DATEDIF(E9,DATEVALUE("31-Oct-18"),"d")+1)*1.61 ))

     

Resources