+ Reply to Thread
Results 1 to 5 of 5

trying to calculate blanks rows

  1. #1
    Registered User
    Join Date
    12-11-2008
    Location
    aurora, CO
    Posts
    3

    Talking trying to calculate blanks rows

    Okay,
    i am working on a nationwide prostate cancer database. There are some quetions we ask men that are a 7 part question that consists of 7 rows and can have multiple answers. I am trying to write an excel code that will go through each of these rows (for instance from cf2 to cm2) and tell me which people did not answer any of the questions). Is there a code i can write for this? let me know below is an example of what i'm working with

    column A B C D
    1. 0 0 0 0
    2. 1 0 0 0

    So i'm trying to find out how many people answered the question such as participant #1, who has zeros across the board. participant number 2 answered a question so he wouldnt count. any help would be GREAT!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    If I understand you correctly, in CN2 you can type
    Please Login or Register  to view this content.
    and dragged down. Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-11-2008
    Location
    aurora, CO
    Posts
    3
    do you know how i can write a code that counts the entire columns and just adds how many are missing??

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Sure, let me get it straight what you are trying to do first....

    If there is at least one 1 in a row, then that person counts?
    You want to know how many people answered at least 1 question?
    or do you want to know how many people answered question 1, how many people answered q2, etc?

    FYI, to keep terminology straight, rows go across (1,2,3) and columns are vertical (A,B, C).

  5. #5
    Registered User
    Join Date
    12-11-2008
    Location
    aurora, CO
    Posts
    3
    yes, in each of the rows, 1 counts as yes, 0 as no answer. if someone answered at least one question, the value would be greater than one, if not, it would be considered "no answer" or missing...

+ 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