+ Reply to Thread
Results 1 to 3 of 3

Using an IF function for a total

  1. #1
    Registered User
    Join Date
    05-25-2006
    Posts
    22

    Using an IF function for a total

    ok, say I have a fundraising worksheet for a tennis club

    * I have 7 columns with in order;

    division, cartons, returned cartons, income, cartons, returned cartons, income

    3 divisions (junior, senior and sjunior) are selling 2 types of chocolates,

    * each row represents a player from the club

    Senior 15 15 $30.00 15 15 $75.00
    Senior 15 15 $30.00 15 15 $75.00
    Senior 15 15 $30.00 15 15 $75.00
    Senior 15 14 $28.00 15 12 $60.00
    Senior 15 13 $26.00 15 13 $65.00
    Senior 15 15 $30.00 15 14 $70.00
    Senior 15 13 $26.00 15 15 $75.00
    Senior 15 15 $30.00 15 15 $75.00
    Junior 10 9 $18.00 10 9 $45.00
    Junior 10 10 $20.00 10 10 $50.00
    Senior 15 9 $18.00 15 14 $70.00
    SJunior 5 5 $10.00 5 5 $25.00
    SJunior 5 3 $6.00 5 5 $25.00
    Junior 10 10 $20.00 10 13 $65.00
    Senior 15 15 $30.00 15 14 $70.00

    (income is the returned cartons * carton price @ $2 and $5)

    what would the formula be for the total of each division
    if the worksheet above is G2:J16

    ???

  2. #2
    Ardus Petus
    Guest

    Re: Using an IF function for a total

    Please don't multipost

    --
    AP

    "Drummy" <[email protected]> a écrit dans
    le message de news: [email protected]...
    >
    > ok, say I have a fundraising worksheet for a tennis club
    >
    > * I have 7 columns with in order;
    >
    > division, cartons, returned cartons, income, cartons, returned cartons,
    > income
    >
    > 3 divisions (junior, senior and sjunior) are selling 2 types of
    > chocolates,
    >
    > * each row represents a player from the club
    >
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 14 $28.00 15 12 $60.00
    > Senior 15 13 $26.00 15 13 $65.00
    > Senior 15 15 $30.00 15 14 $70.00
    > Senior 15 13 $26.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Junior 10 9 $18.00 10 9 $45.00
    > Junior 10 10 $20.00 10 10 $50.00
    > Senior 15 9 $18.00 15 14 $70.00
    > SJunior 5 5 $10.00 5 5 $25.00
    > SJunior 5 3 $6.00 5 5 $25.00
    > Junior 10 10 $20.00 10 13 $65.00
    > Senior 15 15 $30.00 15 14 $70.00
    >
    > (income is the returned cartons * carton price @ $2 and $5)
    >
    > what would the formula be for the total of each division
    > if the worksheet above is G2:J16
    >
    > ???
    >
    >
    > --
    > Drummy
    > ------------------------------------------------------------------------
    > Drummy's Profile:
    > http://www.excelforum.com/member.php...o&userid=34780
    > View this thread: http://www.excelforum.com/showthread...hreadid=548071
    >




  3. #3
    Bob Phillips
    Guest

    Re: Using an IF function for a total

    =SUMPRODUCT(--(G2:G16="Senior"),(H2:H16+I2:I16))

    --
    HTH

    Bob Phillips

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

    "Drummy" <[email protected]> wrote in
    message news:[email protected]...
    >
    > ok, say I have a fundraising worksheet for a tennis club
    >
    > * I have 7 columns with in order;
    >
    > division, cartons, returned cartons, income, cartons, returned cartons,
    > income
    >
    > 3 divisions (junior, senior and sjunior) are selling 2 types of
    > chocolates,
    >
    > * each row represents a player from the club
    >
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Senior 15 14 $28.00 15 12 $60.00
    > Senior 15 13 $26.00 15 13 $65.00
    > Senior 15 15 $30.00 15 14 $70.00
    > Senior 15 13 $26.00 15 15 $75.00
    > Senior 15 15 $30.00 15 15 $75.00
    > Junior 10 9 $18.00 10 9 $45.00
    > Junior 10 10 $20.00 10 10 $50.00
    > Senior 15 9 $18.00 15 14 $70.00
    > SJunior 5 5 $10.00 5 5 $25.00
    > SJunior 5 3 $6.00 5 5 $25.00
    > Junior 10 10 $20.00 10 13 $65.00
    > Senior 15 15 $30.00 15 14 $70.00
    >
    > (income is the returned cartons * carton price @ $2 and $5)
    >
    > what would the formula be for the total of each division
    > if the worksheet above is G2:J16
    >
    > ???
    >
    >
    > --
    > Drummy
    > ------------------------------------------------------------------------
    > Drummy's Profile:

    http://www.excelforum.com/member.php...o&userid=34780
    > View this thread: http://www.excelforum.com/showthread...hreadid=548071
    >




+ 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