+ Reply to Thread
Results 1 to 4 of 4

countif using a cell for range

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    countif using a cell for range

    Hi All, I want to count a range. But instead of using

    Please Login or Register  to view this content.
    I want the 480 to be determined by a cell. Cell B5 in fact. So if B5 = 550 the countif would be
    Please Login or Register  to view this content.
    Please help to advise

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: countif using a cell for range

    Hello
    Try using the INDIRECT function, for example:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    DBY

  3. #3
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: countif using a cell for range

    try:
    Please Login or Register  to view this content.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: countif using a cell for range

    Another way if you also need to avoid the volatility of INDIRECT :
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I chose row 10000 assuming it to be suitably large enough for an upper boundary. That can be changed to a larger number if needed. Or use the whole column Y in this way :
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using COUNTIF Over A Range Specified By Another Cell's Value
    By kyjae in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-29-2015, 12:32 PM
  2. Problem with using the Value of a Cell as part of a COUNTIF Range
    By ARGK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2013, 10:27 AM
  3. Using COUNTIF for a named cell range?
    By Hambone70 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-27-2013, 11:38 AM
  4. Replies: 15
    Last Post: 06-27-2011, 08:58 PM
  5. Replies: 2
    Last Post: 05-23-2006, 03:25 PM

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