Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Array Formula With Multiple Conditions


The following formula counts the number of non blank cels in row e,
and totals the number of cels that are non blank on the summary page:
{=sumif((dress! a:a = a1)*(dress!e:e <=),1))}

I also want to NOT add any cell that has a duplicate reference number
in column c.


dress sheet:

a b c d e
dept color style name units
331 blk 1 12
331 blk 2 12
331 blk 2 12
332 blk 4 12
332 blk 5 12
332 blk 6 12
332 blk 6 12
332 blk 7 12


On the summary sheet for dept 331, the answer should be 2
Because there are 2 unique styles - style 1 and style 2 in dept 331.

I assume I have to add to my existing formula


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513399

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Array Formula With Multiple Conditions


JR573PUTT wrote:
The following formula counts the number of non blank cels in row e,
and totals the number of cels that are non blank on the summary page:
{=sumif((dress! a:a = a1)*(dress!e:e <=),1))}


I doubt that formula would work at all.


I also want to NOT add any cell that has a duplicate reference number
in column c.


dress sheet:

a b c d e
dept color style name units
331 blk 1 12
331 blk 2 12
331 blk 2 12
332 blk 4 12
332 blk 5 12
332 blk 6 12
332 blk 6 12
332 blk 7 12


On the summary sheet for dept 331, the answer should be 2
Because there are 2 unique styles - style 1 and style 2 in dept 331.

I assume I have to add to my existing formula


If you download and install the morefunc.xll add-in:

=COUNTDIFF(IF(A2:A9=331,C2:C9,0),FALSE,0)

which you need to confirm with control+shift+enter.

  #3   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Array Formula With Multiple Conditions


But this forula does not reference the column of units(column d), thus
it will not give me an answer of 2 because it does not look at this
column, it only looks at the column I reference(dept) and column I do
not want to duplicate.........


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513399

  #4   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Array Formula With Multiple Conditions


My current array forula does work:
=SUM(IF((DRESS!$A$2:$A$1000=A16)*(DRESS!$E$2:$E$10 00<""),1))


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513399

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 with 2 conditions... JR573PUTT Excel Discussion (Misc queries) 0 February 16th 06 08:44 PM
Array formula with 2 conditions... JR573PUTT Excel Discussion (Misc queries) 0 February 16th 06 08:44 PM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
How do I set up a formula with multiple conditions? Fred Borden Excel Discussion (Misc queries) 3 June 9th 05 08:58 PM
Count If Formula for multiple conditions?? How To?? LPrain Excel Worksheet Functions 1 December 6th 04 09:18 PM


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