+ Reply to Thread
Results 1 to 6 of 6

COUNTIF issue resolution

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    107

    COUNTIF issue resolution

    Hi

    I was wondering if you could help me with a count if formula.

    I am trying to create a formula in cell B3 of the summary sheet to count the number of J's in column E on the detail sheet, if the value of the corresponding A cell's value is the same as the cell A3 in the summary sheet. The range is A1:E22 in the detail sheet, the criteria is cell A3 in the summary sheet (i think). I am getting a 'too many arguments' error when i try...

    Any help greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: COUNTIF issue resolution

    Hi

    ...I am getting a 'too many arguments' error when i try...
    Try what?

    I am not sure if i am following you, but pls, give a try to this in B3 of your Summary Sheet.

    =SUMPRODUCT((detail!$A$2:$A$22=A3)*(detail!$E$2:$E$22="j"))

    Is this, what are you looking for??
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: COUNTIF issue resolution

    Try
    =COUNTIFS(detail!$E$2:$E$22,"J",detail!$A$2:$A$22,summary!A3)

  4. #4
    Forum Contributor
    Join Date
    04-23-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: COUNTIF issue resolution

    Quote Originally Posted by Fotis1991 View Post
    Hi



    Try what?

    I am not sure if i am following you, but pls, give a try to this in B3 of your Summary Sheet.

    =SUMPRODUCT((detail!$A$2:$A$22=A3)*(detail!$E$2:$E$22="j"))

    Is this, what are you looking for??
    once again many thanks Fotis

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: COUNTIF issue resolution

    You are welcome.

    As i am in 2003, i am not able to test Cutter's formula but i think is also can works for you

  6. #6
    Forum Contributor
    Join Date
    04-23-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: COUNTIF issue resolution

    i think both work

    thanks again for your help

+ 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