Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kevink79
 
Posts: n/a
Default count with 2 conditions for many rows ?


Hello i got this problem in Excel. Can you please to give me the
function or any tip to do that ? The attach filed consists of a table
and question.

Thanks so much


+-------------------------------------------------------------------+
|Filename: Question.doc |
|Download: http://www.excelforum.com/attachment.php?postid=3918 |
+-------------------------------------------------------------------+

--
kevink79
------------------------------------------------------------------------
kevink79's Profile: http://www.excelforum.com/member.php...o&userid=28200
View this thread: http://www.excelforum.com/showthread...hreadid=477425

  #2   Report Post  
Paul Sheppard
 
Posts: n/a
Default count with 2 conditions for many rows ?


kevink79 Wrote:
Hello i got this problem in Excel. Can you please to give me the
function or any tip to do that ? The attach filed consists of a table
and question.

Thanks so much


Hi kevink79

Try this formula =SUM((C1:C8="Defect Fixing")*(D1:D8="New")),
enterred as an array by typing the formula into an empty cell and then
using CTRL/SHIFT/ENTER to enter the formula, it will then show in the
formula bar like this {=SUM((C1:C8="Defect Fixing")*(D1:D8="New"))}

Change the cell ranges C1:C8 and D1:D8 to suit your data


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=477425

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default count with 2 conditions for many rows ?

Didn't see or open any attachments, but basic principle

=SUMPRODUCT(--(A2:A200="value1"),--(B2:B200=value2))

one text test, one numeric test

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"kevink79" wrote in
message ...

Hello i got this problem in Excel. Can you please to give me the
function or any tip to do that ? The attach filed consists of a table
and question.

Thanks so much


+-------------------------------------------------------------------+
|Filename: Question.doc |
|Download: http://www.excelforum.com/attachment.php?postid=3918 |
+-------------------------------------------------------------------+

--
kevink79
------------------------------------------------------------------------
kevink79's Profile:

http://www.excelforum.com/member.php...o&userid=28200
View this thread: http://www.excelforum.com/showthread...hreadid=477425



  #4   Report Post  
kevink79
 
Posts: n/a
Default count with 2 conditions for many rows ?


Hello Paul, i've alreay got the the expected output. Thanks too much

While your formula is simple but effective but i tried many complex
functions with Count, If, And but ineffective at all.

Thanks again


--
kevink79
------------------------------------------------------------------------
kevink79's Profile: http://www.excelforum.com/member.php...o&userid=28200
View this thread: http://www.excelforum.com/showthread...hreadid=477425

  #5   Report Post  
kevink79
 
Posts: n/a
Default count with 2 conditions for many rows ?


I've tried to name the column and use this name as range for later
extension but could not


--
kevink79
------------------------------------------------------------------------
kevink79's Profile: http://www.excelforum.com/member.php...o&userid=28200
View this thread: http://www.excelforum.com/showthread...hreadid=477425

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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
returning a count if two conditions are met davmason Excel Worksheet Functions 5 July 17th 05 04:25 AM
Function to Count Number of Consecutive Rows with a Specific Criteria? Templee1 Excel Worksheet Functions 2 July 10th 05 10:22 PM
count unique with conditions \ditzman via OfficeKB.com\ Excel Worksheet Functions 8 July 8th 05 12:41 PM
Insert rows Mr. G. Excel Worksheet Functions 3 March 31st 05 03:49 AM


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