+ Reply to Thread
Results 1 to 9 of 9

Using COUNTIF with Multiple Columns & Types of Data

Hybrid View

  1. #1
    Registered User
    Join Date
    12-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Using COUNTIF with Multiple Columns & Types of Data

    I'm using a tally sheet to analyze Likert scale data. There are multiple groups based on what services people came into our office for (see attachment). In all of the columns in which I used numbers to identify a person's group, I'm able to analyze the data (as shown in the second attachment). The formula I used is:
    =COUNTIFS(Workshop,1,Q2a,5)
    where "Workshop" is the name of I5:I26 and Q2a is K5:K26 on the tally sheet.

    The problem occurs when I try to analyze the "Other" group. I want to identify what the customer came in for, so I've entered text instead of numbers. I nested various combinations of IF and ISTEXT formulas, but nothing worked (e.g., =COUNTIFS(Other,ISTEXT(Other),Q2a,5) or =COUNTIFS(Other,COUNTA(Other),Q2a,5) both of which returned the value of 0 when the answer should be 1). I also tried adding another column of 1's with the specific reason to the right so I could use INDEX or MATCH formulas, but I also couldn't get that to work, nor would entering them as arrays work.

    Thanks in advance!
    Kayla


    Capture.jpgCapture1.JPG

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Using COUNTIF with Multiple Columns & Types of Data

    =COUNTIFS(WORKSHOP,"OTHER",Q2A,5)

    Does that do what you need?
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    12-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Using COUNTIF with Multiple Columns & Types of Data

    No, unfortunately it doesn't.

    I'm not looking in the "Workshop" range for this data, but in the "Other" range, and "Other" isn't an actual word I'm searching for. It could be any number of words.

    Thanks though!

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Using COUNTIF with Multiple Columns & Types of Data

    Could you post an example workbook rather than the image files? Makes it far easier to help.

  5. #5
    Registered User
    Join Date
    12-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Using COUNTIF with Multiple Columns & Types of Data

    I attached images of it in the original post. Capture.jpg shows the tally sheet with the raw data. Capture1.jpg shows how I want the data to be analyzed. It's from the sheet in the workbook titled "Workshops" where I used the formula: =COUNTIFS(Workshop,1,Q2a,5)

  6. #6
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Using COUNTIF with Multiple Columns & Types of Data

    =COUNTIFS(Other,"<>",Q2a,5)

    ?

  7. #7
    Registered User
    Join Date
    12-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Using COUNTIF with Multiple Columns & Types of Data

    Thank you! That works!

    What does "<>" search for exactly? Just a cell that is not blank?

  8. #8
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Using COUNTIF with Multiple Columns & Types of Data

    Yup. Non blank cells.

    Keep in mind though that you could have a cell that "LOOKS" blank but actually isn't. i.e. it could have a space character in it that you obviously wouldn't see but Excel would consider that non blank.

  9. #9
    Registered User
    Join Date
    12-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Using COUNTIF with Multiple Columns & Types of Data

    Ah, that makes sense. Thanks again! I'm adept at excel, but this data analysis is really stretching me, and I only realize how little I truly know about it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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