Can anyone figure a formula for this?? Please?

B

Bianca

when I30 is >40
then sum all cells (D23:27)>8 so in other words add each cell that is
greater than 8 like (d23-8)+(d24-8)+ and so on
then take that amount and sum it with d28 and d29

so for example D23=10
D24=8
D25=10
D26=10
D27=8
D28=8
D29=8
THEN THE SUM WOULD= 22
2 FROM D23
2 FROM D25
2 FROM D26
8 FROM D28
AND 8 FROM D29

YOUR HELP IS VERY MUCH APPRECIATED!
 
C

CLR

=IF(I30>40,SUMIF(D23:D27,">=8")-COUNTIF(D23:D27,">=8")*8)+SUM(D28:D29)

Vaya con Dios,
Chuck, CABGx3
 
B

Bob Phillips

=IF(I30>40,SUM(IF(D23:D27>8,D23:D27-8))+D28+D29,0)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top