Forum Discussion
EvanMartinez
8 years agoModerator
Hi Carol,
There is a formula function in Quick Base ToWeeks that will take a Duration and return how many weeks it contains. For example if you used ToWeeks(Days(14)) it would return the numeric value 2. Or in your example if you did ToWeeks([Completion Date]-[Start Date] It would turn that interval into a number of weeks (With anything less then a full week expressed in decimal places). You would just want to make sure that the Completion Date and Start Date field were both Date fields.
As you are building out your formulas we also have a formula function guide that points out some of the most commonly used formula functions and their use:
https://login.quickbase.com/db/6ewwzuuj?a=q&qid=6
I hope this suggestion is helpful Carol.
There is a formula function in Quick Base ToWeeks that will take a Duration and return how many weeks it contains. For example if you used ToWeeks(Days(14)) it would return the numeric value 2. Or in your example if you did ToWeeks([Completion Date]-[Start Date] It would turn that interval into a number of weeks (With anything less then a full week expressed in decimal places). You would just want to make sure that the Completion Date and Start Date field were both Date fields.
As you are building out your formulas we also have a formula function guide that points out some of the most commonly used formula functions and their use:
https://login.quickbase.com/db/6ewwzuuj?a=q&qid=6
I hope this suggestion is helpful Carol.