AAAARrrrrrrrrrrrrrrrrgggggggggggggghhhhhhhhhhhh Formulas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a worksheet of information I am trying to analyse using formulas. I am
able to count the number of specific occurances of a word eg British but I
cannot link this count formula to condition the result from another column to
give a count of British females!

It is driving me mad as I have now gone through every help file and tried
everything!

The data is in columns, column A = gender, Column B = nationality, rows 2
-270.

all help gratfully appreciated
 
Hi,

One option is, in another column enter the following formula:

=IF(AND(A1="Female",B1="British"),True,False)

Then (and let's say we put the above formula in C:

=COUNTIF(C1:270, True)

That should do it.

SamuelT
 
=SUMPRODUCT(--(A2:A270="British"),--(B2:B270="female"))

Vaya on Dios,

Chuck, CABGx3
 
Thanks Samuel,

Only slight problem with your suggestion is that we have 270 rows of data,
either male or female which is fine but there are then 43 different
nationalities so would not really solve the problem and we would end up with
pages of true/false columns!

thanks though!
 
Sarah,

The simple answer is: Don't use formulas.

Use a Pivot table - look in help for more.

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top