+ Reply to Thread
Results 1 to 3 of 3

Can anyone figure a formula for this?? Please?

  1. #1
    Bianca
    Guest

    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!

  2. #2
    CLR
    Guest

    RE: Can anyone figure a formula for this?? Please?

    =IF(I30>40,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!


  3. #3
    Bob Phillips
    Guest

    Re: Can anyone figure a formula for this?? Please?

    =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)

    "Bianca" <[email protected]> wrote in message
    news:[email protected]...
    > 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!




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1