Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Countif with two criteria

Can someone help me put together a formula that can count with 2 criteria

Example I have calls to Citys and length of the call
I need a formula to coung
Greater than 20 minutes, another greater than 30 and greather than 60 minutes..

New York 0:25:00
Dallas 0:16:00
Cleveland 0:12:00
New York 0:06:00
New York 0:21:00

The answer for NY On this would be 2 calls greater than 00:20:00

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default Countif with two criteria

hi,

=SUMPRODUCT(--(A1:A5="New York")*(C1:C5(20/3600)))

=SUMPRODUCT(--(A1:A5="New York")*(C1:C5(30/3600)))

=SUMPRODUCT(--(A1:A5="New York")*(C1:C5(30/3600)))

--
isabelle


Le 2012-11-05 17:27, a écrit :
Can someone help me put together a formula that can count with 2 criteria

Example I have calls to Citys and length of the call
I need a formula to coung
Greater than 20 minutes, another greater than 30 and greather than 60 minutes..

New York 0:25:00
Dallas 0:16:00
Cleveland 0:12:00
New York 0:06:00
New York 0:21:00

The answer for NY On this would be 2 calls greater than 00:20:00

Thank you


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Countif with two criteria

On Monday, November 5, 2012 11:53:36 PM UTC-6, isabelle wrote:
hi, =SUMPRODUCT(--(A1:A5="New York")*(C1:C5(20/3600))) =SUMPRODUCT(--(A1:A5="New York")*(C1:C5(30/3600))) =SUMPRODUCT(--(A1:A5="New York")*(C1:C5(30/3600))) -- isabelle Le 2012-11-05 17:27, a �crit : Can someone help me put together a formula that can count with 2 criteria Example I have calls to Citys and length of the call I need a formula to coung Greater than 20 minutes, another greater than 30 and greather than 60 minutes.. New York 0:25:00 Dallas 0:16:00 Cleveland 0:12:00 New York 0:06:00 New York 0:21:00 The answer for NY On this would be 2 calls greater than 00:20:00 Thank you


Thank you Isabelle, that works :)
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
Several Countif criteria Martin Excel Worksheet Functions 2 May 12th 06 09:44 AM
Using COUNTIF with two different criteria Lucas Soler Excel Programming 7 June 1st 05 04:33 PM
Countif W/ 2 Criteria carl Excel Worksheet Functions 2 May 3rd 05 10:33 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 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"