Solution in English
Formula Field Type
Alternate Solution
Learn more
Calculate the number of weeks into the year a date is In Excel I can use the WeekNum function to calculate how many weeks into the year a particular date is. How do I do this in QuickBase? Dates Int(DayofYear([datefield])/7+1) 
Find the day of the year that the date field is (in other words how many days into the year the date is). Then divide by seven to get the number of weeks into the year. Add one. Then show the integer only (in other words, leave off any fractional values that follow the decimal point). Numeric There is no week 0, so the first week is 1. That's why you add 1.

This formulas returns the "Absolute Week Number" which counts weeks starting from January 1st, no matter what day of the week it is. In other words, Jan 1st through 7th is always week one. If Jan 1st is a Tuesday, than each week of the year will be Tuesday through Monday and tallied accordingly.
If you'd like to calculate the week number, but specify that each week begin on a Sunday (in other words, week one always ends on the first Saturday of January and following weeks are tallied based on that premise) try this formula instead:

        + [MyDate])/7+1)
More on this solution...
Calculate the number of months that the date of last payment is past due I want to show the number of months overdue, but include complete months only, leaving off possible partial months. Dates Floor ( ToDays (Today() - [Date of Last Payment]) / 30) Subtract the Date of Last Payment from Today. ToDays converts that duration to a numeric value of days.  Divide that number by 30 and return the the number of complete months that have passed. Numeric Floor() function returns the largest integer that's less than the number in question. For example, Floor(2.4) would return 2. Likewise, Floor (2.7) would return 2.   More on this solution...
Calculate how many gallons are used per hour I want to divide gallons consumed (numeric field) by hours of operation (duration field). Type Conversion [gallons consumed]/ToHours([hours of operation]) Convert the duration in the hours of operation field to hours. Then divide the value in the gallons consumed field by that number of hours Numeric You can't divide a number by a duration. So you must convert the duration into a number using the ToHours() function.   More on this solution...

We're glad you're interested in doing more with Quick Base!

Now we need to make you official before you share apps or manage your account.

Verifying your email lets you share Quick Base with others in your company.

Your work email
Your company
Report Name *
Reports and Charts Panel
Each table has a panel listing its reports and charts, organized in groups.
This report will be listed only for you, in the group Mine.
Only you can see the report in the panel. You can't ever list it for other users. You can still let others open it by sending them links.
Please wait while your new report is saved...
This is a new report
Field label
Column heading override
What does auto mean?
Fields in:

Fields to Extract:

Name for the new table:
Items in the new table are called:

When you bring additional fields into a conversion, Quick Base often finds inconsistencies. For example, say you're converting your Companies column into its own table. One company, Acme Corporation, has offices in New York, Dallas and Portland. So, when you add the City column to the conversion, Quick Base finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quick Base needs you to clean up the extra cities before it can create your new table. To do so, you have one of two choices:

Read more about converting a column into a table.

Show fields from Show fields from Show fields from a related table