Filters

Filters
contains
 
Problem
Description
Category
Solution
Solution in English
Formula Field Type
Discussion
Alternate Solution
Learn more
 
I need a formula that returns the reporting period month. Any date after the 18th of the month will return a reporting period of the following month   Dates If(Day([Date]) <= 18, Case((Month ([Date]))-1, 1,"January",2,"February",3,"March",4,"April",5,"May",6,"June",7,"July",8,"August",9,"September",10,"October",11,"November",12,"December"), Case(Month ([Date]), 1,"January",2,"February",3,"March",4,"April",5,"May",6,"June",7,"July",8,"August",9,"September",10,"October",11,"November",12,"December"))

If the day of the month entered into the [Date] Field is less than or equal to 18, then subtract one from the month of the date field and based on the month number return the matching name of month.

Else if the day of the month entered into the [date] field is greater than 18 then return the month of the [date field], and based on the month number return the matching month name.

Date     More on this solution...
Dynamically adjusting successor start dates from predecessor changes Related to Project Management application Calculation If( ([Status]<>"Completed"),WeekdayAdd([Start], [Duration]),
 ToWorkDate([Actual Finish Date])  )

The predecessor field (under properties) needs to be changed from formula builder to Type-In.
If the task is not completed, it calculates the expected end date (by adding the amount of time it will take to when it starts), and if the task is completed, then it uses the date that it was actually finished, as entered by the user completing the task. Workdate     More on this solution...
Find duration between two dates Find the length of time between the date a record is created and the date the record's marked complete. Dates ToDays([Actual Finish Date] - ToDate([Date Created])) Take the value in the Date Created field (Date / Time type field) and convert it to a date value. Then subtract that date from the Actual Finish Date. Convert the resulting duration to a number of days. Numeric You must convert the this formula result to days to make it data type numeric.

If your result field type if formula-duration instead try:
[Actual Finish Date] - ToDate([Date Created])
If both dates live in Date type fields you can use a much simpler formula: [Actual Finish Date] - [Start Date] More on this solution...
Find duration between a date and today Find the length of time between a date and the current day's date (today). This is handy for finding the number of days until a planned finish date, for example. Dates ToDays([Planned Finish Date] - Today()) Subtract today's date from the Planned Finish Date. Numeric If you want to display the result in a Duration type field instead, then you don't need the ToDays() function. Use this formula instead: 
[Planned Finish Date] - Today()
If your result field is a Duration type field, try this formula instead:  [Planned Finish Date] - Today() More on this solution...
Convert dates to European format Is there any way to change the default date format in my Date Identified field to the european DD/MM/YYYY? Dates Left(NotLeft(ToText([Date Identified]),"-"),"-")& "-" & 
Case(Left(ToText([Date Identified]),2),
"01","Jan","02","Feb","03","Mar","04","Apr","05",
"May","06","Jun","07","Jul","08","Aug","09","Sep",
"10","Oct","11","Nov","12","Dec")& "-" 
& Right(ToText([Date Identified]),"-")
  Text You can't do this within a date field. You must create a formula - text type field to display dates in this format.   More on this solution...
Calculate a date 1 year ago Return a date that's exactly one year before the value in an existing date field (named Date). Dates AdjustYear([Date],-1) Take the value in the Date field and subract one from the year. Date Note that you can use the AdjustYear() function to go forward in time too.   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...
Show records for which events have occurred in the last week Show records where any one of several date fields contains a date that occurred in the last week Conditional (If - Then) If(ToDays(Today()-[Sales Presentation])<7,true,false) or 
If(ToDays(Today()-[Follow-Up Meeting (2)])<7,true,false) or
If(ToDays(Today()-[Follow-Up Meeting (3)])<7,true,false) or
If(ToDays(Today()-[Follow-Up Meeting (4)])<7,true,false) or
If(ToDays(Today()-[STR Meeting])<7,true,false)
If you subtract the date in the Sales Presentation field from today and it's greater than seven, turn the checkbox field on (true), otherwise turn it off (false). 

Each line of the formula beginning with "If" repeats these same conditions for each field listed. Each If/Then condition is joined by an "or" operator. This means that if the condition is met in any field, QuickBase will turn on the checkbox field.
Checkbox Use this formula to create a view. You can feature the checkbox field in the view to see which records have it checked and which don't. You can also use this custom formula field in the view's criteria. In other words, design the view so that you only see those records where this checkbox field is on. Read more about using custom columns in views here: https://www.quickbase.com/help/custom_column_in_view.html   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 project duration if project is completed If [Status] is "Completed", figure the duration based on [End Date], but if the status is anything else, figure duration on today's date. Conditional (If - Then) IF(([Status]="Completed"),[End Date]-[Start Date],Today()- [Start Date]) If the value in the Status field is "Completed" then show the result of subtracting the Start Date from the End Date. Otherwise, show the result of subtracting the Start Date from today. Duration     More on this solution...
View records from the previous week only How do I create a view that on any day of the week I can view records dated from the previous week? Dates If([Date]>FirstDayOfWeek(Today()-Days(7)) and
[Date]< LastDayOfWeek(Today()-Days(7)), 
true, 
false)
Subtract 7 days from today. Take the resulting date (let's call it "one week ago date") and calculate the first day of its week. If that is greater than the value in the Date field and If that date is less than the last day of the week in which "one week ago date" falls, the result is true (checkbox is on) otherwise the result is false (checkbox is off). Checkbox You  can create a formula - checkbox type field to hold this formula  or just use the formula within the report (view) builder page. In this case, also select checkbox as the type, then within the Matching Criteria section, specify that <custom column> is yes (type in the word yes).   More on this solution...
Find the duration between two date fields of different types Actual Finish is a date field and Actual Start is a workdate field. How can I find the duration between them without getting a type mismatch error? Type Conversion [Actual Finish]-ToDate([Actual Start]) Convert the value in the Actual Start field to a date type value. Then subtract that date from the Actual Finish date Duration     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