+ Reply to Thread
Results 1 to 3 of 3

Sumif 2 criteria

  1. #1

    Sumif 2 criteria

    Hey,

    I'm having some difficulty extracting some of the information I need
    from my database. What I need to do is do a count based on 2 criteria
    in 2 columns. HELP please
    This is totaly incorrect code but it will help get the idea across

    sumif(a1:a5600, 3) & sumif(b1:b5600, 1)

    Thanks
    Andrew


  2. #2
    Domenic
    Guest

    Re: Sumif 2 criteria

    Try...

    =SUMPRODUCT(--(A1:A5600=3),--(B1:B5600=1))

    or

    =SUMPRODUCT(--(A1:A5600=D1),--(B1:B5600=E1))

    ....where D1 contains your first criterion, such as 3, and E1 contains
    your second criterion, such as 1.

    Hope this helps!

    In article <[email protected]>,
    [email protected] wrote:

    > Hey,
    >
    > I'm having some difficulty extracting some of the information I need
    > from my database. What I need to do is do a count based on 2 criteria
    > in 2 columns. HELP please
    > This is totaly incorrect code but it will help get the idea across
    >
    > sumif(a1:a5600, 3) & sumif(b1:b5600, 1)
    >
    > Thanks
    > Andrew


  3. #3

    Re: Sumif 2 criteria

    worked perfect, Thanks


+ 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