Hello everyone!
I was told that this site is very helpful and was recommended to me. I have a brief question and hope someone could help me out or point me in the right direction.
I have a large spreadsheet where we have ages of people and whether or not they are a smoker. I need to figur out a way where I can count the number of people that are 18 to 30 and are smokers and the people who are 18 to 30 and are not smokers. Now our list has several thousand people, but I created a smaller sample so you can see what I am trying to do. Here is an image of it:
I tried using the COUNTIF function and it limits myself to one criteria. I have tried use an AND statement within the criteria in the COUNTIF function and that doesn't work either. Could someone suggest something?
Help....
Tammy
I was told that this site is very helpful and was recommended to me. I have a brief question and hope someone could help me out or point me in the right direction.
I have a large spreadsheet where we have ages of people and whether or not they are a smoker. I need to figur out a way where I can count the number of people that are 18 to 30 and are smokers and the people who are 18 to 30 and are not smokers. Now our list has several thousand people, but I created a smaller sample so you can see what I am trying to do. Here is an image of it:
I tried using the COUNTIF function and it limits myself to one criteria. I have tried use an AND statement within the criteria in the COUNTIF function and that doesn't work either. Could someone suggest something?
Help....
Tammy