Leverage this space to unlock the power of Airtable formulas.
Recently active
Hi, I have creating a time sheet with the following: Start times in a table at increments of 15 minutes - 6am, 6:15am, 6:30am etc… End times in a table at increments of 15 I have created a form which links to the start and end time tables. I then have a formula which is meant to subtract the input data. My problem is that Airtable is unable to calculated the difference of the end time 17:00 (or 5pm) to the start time 7.00am. The formula works if the field is done as duration. But from the guys who send the forms, they struggle to enter direct inputs as hh:mm. They prefer to have a selection of time in increments rather than putting a time input. Any help would be much appreciated! Regards, Kevin
I need to populate a Lunch Menu Scheduler with a Unique Lunch Menu each week day and I want it to grab the menu item from another table of 10 Menu Items sequentially. So every Monday the “Dinner” field is filled with the next meal in a list of 10 Monday Meals. Tuesday draws from another table of 10 meals…etc. I am so noob with Airtable this seems so simple but it’s giving me a headache!
Hello everyone, How do you remove the last word from within a string in a record so that another record shows the same without the last word?
I am looking to create profit margin and profit margin formulas on a multi-record base that I am using for inventory management. The manufacturing cost is on one page, purchase orders on another page and sales orders are on the final page. I’m looking to create something to show those profit margins and $ on the sales order page to show how each product we carry stacks up against each other.
I’m trying to make a basic set up for switching between currencies when pricing a product I’ve got 2 fields; one for € and one for £ and then a formula field that’ll show the price from the £ field or the € field depending if a ‘switch’ is set to £ or €. I really want to show the displayed price with 2 decimals, but it doesn’t show a price is fx. 2.00. I tried with the ROUND() function but doesn’t work - is there a way for 2 decimals in the formula field. Currently, I’m using the following: IF({Currency switch}=“€”, "€ " & Euro, IF({Currency switch}=“£”, "£ " & ROUND(pounds,2), BLANK()))
I have a table called “Conferences Costs” I have a table called “Conferences” In Conference Costs, I pull in the conference name from the “Conference” table. After that I have a column called “Year in Review”. This is the year that the conference falls under for budget reasons. I also have a column that has a check box “are we attending?”. In the conference table, I want to pull in Year in Review information but only if the checkbox is checked. How would I do this?
I’m using a formula to create a URL that automatically prefills a form field in an airtable form. It uses the title field in the URL and the replace function to replace spaces with %20 But it also seems to be removing any periods that are found in the title. So even though it’s using a formula to create the URL, some of the URLs work and some don’t because it’s removing the periods. Any idea how to stop this?
I have a start date (example 12/25/18) I have an end date (example 12/26/18) I need to find out how many days that is total. I used this: DATETIME_DIFF(Date1,Date2,‘days’) and it came up with 1 (26-25=1, however that is accurate as it needs to be 2, since it is the 25th & the 26th.
I get an error when I use DATEADD with a date I formated in another field with DATETIME_FORMAT. Is there a way to “unformat” a date?
I have a schedule table for a church band. Another table is used for setlists that are connected to every church service. Every record in the setlist table is linked to the schedule table through the datefield. In the setlist table I want to filter the view that every user will see this way: show me the record that is after yesterday before one week from now This filter works fine with a regular Date field, but appearantly not with a date field that is retrieved by linking to another table. The options for filterin this date are very limited: contains / does not contain is / is not is empty / is not empty My question: is there a formula that I can use so the filter will treat this linked Date field as a regular Date field?
Is there any way to concat all the values in a column? Bascially I have 60 email addresses and I want to concat so that I can reference all the emails at once. Need all in one field. Similar to the CONCATENATE(TRANSPOSE()) functions in excel? Any chance?
Expected behaviour: return the number of selected items.
I have a “Rates” table that I am linking into a column on an “Estimator” table. It seems as though I can’t use the linked-in Rate data in a formula on the Estimator table. Is that right??
Hi there, I am trying to extract a string from a field using the MID() Formula. It should be pretty straightforward, but the output is blank for every single record. I have tested this by using several differently formatted fields (i.e. Text, Single-Choice, Multi-Choice), and have not been able to output a result in any of my tests. For example, I want to remove the emoji at the beginning of the string “ :hammer_and_wrench: Service” in the field {Department}. My formula is: MID({Department},2,0) The result is always blank. Is this something I’m doing wrong, or an actual bug?
This is for a registration DB Column 1 - Order Amount (this is a currency format) Column 2 - Amount Paid (currency format) Column 3 - Balance Due (formula with 1-2, formated as currency) Column 4 - Scholarship? (checkbox - if family got a scholarship then all fees are waived and this box is checked) Column 5 - I want this to say 1 of 3 things: If Column 3 is $0.00, then “Complete”, if Column 3 is anything greater than $0.00 AND Column 4 is not checked, then “Pending”, but it if is checked, then “Scholarship” THANKS!!!
Hi, I need a formula to calculate 4 seperate Service level agreements The SLAs are as follows: 4 hours Same Day 48 hours 10 days I need a field to show the “due” date for each record based on its sla. My base creates Opened Date when record is created. I assume I need a nested formula to calculate the date/time when the SLAs will expire. Ive written this but only the first part works IF({SLA}=“same day”, DATEADD({Opened Date}, 1, ‘DAYS’), DATEADD({Opened Date}, 60, ‘DAYS’)) IF(SLA=“A 4 Hour”,(DATEADD({Opened Date}, 4, ‘hours’,IF(SLA=“P 10 Days”,(DATEADD({Opened Date}, 10, ‘days’)))))) Once the completion date is added I will create a formula to comfirm if the SLA is met or not. Many Thanks, Ant
I’m wondering if there’s a formula that will return the date of a specific weekday, such as Monday, relative to a set date field. Any ideas?
Hello, I am looking to write a formula to populate a field based on two separate fields using the IF AND statement. This would be Field 1 = A and Field 2 = B then insert C into the formula field. Is this possible? Thank you. Jason…
Hi, I ran the below experiment with DATETIME_DIFF. It seems the units argument only performs a simple division, but most implementations I have seen of this function always compare the actual units. Am I missing something?
Hello Guys, I would like to do something like: IF(Taxes"= 1") Cost * 1.14975 IF my taxes column is checked, do the math “Cost Column” * 1.14975 = Sum Is someone can help me? I look on community and documentation, but I’m still clueless. Thank you! JM
Hello, I am trying to create a field where I can calculate the difference in time from one record to another. I.e. calculating the time difference from Time Left Work (from the previous record) to when the commence work (the current record). I have read various multi-record calculations but I am unsure how best to approach this. Any assistance would be appreciated. Thanks!
I was idiot-checking some advice I was about to give (meaning I was the idiot needing to be checked) when I ran into this. There’s an earlier mention of this problem from January 2016, so I am going to assume that was fixed long ago and something similar has broken since then. In the following screenshot, {Date} is a looked-up date field, while {Month}, {Day}, and {Year} are formula fields that simply call the function indicated with {Date} as the parameter. (That is, {Month} is a formula field with the formula MONTH({Date}), and so on.) Note the results for {Day}. I then modified {Date}'s configuration, changing it to a date field. Here’s the result:
I have a table where I need to display the amount given (in field {amount} if it was given between particular two dates. Like 5/1/17-5/1/18 I’m at a total loss of how to do this.
I’m currently manually entering labels for all dated entries so I have a single select with Sept 2017, Oct 2017 etc
I use this base for creating invoices, and my formulas are not calculating the right numbers, giving me incorrect sums. GW correctly rolls up (using SUM(values)) hours from a separate table, and the field is formatted as a numeric with two decimal places. But when those sums are multiplied by the Rate (a Currency field with two decimal places), it gives the wrong number. When I copy and paste the rollup values into a new column (GW2) that is just numbers rather than rollups, and then multiply by the rate, it gives the correct number. Example: In the below screenshot, the total number of GW hours (“GW”) is 27.87, and the rate (“Rate”) is $35/hr. In reality, 27.87 * $35 = $975.45 (“Reality”), but the product given in “GW Subtotal” is $975.33. Formulas used: “GW” : SUM(values) “GW Subtotal” : GWRate “Reality” : {GW2}{Rate} This seems to be some bizarre rounding error, because some products are high and some are low. Can you help? Thanks, Patrick
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.