You need to sign in to do that
Don't have an account?

calculating cost per hours - one little bug!
Hi there,
I have this formula
(Rate__c * Number_of_Hours__c) + (Rate__c /(60/ Number_of_Minutes__c ))
to calculate total sum to be paid based on hours and minutes worked.
The problem is, the if the minute field is left blank, I receive an #Error#. If I leave the hour field blank - it's fine, so I've been compensating by making 1 hour into 60 minutes, and it's doing nicely, but it's not ideal!
anyone have any suggestions?
thanks!
Hudi
I have this formula
(Rate__c * Number_of_Hours__c) + (Rate__c /(60/ Number_of_Minutes__c ))
to calculate total sum to be paid based on hours and minutes worked.
The problem is, the if the minute field is left blank, I receive an #Error#. If I leave the hour field blank - it's fine, so I've been compensating by making 1 hour into 60 minutes, and it's doing nicely, but it's not ideal!
anyone have any suggestions?
thanks!
Hudi
thanks so much!
Hudi
(Rate__c * Number_of_Hours__c) + (Rate__c *(Number_of_Minutes__c /60))
it was your theory though :) can't divide by 0 but can do it the other way around! thanks alot!
Hudi