PC Review


Reply
Thread Tools Rate Thread

Avg Times in MOD fx using selected rows

 
 
vldavis809
Guest
Posts: n/a
 
      7th Jul 2006

I have a question in regards to averaging times. I am using the "MOD"
fx due to having times that will go past 12mid (utilizing military
times). I am finding the difference between the two times in two
separate columns and returning a value in minutes in a third column.
This seems to be working correctly.

Now, with that, I would like to only choose certain rows with those
times that are represented by a constant factor and then average the
times from the above difference.

I have used a "SUMIF" fx and added to that a "+AVERAGE" fx but the
value is not the correct average.

Is there another way? Or am I doing it completely wrong?

PLEASE HELP!!!


--
vldavis809
------------------------------------------------------------------------
vldavis809's Profile: http://www.excelforum.com/member.php...o&userid=36146
View this thread: http://www.excelforum.com/showthread...hreadid=559200

 
Reply With Quote
 
 
 
 
Dav
Guest
Posts: n/a
 
      7th Jul 2006

If your sumif works correctly to return a total, use the same criteri
on a countif. then for the average =sumif function/countif function

Regards

Da

--
Da
-----------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...fo&userid=2710
View this thread: http://www.excelforum.com/showthread.php?threadid=55920

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      7th Jul 2006
Try

=AVERAGE(IF(rng_to_test=criteria,rng_to_average))

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)

"vldavis809" <(E-Mail Removed)> wrote
in message news:(E-Mail Removed)...
>
> I have a question in regards to averaging times. I am using the "MOD"
> fx due to having times that will go past 12mid (utilizing military
> times). I am finding the difference between the two times in two
> separate columns and returning a value in minutes in a third column.
> This seems to be working correctly.
>
> Now, with that, I would like to only choose certain rows with those
> times that are represented by a constant factor and then average the
> times from the above difference.
>
> I have used a "SUMIF" fx and added to that a "+AVERAGE" fx but the
> value is not the correct average.
>
> Is there another way? Or am I doing it completely wrong?
>
> PLEASE HELP!!!
>
>
> --
> vldavis809
> ------------------------------------------------------------------------
> vldavis809's Profile:

http://www.excelforum.com/member.php...o&userid=36146
> View this thread: http://www.excelforum.com/showthread...hreadid=559200
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Color alternate rows when after hiding selected rows Monk Microsoft Excel Worksheet Functions 5 5th Jun 2008 03:07 PM
Macro to take selected cells times a selected cell Craig Microsoft Excel Programming 4 24th Oct 2005 12:54 AM
How can I check a checkbox selected more than one times in DataGrid ???? Alex Smith Microsoft ADO .NET 2 10th Jun 2005 08:32 AM
Rows 12 thru 24 are selected in a datagrid. How do I tell when the user selects rows 45 thru 70 ??? BBFrost Microsoft C# .NET 6 26th Oct 2004 04:37 AM
Get the same selected date from the calendar two consecutive times =?Utf-8?B?bWc=?= Microsoft ASP .NET 2 2nd Jun 2004 11:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:37 AM.