+ Reply to Thread
Results 1 to 3 of 3

Countif function when range isn't continous

  1. #1
    Registered User
    Join Date
    03-24-2015
    Location
    Stockholm, Sweden
    MS-Off Ver
    2010
    Posts
    9

    Countif function when range isn't continous

    Hi,
    Im trying to get the different index values from a questionnaire, but having som problems with a certain scale.

    Basically im trying to find how many "3" there are in specific items. So i tried the countif function:

    =countif((Q4,R4,AB4,AJ4,BP4,BT4,BW4,CH4,CJ4),3)

    Which doesnt work. Is there some way how to use a noncontinous range for the countif function?

    It works when i use indirect =SUM(Countif(INDIRECT({"X2","Y2","AI2"}),3))
    but then i cant pull it down and use for the other 200+ subjects.

    So there a simple way, or do i just need to put them in seperate
    =countif(Q4,3)+countif(......+countif(CJ4,3)

    Thanks,
    /John
    Attached Files Attached Files
    Last edited by hassjohn; 05-29-2015 at 05:50 AM.

  2. #2
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: Countif function when range isn't continous

    pls attach a sample file with expected results to help u better...

    regards,
    Jaya

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countif function when range isn't continous

    I didn't download your file.

    Maybe something like this:

    =INDEX(FREQUENCY((Q4,R4,AB4,AJ4,BP4,BT4,BW4,CH4,CJ4),{2,3}),2)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. vba print continous with paper continous and epson LQ300?
    By heroic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2013, 03:22 AM
  2. [SOLVED] COUNTIF Function with Dynamic Range
    By rzrbkpk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-02-2013, 04:07 AM
  3. Replies: 2
    Last Post: 05-22-2013, 12:38 PM
  4. Countif Function to look for values within a range
    By feature in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2013, 05:18 PM
  5. [SOLVED] countif with non-continous ranges
    By Debbie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2006, 04:10 PM

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