+ Reply to Thread
Results 1 to 7 of 7

I can't get countifs to work.

  1. #1
    Registered User
    Join Date
    10-20-2012
    Location
    Queensland Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    I can't get countifs to work.

    I am trying to use countifs in my spreadsheet to count the number of correct answers students make in a test. There are 35 fields and criteria. At first i got the error message 'MORE ARGUMENTS ARE SPECIFIED THAN ARE ALLOWED IN THIS FILE FORMAT'. I have Excel 2010. What file format should I be using?
    When i saved the file as binary, that error message disappeared. But when I tested the formula, I get no response. I have attached the spreadsheet.
    Can anyone help me please?
    Thanks

    Attachment 189047
    Attached Files Attached Files
    Last edited by jburl6; 10-30-2012 at 05:45 AM.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: I can't get countifs to work.

    I reckon you want
    =SUMPRODUCT(--(B6:AL6=$B$4:$AL$4))
    Josie

    if at first you don't succeed try doing it the way your wife told you to

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

    Re: I can't get countifs to work.

    Try instead:

    =SUMPRODUCT(--($B6:$AL6=$B$4:$AL$4))

    change Z4 to same as what is entered in Z5 (i.e. 31452)
    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.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: I can't get countifs to work.

    I have seen your file and no need of the long formula you have written in the workbook. Just explain how you would like to get the total and the method of arriving the total. Finally please fill 2 or 3 rows of data manually with expected result for our easy understanding.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    10-20-2012
    Location
    Queensland Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Smile Re: I can't get countifs to work.

    Quote Originally Posted by JosephP View Post
    I reckon you want
    =SUMPRODUCT(--(B6:AL6=$B$4:$AL$4))
    Thanks JosephP. This works perfectly. I looked at SUMPRODUCT but couldn't get it to work for me. What do the -- do in the formula?
    Thanks again. It's easier than I realised.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: I can't get countifs to work.

    Maybe this will help...

    It's called a Double Unary
    Last edited by jeffreybrown; 10-25-2012 at 11:47 PM.
    HTH
    Regards, Jeff

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: I can't get countifs to work.

    hopefully jeffrey's link has answered your question?

    please don't forget to mark the thread solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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