+ Reply to Thread
Results 1 to 3 of 3

COUNTIF or SUMIF

  1. #1
    Registered User
    Join Date
    10-29-2008
    Location
    USA
    Posts
    2

    COUNTIF or SUMIF

    Hello,

    I have a data range with 3 columns - A -employee number, B -charging number, and C -charge amount.
    "A" shows multiple times and must be associated with value from "B". I am looking for totals of "C" for any combination of "A" and "B".
    Ex.

    A B C
    1 101 6
    1 201 7
    1 101 4
    2 301 6
    2 101 1
    2 201 4
    3 201 5
    3 401 7 etc.


    I am looking for totals (from column C) for A and totals for A with defined B. e. g.:

    1 for all 101
    1 for all 201
    1 total
    2 for 201 etc..
    Thank you for your help.

    Siskin
    Last edited by NBVC; 10-30-2008 at 02:15 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Syntax for multiple conditions:

    =Sumproduct(--(range1=value1),--(range2=value2),sumrange)

    Syntax for one condition

    =Countif(range1,value1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-29-2008
    Location
    USA
    Posts
    2
    Thank you very much.

+ 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