+ Reply to Thread
Results 1 to 3 of 3

Thread: Avg Times in MOD fx using selected rows

  1. #1
    Registered User
    Join Date
    07-07-2006
    Posts
    6

    Avg Times in MOD fx using selected rows

    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!!!

  2. #2
    Forum Guru
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    If your sumif works correctly to return a total, use the same criteria on a countif. then for the average =sumif function/countif function

    Regards

    Dav

  3. #3
    Bob Phillips
    Guest

    Re: Avg Times in MOD fx using selected rows

    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" <vldavis809.2ak8bz_1152250202.9411@excelforum-nospam.com> wrote
    in message news:vldavis809.2ak8bz_1152250202.9411@excelforum-nospam.com...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0