excel formula - its urgent

Excel 1008 views 5 replies

Hi friends,

I need help on a formula in which i want to count the text in a column if a particular criteria is fulfilled in another column. For example,   the data is as given below:

Name                    yes/no

nitin                       yes

sanjeev                no

sanjeev                yes

nitin                       yes

nitin                       no

now i want a formula in which the result should be total number of yes from yes/no column if there is nitin in name column i.e., nitin = 2, sanjeev = 1.

Please suggest the formula.

Thanks in advance.

Replies (5)

u can use pivot table......

with Names as row labels

Yes/No as column labels

&Yes/No(count) as values

Thank you.

=COUNTIFS() can be used if you are using MS Excel 2007 onwards

www.excelnext.in

You can use Countif  as per atteched sheet

 

Anand

9891086214

Hi,

You can use 'COUNTIFS' FUNCTION where you can add multiple condition.

This function is available in 2007 version of excel.

 

Nitin

Yes

Sanjeev

Yes

Sanjeev

No

Nitin

Yes

Nitin

No

2

=COUNTIFS(A1:A5,"Nitin",B1:B5,"yes")


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register