Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
OK, so if this is a duration field type for
[Total Design Hours]
Then you will need to convert that to be a numeric field type before multiplying
ToHours([Total Design Hours]) * 65
That is because when you have a duration field, even though it happens to be named "hours", it is a a duration which could also be expressed in seconds, minutes, hours, days, weeks ... so you need to get it converted ot the number of hours if you are going to multiply by an hourly rate.
[Total Design Hours]
Then you will need to convert that to be a numeric field type before multiplying
ToHours([Total Design Hours]) * 65
That is because when you have a duration field, even though it happens to be named "hours", it is a a duration which could also be expressed in seconds, minutes, hours, days, weeks ... so you need to get it converted ot the number of hours if you are going to multiply by an hourly rate.
- ArchiveUser8 years agoQrew CaptainApologies for the late follow-up - travel/schedules bogged me down for a bit. So here's what I wound up with:
If([Designer]= "Name",
[Hours Worked] * 40.9,
I adjust the hours-worked formula based on cost relative to designer. Where I was getting hung up is the closing parenthesis (I needed 14 and only had 1) - once I figured that out, the formula worked. So now, when I select a designer from my pull-down, it automatically calculates based on the hours worked and auto-populates the Cost field.