+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    03-11-2010
    Location
    pulaski, ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Calculate Lines per Hour

    I looked around the internet to solve my formula problem but I get results on the basic formula that does not work for me. I am using Excel 2007.

    I have a column that holds # of minutes (B2) and another column that holds # of lines (C2). I want to know how many lines per minutes.

    The simple formula of =(C2*60)/B2 does not work because of the way I gather my data in column B and C.

    Column B has this formula =SUMIF(Hours!A:A,$A2,Hours!D:D)
    Column C has this formula =SUMIF(Data!C:C,$A2,Data!D:D)

    So, I am unfortunately not getting my data directly from one cell such as the basic formula requires. I am computing it to only sum if the date is equal to the one in column A. Because my data involves minutes/formatting the result of 77 lines in 180 minutes is 36960.00 instead of 25.67 lines per hour.

    I tried various formatting and can never get it to show 25.67. What am I missing?

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Calculate Lines per Hour

    Hi AlpacaMama, welcome to the forum.

    This will be easier to understand and solve if you can post a data sample. You can upload a file by clicking "Go Advanced" below the Quick Reply box and then the paper clip icon.
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  3. #3
    Registered User
    Join Date
    03-11-2010
    Location
    pulaski, ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculate Lines per Hour

    Here is my file attached. Having issues with cell D2 on the Prod-Hour sheet.
    Attached Files Attached Files

  4. #4
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Calculate Lines per Hour

    You can change your formula in column B to

    =SUMIF(Hours!A:A,$A2,Hours!D:D)*60*24

    and format the result as General. This will then truly be the number of minutes as a value.

    Or you can use this in column D

    =(C2*60)/(B2*60*24)
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  5. #5
    Registered User
    Join Date
    03-11-2010
    Location
    pulaski, ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculate Lines per Hour

    That worked out perfect. I had tried *60 and *24, but I hadn't tried *60*24. I figured it would be sometime simple. Thank you so much.

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