+ Reply to Thread
Results 1 to 4 of 4

#Value error from a Countifs formula

  1. #1
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    #Value error from a Countifs formula

    Hopefully someone can help me with this.
    I am getting a #Value error in a countifs formula for some reason. I copied and pasted the last part of the formula in G4 into the last part of the formula in N4, in the Excel file that I have attached, but it doesnt want to work in N4. I tried changing the format of the cell, and a few other things, but nothing gets rid of the #Value error except removing the ",$J$7:$J$304,$D$4" that I added to the formula. All of this is in the 2009 sheet.
    Attached Files Attached Files
    Last edited by Befuddled; 04-02-2010 at 09:57 PM.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: #Value error from a Countifs formula

    Your range for the other portions of the Counifs are from row 7 to row 305, while the "Die Issues" part is from row 7 to row 304.

  3. #3
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: #Value error from a Countifs formula

    Thanks,
    I knew it had to be something simple that I was overlooking. I forgot that I had added a row earlier.

  4. #4
    Registered User
    Join Date
    01-04-2011
    Location
    Lagos, Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: #Value error from a Countifs formula

    Hello,

    Please I am getting a #VALUE! error when i refresh my Data. I am creating a report whose source data is an Oracle database.

    I used the COUNTIFs formula to create my report which actually works fine. But when I refresh the source data, it gives me the #VALUE! error. I realized that the refresh action changes one of the criteria range.

    E.g

    The original formula is

    =COUNTIFS('Query from EXPRESS'!$H$2:$H$2000,E23,'Query from EXPRESS'!$E$2:$E$2000,$A$24,'Query from EXPRESS'!$I$2:$I$2000,$H$21)

    But after refreshing, I get

    =COUNTIFS('Query from EXPRESS'!$H$2:$H$2000,E23,'Query from EXPRESS'!$E$2:$E$1472,$A$24,'Query from EXPRESS'!$I$2:$I$2000,$H$21).
    Attached Files Attached Files

+ 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