Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Three way array function


Are these possible?
I've got the following formula to work out how many instances there are
of "Apples" and "COM" occuring at the same time

{=COUNT(IF((leasetracker!$E$2:$E$2000="Apples")*(l easetracker!$H$2:$H$2000="COM"),leasetracker!$A$2: $A$20000))}

I want to work out how many times they occur between two dates. (They
would be in column Z

Many Thanks


--
M3Cobb
------------------------------------------------------------------------
M3Cobb's Profile: http://www.excelforum.com/member.php...o&userid=24986
View this thread: http://www.excelforum.com/showthread...hreadid=545890

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Three way array function

Sounds like SumProduct to me (a lot of postings on this

=sumproduct(--(leasetracker!$E$2:$E$2000="Apples"),--(leasetracker!$H$2:$H$2000="COM"),--(DateRange=firstdate),--(daterange<=seconddate))

will do it for you - obviously replace the daterange, firstdate and
seconddate with the relevent information - and it's no longer an array
function!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Three way array function

for the count over all the data:

=Sumproduct(--(leasetracker!$E$2:$E$2000="Apples"),--(leasetracker!$H$2:$H$2000="COM"))

If you want to consider dates


=Sumproduct(--(leasetracker!$E$2:$E$2000="Apples"),--(leasetracker!$H$2:$H$2000="COM"),--(leasetracker!$A$2:$A$2000=DateValue("01/01/2006")),--(leasetracker!$A$2:$A$2000<=DateValue("01/31/2006")))

Sumproduct does not have to be array entered.

--
Regards,
Tom Ogilvy



"M3Cobb" wrote:


Are these possible?
I've got the following formula to work out how many instances there are
of "Apples" and "COM" occuring at the same time

{=COUNT(IF((leasetracker!$E$2:$E$2000="Apples")*(l easetracker!$H$2:$H$2000="COM"),leasetracker!$A$2: $A$20000))}

I want to work out how many times they occur between two dates. (They
would be in column Z

Many Thanks


--
M3Cobb
------------------------------------------------------------------------
M3Cobb's Profile: http://www.excelforum.com/member.php...o&userid=24986
View this thread: http://www.excelforum.com/showthread...hreadid=545890


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
Function for different array John Excel Worksheet Functions 6 November 17th 09 06:24 PM
OR function in array-entered IF function veggies27 Excel Worksheet Functions 8 March 11th 08 06:32 PM
AND in an array function? Vince Excel Worksheet Functions 2 April 17th 06 05:46 PM
Array Function N Harkawat Excel Worksheet Functions 9 July 18th 05 11:14 PM
array function cutsygurl Excel Discussion (Misc queries) 1 July 1st 05 04:49 PM


All times are GMT +1. The time now is 08:23 AM.

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"