+ Reply to Thread
Results 1 to 2 of 2

Countif or Scenario?

  1. #1
    Registered User
    Join Date
    06-20-2010
    Location
    Chicago
    MS-Off Ver
    Office 2008, Mac
    Posts
    1

    Countif or Scenario?

    I am analyzing a survey and want to segment data:

    For those that had a certain opinion about (fake names) Microsoft (yes, no, maybe), what was their opinion about Apple, Dell, HP (yes, no, maybe)?

    My data is organized so that individual responses are in rows containing text (yes, no, maybe) and companies are in columns.

    I'd like to see this output in a table that is dynamic. Any ideas?

    Right now, I dynamically count Yes/No/Maybe for each company. Company names are in A13:A22 and Yes, No, Maybe are B12:BD12. In each cell is this formula: =COUNTIF(INDIRECT($A13),B$12). That amounts to: =COUNTIF(CompanyName,Opinion). I wanted to use "AND" in the condition/Opinion argument to find folks who thought X about Microsoft and see what they thought about Apple, etc. That doesn't work.

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

    Re: Countif or Scenario?

    Not sure why you are using INDIRECT($A13) what exactly is that for here?

    Also, Excel 2007, 2008 have COUNTIFS function for multiple conditions.. check that function out.
    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