#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 115
Default COUNT FUNCTION?

If Col A contains a text variable and column B contains a numerical variable
associated with the text variable, what is the simplest formula I can put
into a single cell that will count the number of occurrences of the numerical
variables in Col B associated with the text variable in A?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default COUNT FUNCTION?

A few examples of what you want counted and what you don't want counted
would be helpful. HTH Otto
"Zakynthos" wrote in message
...
If Col A contains a text variable and column B contains a numerical
variable
associated with the text variable, what is the simplest formula I can put
into a single cell that will count the number of occurrences of the
numerical
variables in Col B associated with the text variable in A?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 115
Default COUNT FUNCTION?

Otto,

Say column A contains 3 occurrences of the name 'Otto' and Column B contains
sums of money associated with the name Otto, perhaps B2 has $2000, B4 $10000
and B7 $200000.

What formula could I input say to C7 that would return the answer '3' - i.e.
the number of values in Column B associated with the name 'Otto' in Column A?

Many thanks.

"Otto Moehrbach" wrote:

A few examples of what you want counted and what you don't want counted
would be helpful. HTH Otto
"Zakynthos" wrote in message
...
If Col A contains a text variable and column B contains a numerical
variable
associated with the text variable, what is the simplest formula I can put
into a single cell that will count the number of occurrences of the
numerical
variables in Col B associated with the text variable in A?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default COUNT FUNCTION?

Something like this, in C7:
=SUMPRODUCT((A2:A7="Otto")*ISNUMBER(B2:B7))
Adapt the ranges to suit
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Zakynthos" wrote:
Say column A contains 3 occurrences of the name 'Otto' and Column B contains
sums of money associated with the name Otto, perhaps B2 has $2000, B4 $10000
and B7 $200000.

What formula could I input say to C7 that would return the answer '3' - i.e.
the number of values in Column B associated with the name 'Otto' in Column A?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default COUNT FUNCTION?

=SUMPRODUCT(--(A2:A100="Otto"),--(ISNUMBER(B2:B100)))


--


Regards,


Peo Sjoblom


"Zakynthos" wrote in message
...
Otto,

Say column A contains 3 occurrences of the name 'Otto' and Column B
contains
sums of money associated with the name Otto, perhaps B2 has $2000, B4
$10000
and B7 $200000.

What formula could I input say to C7 that would return the answer '3' -
i.e.
the number of values in Column B associated with the name 'Otto' in Column
A?

Many thanks.

"Otto Moehrbach" wrote:

A few examples of what you want counted and what you don't want counted
would be helpful. HTH Otto
"Zakynthos" wrote in message
...
If Col A contains a text variable and column B contains a numerical
variable
associated with the text variable, what is the simplest formula I can
put
into a single cell that will count the number of occurrences of the
numerical
variables in Col B associated with the text variable in A?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default COUNT FUNCTION?

maybe

=SUMPRODUCT(--(A1:A10="otto"),--(B1:B10<""))


"Zakynthos" wrote in message
...
Otto,

Say column A contains 3 occurrences of the name 'Otto' and Column B
contains
sums of money associated with the name Otto, perhaps B2 has $2000, B4
$10000
and B7 $200000.

What formula could I input say to C7 that would return the answer '3' -
i.e.
the number of values in Column B associated with the name 'Otto' in Column
A?

Many thanks.

"Otto Moehrbach" wrote:

A few examples of what you want counted and what you don't want counted
would be helpful. HTH Otto
"Zakynthos" wrote in message
...
If Col A contains a text variable and column B contains a numerical
variable
associated with the text variable, what is the simplest formula I can
put
into a single cell that will count the number of occurrences of the
numerical
variables in Col B associated with the text variable in A?






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 FUNCTION nperpill Excel Worksheet Functions 2 January 10th 07 04:43 PM
count function help Karen Excel Worksheet Functions 5 April 14th 06 11:00 PM
Count function Liz23 Excel Worksheet Functions 2 March 15th 06 02:21 PM
count function ChrisC Excel Worksheet Functions 5 November 9th 04 01:40 AM
Sum and Count Function Daniell Excel Worksheet Functions 0 November 2nd 04 12:03 AM


All times are GMT +1. The time now is 03:53 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"