ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can anyone figure a formula for this?? Please? (https://www.excelbanter.com/excel-worksheet-functions/98661-can-anyone-figure-formula-please.html)

Bianca

Can anyone figure a formula for this?? Please?
 
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!

CLR

Can anyone figure a formula for this?? Please?
 
=IF(I3040,SUMIF(D23:D27,"=8")-COUNTIF(D23:D27,"=8")*8)+SUM(D28:D29)

Vaya con Dios,
Chuck, CABGx3



"Bianca" wrote:

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!


Bob Phillips

Can anyone figure a formula for this?? Please?
 
=IF(I3040,SUM(IF(D23:D278,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)

"Bianca" wrote in message
...
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!





All times are GMT +1. The time now is 02:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com