+ Reply to Thread
Results 1 to 3 of 3

Dealing with single and multiple responses

  1. #1
    Registered User
    Join Date
    12-09-2010
    Location
    Ballarat, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Dealing with single and multiple responses

    Hi,

    I am trying to find a way to count how many number 1's there are in a column that may contain both single or multiple responses. That is, the 1 could be listed next to other numbers and just separated by a comma.

    Meaning that the 1 could be listed next to another number or numbers. The 1 could be in any number of formats:

    1,
    1, 2,
    1, 3,
    1, 4,
    1, 5,
    1, 2, 3,
    1, 2, 4,
    1, 2, 5,
    1, 3, 4,
    1, 2, 3, 4,
    1, 2, 3, 4, 5, and so on!

    To add to my confusion, I need to do this for 19 different questions - so essentially I need a formula that says:

    If column A (which is the question number) is 1, and column B contains a 1, or a 1,2, or a 1, 2, 3, etc. then add a 1 to the total in column whatever ...

    I have been trying to figure this out for an hour or so already and am not having much success (I am an infrequent excel user, last time I did anything like this was a year ago).

    Any assistance would be greatly appreciated.

    I have attached some sample data
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Dealing with single and multiple responses

    You can use the find formula
    =IFERROR(IF(FIND($J$1,B2)>0,1),"")

    attached
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-09-2010
    Location
    Ballarat, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Dealing with single and multiple responses

    Thank you very much!

+ 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