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?
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 theicon 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.
Here is my file attached. Having issues with cell D2 on the Prod-Hour sheet.
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 theicon 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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks