Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Count AND arguments

Hi there,

I want to count the number of times two seperate things occure in
diffrent rows.

I want to count the times "v" appears in rows C7:AG7 AND the times
someting is put in rows e7:eG7.

So "something" in range e7:eg7 and "v" in range C7:AG7 should increase
the number that is put in A1.

How can I do this?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,856
Default Count AND arguments

Are you sure your cell and range references are correct? They seem to
overlap and are not the same size.

Pete

On Nov 1, 10:43 pm, Jeff wrote:
Hi there,

I want to count the number of times two seperate things occure in
diffrent rows.

I want to count the times "v" appears in rows C7:AG7 AND the times
someting is put in rows e7:eG7.

So "something" in range e7:eg7 and "v" in range C7:AG7 should increase
the number that is put in A1.

How can I do this?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Count AND arguments

Woops,

Let say C6:AG6 should contain "v"
AND
C12:AG12 should not be empty

And I need to know how many times this appears

Thanks for pointing me out!




On Thu, 01 Nov 2007 15:48:33 -0700, Pete_UK
wrote:

Are you sure your cell and range references are correct? They seem to
overlap and are not the same size.

Pete

On Nov 1, 10:43 pm, Jeff wrote:
Hi there,

I want to count the number of times two seperate things occure in
diffrent rows.

I want to count the times "v" appears in rows C7:AG7 AND the times
someting is put in rows e7:eG7.

So "something" in range e7:eg7 and "v" in range C7:AG7 should increase
the number that is put in A1.

How can I do this?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,268
Default Count AND arguments

=SUMPRODUCT(--(C6:AG6="v"),--(C12:AG12<""))


--


Regards,


Peo Sjoblom


"Jeff" wrote in message
...
Woops,

Let say C6:AG6 should contain "v"
AND
C12:AG12 should not be empty

And I need to know how many times this appears

Thanks for pointing me out!




On Thu, 01 Nov 2007 15:48:33 -0700, Pete_UK
wrote:

Are you sure your cell and range references are correct? They seem to
overlap and are not the same size.

Pete

On Nov 1, 10:43 pm, Jeff wrote:
Hi there,

I want to count the number of times two seperate things occure in
diffrent rows.

I want to count the times "v" appears in rows C7:AG7 AND the times
someting is put in rows e7:eG7.

So "something" in range e7:eg7 and "v" in range C7:AG7 should increase
the number that is put in A1.

How can I do this?

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Count AND arguments

On Thu, 1 Nov 2007 16:11:12 -0700, "Peo Sjoblom"
wrote:

=SUMPRODUCT(--(C6:AG6="v"),--(C12:AG12<""))


Oh great!!
It works...

Can you please explain what the "--" means?

Thank you very much!!!!


  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,856
Default Count AND arguments

Basically, it converts TRUEs and FALSEs to 1s and 0s, so they can be
used arithmetically. Here is a more detailed description:

http://www.mcgimpsey.com/excel/formulae/doubleneg.html

Hope this helps.

Pete

On Nov 1, 11:25 pm, Jeff wrote:
On Thu, 1 Nov 2007 16:11:12 -0700, "Peo Sjoblom"
wrote:

=SUMPRODUCT(--(C6:AG6="v"),--(C12:AG12<""))


Oh great!!
It works...

Can you please explain what the "--" means?

Thank you very much!!!!



  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Count AND arguments

Thanks again, you're a great help!!



On Fri, 02 Nov 2007 00:25:48 +0100, Jeff wrote:

On Thu, 1 Nov 2007 16:11:12 -0700, "Peo Sjoblom"
wrote:

=SUMPRODUCT(--(C6:AG6="v"),--(C12:AG12<""))


Oh great!!
It works...

Can you please explain what the "--" means?

Thank you very much!!!!

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 if two arguments met Not Excelerated[_2_] Excel Discussion (Misc queries) 1 August 9th 07 11:06 PM
count if with multi arguments [email protected] Excel Worksheet Functions 1 December 27th 06 09:50 PM
sumproduct to count two arguments [email protected] Excel Worksheet Functions 7 September 11th 06 03:18 AM
Count occurances of multiple arguments TARS1 Excel Discussion (Misc queries) 6 July 19th 06 05:13 PM
how do I count with multiple arguments Chris G Excel Worksheet Functions 1 February 1st 06 05:45 PM


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

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"