+ Reply to Thread
Results 1 to 6 of 6

need to get average for the elapsed times

Hybrid View

  1. #1
    Registered User
    Join Date
    03-12-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    5

    need to get average for the elapsed times

    can someone look at this please I need to get average for the elapsed times??

    I had to first convert the column to text...Im having such a bad day

    please anyone!
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: need to get average for the elapsed times

    Borko,

    Attached is a modified version of your posted workbook. In cell F2 and copied down, I used this formula (instead of the one you had):
    =IF(D2<E2,"",D2-E2)

    I then formatted those cells as custom "dd hh:mm:ss"
    That made the cells display the desired information and remain numbers instead of text. Then, for the average (i used cell F11), is this formula:
    =AVERAGE(F2:F9)
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-12-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: need to get average for the elapsed times

    So how would I create a new formula for elapsed time fromcreation to first contact??

    Quote Originally Posted by tigeravatar View Post
    Borko,

    Attached is a modified version of your posted workbook. In cell F2 and copied down, I used this formula (instead of the one you had):
    =IF(D2<E2,"",D2-E2)

    I then formatted those cells as custom "dd hh:mm:ss"
    That made the cells display the desired information and remain numbers instead of text. Then, for the average (i used cell F11), is this formula:
    =AVERAGE(F2:F9)

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: need to get average for the elapsed times

    A couple of questions. In most cases you don't have anything in column E and your formula is =TEXT(D2-E2, "dd h:mm:ss").
    Secondly, why did you need to format as text? Couldn't you have formatted the cell custom dd hh:mm:ss?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    03-12-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: need to get average for the elapsed times

    Quote Originally Posted by ChemistB View Post
    A couple of questions. In most cases you don't have anything in column E and your formula is =TEXT(D2-E2, "dd h:mm:ss").
    Secondly, why did you need to format as text? Couldn't you have formatted the cell custom dd hh:mm:ss?
    because that is the only way my formula would would is if I changed it to text

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: need to get average for the elapsed times

    Borko,

    In cell B2 and copied down, format as custom "dd hh:mm:ss" (no quotes):
    =IF(C2<A2,"",C2-A2)

+ 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.6.0 RC 1