Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional average of time

Hi everyone,

I have a big problem and need descreptly your help on that.

I have an excel 2000 sheet in which i need to calculate average of time
taken to solve the problem. Sheet details are given below

time is in [h]:mm format and conditions are there i.e. if data in column A
meets creteria then only it will add the respective time viz..

A B
123 36:56
123 12:13
235 00:15
528 28:16

now on based on this example i want to take average of time value from
column B where data in column A is 123. which should come (36:56+12:13)/2.

Please help
--
"Rome was not built in one day"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Conditional average of time

=SUMPRODUCT(--(A1:A4=123),B1:B4)/COUNTIF(A1:A4,123)

Format as [h]:mm



"Lovik" wrote:

Hi everyone,

I have a big problem and need descreptly your help on that.

I have an excel 2000 sheet in which i need to calculate average of time
taken to solve the problem. Sheet details are given below

time is in [h]:mm format and conditions are there i.e. if data in column A
meets creteria then only it will add the respective time viz..

A B
123 36:56
123 12:13
235 00:15
528 28:16

now on based on this example i want to take average of time value from
column B where data in column A is 123. which should come (36:56+12:13)/2.

Please help
--
"Rome was not built in one day"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Conditional average of time

=AVERAGE(IF(A1:A100=123,B1:B100))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Lovik" wrote in message
...
Hi everyone,

I have a big problem and need descreptly your help on that.

I have an excel 2000 sheet in which i need to calculate average of time
taken to solve the problem. Sheet details are given below

time is in [h]:mm format and conditions are there i.e. if data in column A
meets creteria then only it will add the respective time viz..

A B
123 36:56
123 12:13
235 00:15
528 28:16

now on based on this example i want to take average of time value from
column B where data in column A is 123. which should come (36:56+12:13)/2.

Please help
--
"Rome was not built in one day"



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
Finding the average time Gadgets Excel Worksheet Functions 5 July 31st 06 09:06 PM
Conditional Average Array with Dates, <blanks, 0 tangomj Excel Worksheet Functions 7 July 14th 06 06:26 PM
Conditional Average across worksheets madduck Excel Worksheet Functions 3 July 13th 06 07:03 AM
How do I add a list of times to get an average time? Matt75 Excel Discussion (Misc queries) 1 January 11th 06 03:07 PM
Conditional average function Andres Excel Worksheet Functions 1 August 9th 05 06:31 PM


All times are GMT +1. The time now is 11:24 AM.

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"