#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Liz23
 
Posts: n/a
Default Count function

I currently have an array function to sum revenues from a list of customers.
Is it possible to count the number of customer associated with these revenues?

The formula I am using is:

{=SUM(XXX!$BX$5:$CC$13390*(XXX!$CC$5:$CC$13390=0)* (XXX!$CB$5:$CB$13390=0)*(XXX!$CA$5:$CA$13390=0)*(X XX!$BZ$5:$BZ$13390=0)*(XXX!$BY$5:$BY$13390=0)*(XXX !$BX$5:$BX$13390<0))}

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Ogilvy
 
Posts: n/a
Default Count function

You can count the number of rows that meet the condition my modifying your
formula:

{=SUM((XXX!$CC$5:$CC$13390=0)*(XXX!$CB$5:$CB$13390 =0)*(XXX!$CA$5:$CA$13390=0)*(XXX!$BZ$5:$BZ$13390=0 )*(XXX!$BY$5:$BY$13390=0)*(XXX!$BX$5:$BX$13390<0) )}

or

=SUMProduct(--(XXX!$CC$5:$CC$13390=0),--(XXX!$CB$5:$CB$13390=0),--(XXX!$CA$5:$CA$13390=0),--(XXX!$BZ$5:$BZ$13390=0),--(XXX!$BY$5:$BY$13390=0),--(XXX!$BX$5:$BX$13390<0))

which doesn't require array entry.


If a row is a unique customer, then this should work. If not, it may be
more complex.
--
Regards,
Tom Ogilvy


"Liz23" wrote:

I currently have an array function to sum revenues from a list of customers.
Is it possible to count the number of customer associated with these revenues?

The formula I am using is:

{=SUM(XXX!$BX$5:$CC$13390*(XXX!$CC$5:$CC$13390=0)* (XXX!$CB$5:$CB$13390=0)*(XXX!$CA$5:$CA$13390=0)*(X XX!$BZ$5:$BZ$13390=0)*(XXX!$BY$5:$BY$13390=0)*(XXX !$BX$5:$BX$13390<0))}

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Count function

One way (array-entered):

=SUM((XXX!$CC$5:$CC$13390=0)*(XXX!$CB$5:$CB$13390= 0)*(XXX!$CA$5:$CA$13390
=0)*(XXX!$BZ$5:$BZ$13390=0)*(XXX!$BY$5:$BY$13390=0 )*
(XXX!$BX$5:$BX$13390<0))


In article ,
Liz23 wrote:

I currently have an array function to sum revenues from a list of customers.
Is it possible to count the number of customer associated with these
revenues?

The formula I am using is:

{=SUM(XXX!$BX$5:$CC$13390*(XXX!$CC$5:$CC$13390=0)* (XXX!$CB$5:$CB$13390=0)*(XXX
!$CA$5:$CA$13390=0)*(XXX!$BZ$5:$BZ$13390=0)*(XXX!$ BY$5:$BY$13390=0)*(XXX!$BX$5
:$BX$13390<0))}

Thanks!

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 function not working, keeps displaying 0 dnm Excel Worksheet Functions 5 April 3rd 23 07:32 PM
Function to count unique values? Richard Buttrey Excel Worksheet Functions 5 September 22nd 05 02:58 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Count If Function Michele Excel Worksheet Functions 3 April 25th 05 02:31 PM
count if function with if statements Natalia Excel Worksheet Functions 3 April 22nd 05 02:52 AM


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