Hi,
I have data structured like below, but with thousands of rows, and would like to find percentages of females (from column B) in each group (column A).
Any ideas on how to go about this?
Col A Col B
1 M
1 F
1 F
2 M
2 M
2 M
3 F
4 M
4 M
4 M
thanks!
Last edited by zuwanda; 02-07-2012 at 09:52 PM.
I am not sure if I understand correctly, but how about this?
=COUNTIF(B:B,"m")/COUNTA(B:B)
If you are happy with the answer, please click the Star icon in the below left hand corner.
Good sites to start learning.
snb's VBA Help Files
Jerry Beaucaires Excel Assistant
J & R Excel Consultancy Services
How to post code correctly: Correct Code Posting
Give a try:
Untitled.jpg
Click the star icon in left-corner of my post if you find my post userful!
Quang PT
quangphanidico@yahoo.com
PM me: Y!M: quangphanidico
JapanDave, I don't think I explained myself well, but have it figured out now. Thanks for all the helpful links, and I'll try to be more clear in future posts!
Thanks a lot bebo, that worked. Great to learn about COUNTIFS!
best
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks