Filters

Filters
contains
 
Problem
Description
Category
Solution
Solution in English
Formula Field Type
Discussion
Alternate Solution
Learn more
 
Calculate the date a week later Create a formula date type field which displays the date that's a week later than the value in the Start Date field. Dates [Start Date] + Days (7) Take the value in the Start Date field and add seven days to it. Date     More on this solution...
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:

Int(DayOfYear(Days(DayOfWeek(FirstDayOfYear([MyDate])))
        + [MyDate])/7+1)
More on this solution...
Calculate a task's finish date, based on the start date and number entered in the Estimated # of Days field. Adding a numeric value (Estimated # of Days) to a date value doesn't work. Type Conversion [Actual Start Date]+ Days([Estimated # of days]) Convert the number in the Estimated # of days field into a duration that represents a number of days and add it to the Actual Start Date. Date The Days() function converts the numeric value into a Duration value.   More on this solution...
Calculate the number of months until a payoff date   Dates ((Year([Payoff Date]) - Year(Today()) )* 12) + (Month([Payoff Date]) - Month(Today()) ) Take this year (that today's date occurs in) and subtract it from the year listed in the Payoff Date field. Then multiply that number of years by 12 (to get months). Take that number of months and add it to the number of months that results from subtracting this month from the month listed in the Payoff date field. Numeric You're really calculating the number of months in two steps. On the left side of the plus sign, you're figuring out how many years until the payoff date and converting that into months. On the right side of the plus sign, you're figuring out the difference in months. The plus sign then adds those figures together.   More on this solution...
Calculate the date one week from today   Dates Today() + Days(7) Display the date that is today plus 7 days. Date     More on this solution...
Add up the number of hours worked in a week. Sum the values of hours entered for each day of the week. Calculation Nz([Mon]) + Nz([Tues] + Nz([Wed]) + Nz([Thurs]) + Nz([Fri]) Return the value in the Mon field. If the Mon field is empty (null) then return zero. Add that to the value in the Tues field. If the Tues field is empty (null) then return zero. Add that to the value in the Wed field, and so on. Numeric You'd use Nz here instead of IsNull, because in order to add these values together, QuickBase needs the result to be a number. Nz generates a zero for a null, which the program can use in the calculation.   More on this solution...
Calculate the number of checkboxes that a user turned on Total the boxes checked (turned on) within a given record Calculation ToNumber([Checkbox1]) + ToNumber([Checkbox2]) Convert the value in Checkbox1 to a number and add it to the value in Checkbox 2. Include as many checkbox fields as necessary Numeric The ToNumber formula returns a 1 for true or yes and a 0 otherwise.   More on this solution...
Convert a value representing time in minutes into seconds When I enter a time in minutes and seconds (ie. 3.42) I need to be able to convert these to seconds. Time ToNumber(Left([Minutes], ".")) * 60 + ToNumber(Right([Minutes], ".")) The Left function will return all the text up to but not including the period. In the example, that is 3. Since it is a text value, convert it into a number using the ToNumber function and then multiply the result by 60 to get seconds.

Do the same to extract the text after the period using the Right function. Finally, we add it up to get the total seconds -- in this case it should be 3*60 + 50 = 230 seconds.
Numeric Use a text field to store the number (like 3.42) since three minutes and 42 seconds is not the same thing as 3.42 seconds.   More on this solution...
Calculate how many fields are empty I need to create a field that counts the number of field that are non blank. The field that I need to count are labeled Model number 1, Model number 2 etc... Calculation ToNumber(IsNull([Model number 1])) + 
ToNumber(IsNull([Model number 2]))
IsNull returns a yes or no result, which when you convert it to a number using the ToNumber() function, becomes a one for yes or a zero for no. Insert a + operator to add all values together. Add as many additional fields as you need. Numeric This solution assumes that the Model Number fields are numeric. If those  fields are text type fields, the IsNull() function wont work. Try something like the following instead:

ToNumber(If (Length([Model number 1]) > 0, true, false) + 
ToNumber(If (Length([Model number 2]) > 0, true, false)
  More on this solution...
Tally duration fields even if one or two are empty (null) Total Actual Duration - [Actual Duration] + [Actual Duration 1] + [Actual Duration 2] Calculation Nz([Actual Duration]) + Nz([Actual Duration 1]) +  Nz([Actual Duration 2]) Return the value in the Actual Duration field. If the Actual Duration field is empty (null) then return zero. Add that to the value in the Actual Duration 1 field. If the Actual Duration 1 field is empty (null) then return zero. Add that to the value in the Actual Duration 2 field, and so on. Duration You'd use the Nz() function here instead of IsNull(), because in order to add these values together, QuickBase needs the result to be a number. Nz generates a zero for a null, which the program can use in the calculation.   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 *
Description
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
Justification
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