Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formula Question involving two columns and returning a count

I need help with a formula for a project I am working on... A sample of what
I need is below.

Accept Decline Sponsor
Alicia x Cathryn
Brandy x Cathryn
Katie x Elizabeth
Jason x Cathryn
Kelly x Elizabeth

So, I want a function that basically says, If D2:D5 = Cathryn AND B2:B5 = X,
return the number of of Xs. Or in other words, how many people did Cathryn
sponsor that actually accepted?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formula Question involving two columns and returning a count

Maybe

=SUMPRODUCT((D2:D6="Cathryn")*(B2:B6="x"))

Mike

"bswood7" wrote:

I need help with a formula for a project I am working on... A sample of what
I need is below.

Accept Decline Sponsor
Alicia x Cathryn
Brandy x Cathryn
Katie x Elizabeth
Jason x Cathryn
Kelly x Elizabeth

So, I want a function that basically says, If D2:D5 = Cathryn AND B2:B5 = X,
return the number of of Xs. Or in other words, how many people did Cathryn
sponsor that actually accepted?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formula Question involving two columns and returning a count

Thanks, problem solved!

"Mike H" wrote:

Maybe

=SUMPRODUCT((D2:D6="Cathryn")*(B2:B6="x"))

Mike

"bswood7" wrote:

I need help with a formula for a project I am working on... A sample of what
I need is below.

Accept Decline Sponsor
Alicia x Cathryn
Brandy x Cathryn
Katie x Elizabeth
Jason x Cathryn
Kelly x Elizabeth

So, I want a function that basically says, If D2:D5 = Cathryn AND B2:B5 = X,
return the number of of Xs. Or in other words, how many people did Cathryn
sponsor that actually accepted?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula Question involving two columns and returning a count

you could also use the "counif" function...you use it to count a column for a
specific number, letter or word, etc.

ex.: =COUNTIF(C2:C178,"x")

"bswood7" wrote:

I need help with a formula for a project I am working on... A sample of what
I need is below.

Accept Decline Sponsor
Alicia x Cathryn
Brandy x Cathryn
Katie x Elizabeth
Jason x Cathryn
Kelly x Elizabeth

So, I want a function that basically says, If D2:D5 = Cathryn AND B2:B5 = X,
return the number of of Xs. Or in other words, how many people did Cathryn
sponsor that actually accepted?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Formula Question involving two columns and returning a count

That would count all x values in column C (Decline column), and would
not take account of the Sponsor name.

Pete

On Mar 25, 12:53*pm, Can''''''''t get it
wrote:
you could also use the "counif" function...you use it to count a column for a
specific number, letter or word, etc.

ex.: =COUNTIF(C2:C178,"x")



"bswood7" wrote:
I need help with a formula for a project I am working on... *A sample of what
I need is below.


* * * * * * * * * * * Accept * * * * *Decline * * * *Sponsor
Alicia * * * * * * * * *x * * * * * * * * * * * * * * * * Cathryn
Brandy * * * * * * * * * * * * * * * * * x * * * * * * *Cathryn
Katie * * * * * * * * * * * * * * * * * * *x * * * * * * *Elizabeth
Jason * * * * * * * * x * * * * * * * * * * * * * * * * *Cathryn
Kelly * * * * * * * * * x * * * * * * * * * * * * * * * * *Elizabeth


So, I want a function that basically says, If D2:D5 = Cathryn AND B2:B5 = X,
return the number of of Xs. *Or in other words, how many people did Cathryn
sponsor that actually accepted?- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question Involving COUNTIF and Possibly DCOUNTA Peo Sjoblom Excel Worksheet Functions 0 July 31st 07 06:28 PM
A question involving attaching formulas Dries New Users to Excel 2 March 14th 06 02:20 PM
A question involving attaching formulas Dries New Users to Excel 5 March 10th 06 05:49 PM
A question involving attaching formulas Dries New Users to Excel 1 March 10th 06 03:45 PM
Help with a formula involving 3 columns GoodOldGold Excel Worksheet Functions 11 March 6th 05 09:35 PM


All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"