Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Need to count based on different criteria in two columns

Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E2030 ),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Need to count based on different criteria in two columns

=SUMPRODUCT(--(ISNUMBER(FIND("videorecording",A2:A203))),--(E2:E2030))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Adlin" wrote in message
...
Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col
E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E2030 ),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Need to count based on different criteria in two columns

It worked! Thanks so much!

Adlin

"Bob Phillips" wrote:

=SUMPRODUCT(--(ISNUMBER(FIND("videorecording",A2:A203))),--(E2:E2030))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Adlin" wrote in message
...
Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col
E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E2030 ),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Need to count based on different criteria in two columns

try sumproduct

=SUMPRODUCT((A2:A100="videorecording")*(E2:E1000) )

Mike

"Adlin" wrote:

Hello. I am trying to count the number of Items in Col A that have
[videorecording] and a value of greater than 0 in Col E.

For example:

Col A Col E
Broadway! [videorecording] 1


What I have so far is:
=COUNTA(IF((A2:A203="*videorecording*")*(E2:E2030 ),A2:A203))

I get a return of 1, which I know is wrong. Just doing a quick glance, I
see 5.

Any help is appreciated.

Thanks.

adlin

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
Count text cells based on two criteria aet999 Excel Worksheet Functions 9 May 2nd 09 03:20 AM
Count distinct based on criteria Sune Fibaek Excel Worksheet Functions 6 April 29th 07 01:34 AM
count cells,containing text, based on more than one criteria? Sarfraz Excel Worksheet Functions 1 March 30th 07 11:20 PM
Count Non-Blanks in one column based on criteria in another ScottPcola Excel Worksheet Functions 3 November 3rd 06 10:11 PM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM


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

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

About Us

"It's about Microsoft Excel"