Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Conditional average of time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lovik - 14 Oct 2006 17:58 GMT
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
Signature

"Rome was not built in one day"

Teethless mama - 14 Oct 2006 18:39 GMT
=SUMPRODUCT(--(A1:A4=123),B1:B4)/COUNTIF(A1:A4,123)

Format as [h]:mm

> Hi everyone,
>
[quoted text clipped - 16 lines]
>
> Please help
Bob Phillips - 14 Oct 2006 18:53 GMT
=AVERAGE(IF(A1:A100=123,B1:B100))

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

Signature

HTH

Bob Phillips

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

> Hi everyone,
>
[quoted text clipped - 16 lines]
>
> Please help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.