Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JW JW is offline
external usenet poster
 
Posts: 22
Default how to count entries in one column based on critieria in another c

The data looks like:
State Hours
------ --------
Closed 0.00
Resolved 0.1
cancelled 0.00
Resolved 0.00
etc etc

I want to count the number of entries where state = resolved and hours
0.00.

--
Thanks,
JW
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default how to count entries in one column based on critieria in anotherc

=SUMPRODUCT((A1:A10="Resolved")*(B1:B100))

or

=SUM(IF(A1:A10="Resolved")*(B1:B100),1)
(CTRL+SHIFT+ENTER this formula as it is an array-formula)

adjust ranges to suit

pls click YES if this helped


On 27 Maj, 07:48, jw wrote:
The data looks like:
State * * * Hours
------ * * * --------
Closed * * 0.00
Resolved *0.1
cancelled *0.00
Resolved *0.00
etc * * * * * etc

I want to count the number of entries *where state = resolved and hours
0.00. *

--
Thanks,
JW


  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how to count entries in one column based on critieria in another c

=SUMPRODUCT((A3:A6="Resolved")*(B3:B60))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"jw" wrote:
The data looks like:
State Hours
------ --------
Closed 0.00
Resolved 0.1
cancelled 0.00
Resolved 0.00
etc etc

I want to count the number of entries where state = resolved and hours
0.00.

--
Thanks,
JW

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 entries based on criteria in a different column ccKennedy Excel Worksheet Functions 2 January 9th 09 11:26 PM
count entries based on criteria in a different column ccKennedy Excel Worksheet Functions 2 January 9th 09 07:50 PM
Deleting Rows based on Column Critieria blackmanofsteel40 Excel Discussion (Misc queries) 1 September 7th 07 09:05 PM
Count entries in one column based on values in another column Kurt Excel Worksheet Functions 7 January 10th 07 09:29 PM
I Need to Count Number of Entries Based on Two Criteria Jones Excel Worksheet Functions 3 July 14th 05 10:34 PM


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