+ Reply to Thread
Results 1 to 4 of 4

SUMIFS returning #VALUE!

  1. #1
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    SUMIFS returning #VALUE!

    Hello,

    Please see the attached. I would like to know why the sumifs formuale is not working....it was working on another copy....

    The idea here is to calculate the mean in col F in "new CCM clinic reporting" worksheet.

    I am using a named range as well, but it's just not working...

    Formula I used is:
    Please Login or Register  to view this content.
    Could anybody help please?

    Thank you
    Attached Files Attached Files

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

    Re: SUMIFS returning #VALUE!

    In the named ranges for the Mean columns.. change the COUNTA function to COUNT function so that it counts numbers and offsets by same amount as the text columns...

    e.g. for VGHClinicMean: =OFFSET('VGH Clinic Intake'!$P$2,0,0,COUNT('VGH Clinic Intake'!$P:$P))

    unless you give headings to the other columns too....

    Then you would need to -1 from the COUNTA:

    =OFFSET('VGH Clinic Intake'!$P$2,0,0,COUNTA('VGH Clinic Intake'!$P:$P)-1)
    Last edited by NBVC; 12-06-2011 at 04:15 PM.
    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
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: SUMIFS returning #VALUE!

    Quote Originally Posted by NBVC View Post
    In the named ranges for the Mean columns.. change the COUNTA function to COUNT function so that it counts numbers and offsets by same amount as the text columns...

    e.g. for VGHClinicMean: =OFFSET('VGH Clinic Intake'!$P$2,0,0,COUNT('VGH Clinic Intake'!$P:$P))

    unless you give headings to the other columns too....

    Then you would need to -1 from the COUNTA:

    =OFFSET('VGH Clinic Intake'!$P$2,0,0,COUNTA('VGH Clinic Intake'!$P:$P)-1)
    Hi, thank you.

    I thought COUNTA counts non-null values while COUNT includes null values? What are implications of just going with the original COUNTA without the "-"?

    Thanks

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

    Re: SUMIFS returning #VALUE!

    COUNTA only counts null values if the nulls are results of formula, e.g. =IF(A1=1,1,""). If you don't include the -1 then a the range includes one blank cell at the bottom, since you started at row 2 and added the COUNTA() result.

+ 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