Formatting question with Round

D

DaveOfArkansas

I have a Proposal, in the proposal there is a sheet that gathers the the
facility upgrade cost, production man hours, by building and other info.

One thing I need for this sheet to do is take the Production hrs per
building and calculate installation days per building. Here is the formula I
am using:

=IF(E5<6,1,ROUND(E5/($F$3*8)*1.3,0))

In this case:

E5 is (7.9) Production Hrs By Building and is gathered from the Costing Tab
or Sheet in the Proposal

F3 is estimated crew size of (3) and is gathered from the Costing Tab or
Sheet in the Proposal

Currently I am getting irratic calculations shown below. I would like for it
to show a part of a day if it is 7.9 hours to do the job and there are 3 men
working 8 hours a day it should show something like 0.34 intallation time day
with a Safety Factor.

Production Hrs By Bldg Installation Time (Days) with Safety Factor
E5 7.9 0.0
E6 0.8 1.0
E7 3.2 1.0
E8 6.4 0.0
E9 3.3 1.0
E10 19.5 1.0
 
D

Duke Carey

Dave - Your last argument in the Round function is telling it to round it to
0 decimal places. =IF(E5<6,1,ROUND(E5/($F$3*8)*1.3,2)) might be more to your
liking
 
D

DaveOfArkansas

Thank you that helps.

Could you help me with one other thing in the formula.

If you will notice that E5 gives an installation days of (0.0) and E6 gives
an installation days of (1.0).

7.9 is > than 0.8 why doesn't it show it as it should be?

By the way with your new formula E5 now shows installation days of (0.43)
which is correct. But it still shows (1.00) for E6.

Production Hrs By Bldg Installation Time (Days) with
Safety Factor
E5 7.9 0.0
E6 0.8 1.0
E7 3.2 1.0
E8 6.4 0.0
E9 3.3 1.0
E10 19.5 1.0
 
D

Duke Carey

OK, look at your formula. The first test in the IF() is whether the value in
column E is less than 6 and, if so, return a 1, OTHERWISE do the ROUND()
portion of the calculation. Since .8 is far less than 6, the first test
passes and the formula gives you the 1.

I sense the first test in the IF() is either unneeded, or does not embody
the proper logic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top