A
amber12177
I am trying to write a code which will sum up several cells while at the same time recognizing if the number is over 6, .75 should be subtracted.
sadly all I've managed is:
D7 10.75
=IF(D7>=6,D7-0.75)
That gives me an answer of 10 which is correct,
but when the value drops below 6 it just says false (i need it to keep the value)
Also, I need a formula that will result in a single answer for multiple cells
so =sum(if(A1>=6, A1-.75) + (A2>=6, A2-.75).... etc...
sadly all I've managed is:
D7 10.75
=IF(D7>=6,D7-0.75)
That gives me an answer of 10 which is correct,
but when the value drops below 6 it just says false (i need it to keep the value)
Also, I need a formula that will result in a single answer for multiple cells
so =sum(if(A1>=6, A1-.75) + (A2>=6, A2-.75).... etc...