Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula for more than one criteria

Hello
I need to make my life a little bit easier and I need your help.
I have this chart:
Procedure Time from Rcvd to Verified
BNP 1:26
BNP 0:44
C7 0:24
CBC 0:29
C7 0:25
C7 0:35

I need to know the percentage of C7 tests that were performed within 30
minutes, the % of BNP performed within one hour, and so on.
I will really appreciate your help.
--
Clari
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula for more than one criteria

Try these:

Assume no empty time cells

D2 = C7

=SUMPRODUCT(--(A2:A7=D2),--(B2:B7<=TIME(0,30,0)))/COUNTIF(A2:A7,D2)

D3 = BNP

=SUMPRODUCT(--(A2:A7=D3),--(B2:B7<=TIME(1,0,0)))/COUNTIF(A2:A7,D3)

Format as Percentage

--
Biff
Microsoft Excel MVP


"Clari" wrote in message
...
Hello
I need to make my life a little bit easier and I need your help.
I have this chart:
Procedure Time from Rcvd to Verified
BNP 1:26
BNP 0:44
C7 0:24
CBC 0:29
C7 0:25
C7 0:35

I need to know the percentage of C7 tests that were performed within 30
minutes, the % of BNP performed within one hour, and so on.
I will really appreciate your help.
--
Clari



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula for more than one criteria

Thanks!! It worked.
--
Clari


"T. Valko" wrote:

Try these:

Assume no empty time cells

D2 = C7

=SUMPRODUCT(--(A2:A7=D2),--(B2:B7<=TIME(0,30,0)))/COUNTIF(A2:A7,D2)

D3 = BNP

=SUMPRODUCT(--(A2:A7=D3),--(B2:B7<=TIME(1,0,0)))/COUNTIF(A2:A7,D3)

Format as Percentage

--
Biff
Microsoft Excel MVP


"Clari" wrote in message
...
Hello
I need to make my life a little bit easier and I need your help.
I have this chart:
Procedure Time from Rcvd to Verified
BNP 1:26
BNP 0:44
C7 0:24
CBC 0:29
C7 0:25
C7 0:35

I need to know the percentage of C7 tests that were performed within 30
minutes, the % of BNP performed within one hour, and so on.
I will really appreciate your help.
--
Clari




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula for more than one criteria

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Clari" wrote in message
...
Thanks!! It worked.
--
Clari


"T. Valko" wrote:

Try these:

Assume no empty time cells

D2 = C7

=SUMPRODUCT(--(A2:A7=D2),--(B2:B7<=TIME(0,30,0)))/COUNTIF(A2:A7,D2)

D3 = BNP

=SUMPRODUCT(--(A2:A7=D3),--(B2:B7<=TIME(1,0,0)))/COUNTIF(A2:A7,D3)

Format as Percentage

--
Biff
Microsoft Excel MVP


"Clari" wrote in message
...
Hello
I need to make my life a little bit easier and I need your help.
I have this chart:
Procedure Time from Rcvd to Verified
BNP 1:26
BNP 0:44
C7 0:24
CBC 0:29
C7 0:25
C7 0:35

I need to know the percentage of C7 tests that were performed within 30
minutes, the % of BNP performed within one hour, and so on.
I will really appreciate your help.
--
Clari






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
if formula with between value as a criteria AHizon via OfficeKB.com Excel Worksheet Functions 6 December 22nd 08 11:12 PM
Sum If Formula with 3 criteria Peanut Excel Worksheet Functions 4 October 12th 07 08:49 PM
2 Criteria Formula Coltsfan Excel Discussion (Misc queries) 6 January 16th 06 08:08 PM
2 criteria for a COUNTIF formula? aaronwexler New Users to Excel 6 September 3rd 05 10:13 AM
CORREL formula with criteria waxwing Excel Worksheet Functions 2 May 25th 05 03:50 AM


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