Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Modifying an Array Formula

I use the following array formula. I wanted to adapt it to count (vs sum). Is
it possible ??

=SUM(IF((Sheet2!$A$2:$A$20000=Sheet1!$E3)*(Sheet2! $J$2:$J$20000=Sheet1!$D$3);Sheet2!$I$2:$I$20000))

Thank you in advance.

  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Carl,

=SUM((Sheet2!$A$2:$A$20000=Sheet1!$E3)*(Sheet2!$J$ 2:$J$20000=Sheet1!$D$3))

HTH,
Bernie
MS Excel MVP


"carl" wrote in message
...
I use the following array formula. I wanted to adapt it to count (vs sum).

Is
it possible ??


=SUM(IF((Sheet2!$A$2:$A$20000=Sheet1!$E3)*(Sheet2! $J$2:$J$20000=Sheet1!$D$3)
;Sheet2!$I$2:$I$20000))

Thank you in advance.



  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

try this simpler approach which is not array entered
=SUMPRODUCT((F1:F4=E1)*(G1:G4=E2))
or just delete the last parameter
=SUM(IF((Sheet2!$A$2:$A$20000=Sheet1!$E3)*(Sheet2! $J$2:$J$20000=Sheet1!$D$3)
)
--
Don Guillett
SalesAid Software

"carl" wrote in message
...
I use the following array formula. I wanted to adapt it to count (vs sum).

Is
it possible ??


=SUM(IF((Sheet2!$A$2:$A$20000=Sheet1!$E3)*(Sheet2! $J$2:$J$20000=Sheet1!$D$3)
;Sheet2!$I$2:$I$20000))

Thank you in advance.



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
Array Formula frankybenali Excel Worksheet Functions 1 February 16th 05 06:37 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with array formula Excel Worksheet Functions 2 January 20th 05 04:17 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM
What instead of an array formula part 2 Reg Besseling Excel Discussion (Misc queries) 2 December 10th 04 07:35 AM


All times are GMT +1. The time now is 11:07 PM.

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"