+ Reply to Thread
Results 1 to 2 of 2

Making countifs reference inequalities

  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    kc, mo
    Posts
    25

    Making countifs reference inequalities

    I have a countifs formula built that is not working.

    =countifs(Sheet1!A:A,$B$1,Sheet1!B:B,$A6,Sheet1!U:U,<5)

    The problem comes because I want the countifs to pull all cells less than 5 in column U:U that meet the other criteria. I keep getting an error message and can't figure out how to write this equation. I have tried naming other cells in the worksheet 5, 10, etc and referencing them but it still does not work. The second problem I would have moving forward is for the formula to pull all cells less than 10 but greater than 5.

    Thanks in advance for the awesome help!!

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

    =countifs(Sheet1!A:A,$B$1,Sheet1!B:B,$A6,Sheet1!U:U,"<5")
    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.

+ 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