Leverage this space to unlock the power of Airtable formulas.
Recently active
Hi allI only know basic HTML so the Functions field in Airtable to me looks like hieroglyphics.In my events company, we require people to complete forms to update their existing data. I followed this tutorial: "Use a form to update an existing record" https://www.youtube.com/watch?v=BkAY7OHEgdc - and got the 2 tables working with automation.However - if I want to apply this method to other bases, I'm worried because I don't understand the purpose of any of the code I've written. Can someone explain what is happening/the purpose of the following (broken down to baby level please eg. what does '' do in the code? what about &?):'https://airtable.com/shrPd1axJx1k3Yg6u'&'?prefill_Guest%20ID='&RECORD_ID()&'&prefill_Guest%20Name='&ENCODE_URL_COMPONENT(Name)&'&hide_Guest%20ID=true' Happy to read material if anyone wants to point me to any resources. Thank you.
Either I've stumbled upon a great bug or I'm a complete idiot. If history is anything to go by let's assume the latter.In a greater context I'm using a formula to check if TODAY() is in the range of some dates.Sometimes the date is from an automatic Created Time field, other times it's from a regular date field. When I check the Created Time (doesn't matter if the field is with out without a timestamp) on a record created moment ago against TODAY() I get a false.I used it in a long formula, but boiled down to it's minimum it just doesn't work. IF(TODAY()={Created Time},"1","0") The above returns 0 on a record created 15 minutes ago.If I ask it to check a date field with today's date inserted, then it returns 1.What's going on and how can I work around this?
Hi all,I am trying to extract the mean/average of a set of dates through roll-ups. I am able to calculate the min or max date through the use of MIN(values) or MAX(values), but AVERAGE(values) returns NaN.Any suggestions? (thanks in advance!)
Hi all, I'm trying to set up a HTML button with a link that includes a variable "Name" (name of the product) like this: I tried adding " " to make everything except &Name& green but it didn't work. Is there a way to put HTML in the formula and use variables? Surely I'm missing something. Thanks!
I can't seem to figure out how to loop a concate formula. I have 2 columns: Show Name and Episode Number. Show is single select and Episode is multi. My desired output is a string that loops the show name before the episode number; instead I only get Show Name, then a list of episodes with a comma deliminator.The desired outputs are the names of linked records. Example base below. Any help truly appreciated.https://airtable.com/shr07v7lc15RGEaj5 Show (single)Episode (Multi)FormulaDesired OutputThe Boys301, 302, 303The Boys 301, 302, 303The Boys 301, The Boys 302, The Boys 303The West Wing401, 502, 302The West Wing 401, 502, 302The West Wing 401, The West Wing 502, The West Wing 302Archer201, 303, 105Archer 201, 303, 105Archer 201, Archer 303, Archer 105
Hello! I have a Typeform that is connected to an Airtable base.There is one question that in the Typeform that is a multiselct (the user can pick more than one option).When it translates to the Airtable multiselect field (the field is call "Select Dates"), it comes through as a massive long option that is super hard to read: YIKES - I am wondering if there is a formula that can separate this out into distinct values, such as - Tuesday: February 28th at 12p PT / 3p ET Wednesday, February 15th at 10a PT / 1p ET Thursday February 9th at 11a PT / 2p ET Tuesday, February 14th at 10a PT / 1p ET Thursday February 9th at 11a PT / 2p ET Tuesday, February 14th at 10a PT / 1p ET (there are also duplicates in there.... but thats not the worst thing / I don't mind... )My plan is to then take the output of that formula and use an automation to re-submit the cleaned up values into the multi-select field named "Select Dates" in Airtable.The formula se
I'm attempting to prep a table for import and need to recreate a concatenated formula field that includes a date field formatted like this:Can anyone identify this format for me? Thanks!
Hi All,I have text field called Name, which contains data in the following format: XXX - YYY - ###, where XXX and YYY are random texts, ### is a 1/2/3 digit number and they are always separated by " - ".In another field I'm using the following formula: TRIM(MID(Name, FIND("-",Name,FIND("-",Name)+1)+1,3)).My goal is to find the number at the end of the Name field and use it as a number in other calculations, but although the result looks good, it is not recognized as a number.Any suggestions?Thank you in advance!
Hi everyone,I'm very new to Airtables and I'm trying to figure out some formulas. For now, I'm trying to figure out training completion from my base. The 'Training Completed' field is a multi-selection field (also a linked field) that shows all training an employee has completed. I want to create a formula where if a person has completed Training A and Training B, then the result is 'completed'. So basically, out of the many options that present themselves in the multi-selection field, I need to select 2 specific pieces of training that indicate that a program has been completed. I've tried using the IF (FIND) formula. I'm getting part of it correct, where I've just included Training A, but when I try to add in Training B, the formula doesn't work. This is what I have so far:IF(FIND("Training A", {Training Completed}), "Completed", "Not Completed") I need to add in Training B to the mix as well. Can anyone help me with this?
Hello!I know at one time there were several threads that spoke to extracting the First Name from a full name, and also a formula for extracting the Last Name. While I can find several threads with the code for First Name, I cannot find any that show for Last Name now that I'm in need of it 😂First Name Formula Found: IF(FIND(" ",{Full Name})=0, {Full Name}, LEFT({Full Name}, FIND(" ",{Full Name})-1))I've tried different variations using RIGHT instead of left, but I either get really odd returns where some last names are extracted properly, and others are completely way off, or I get blank returns. I have several Full Names that include more than 1 name as that Last Name. Example: Olivia Gutierrez Lawson. I would need "Gutierrez Lawson" to appear in the last name field with the formula. I feel confident in some of my formula creation skills and then there are times like this when I realize just how little I know haha. I am so grateful there is a community
Is there a way to count the number of weekdays between a date range? I am currently using the following formula to count the number of days between the FROM and TO DATE:DATETIME_DIFF({To Date}, {From Date}, 'days')+1 If the date range includes a weekend, I only want to include the number of weekdays.
Hey guysIm stuck with a problem with some formulas, I got some real good help from @Andrey_Kovalev in December but now I'm stuck, so please if someone could advise. Long story short, I have 10 records (Mon-Fri odd and even weeks)and I want the date to change dynamically, i.e Today Monday the 16th will turn into Monday 30th after midnight, so just a date change on that record. We got this to work for one week but when the date turns into Sunday 22nd the 1 row will go back to the 23rd, it doesn't remain to the 30th. The Formulas are:Calendar formulaIF(Today <= Date, Date, DATEADD(Date, 14, "day"))Date formulaDATEADD(Today,Autonumber-WEEKDAY(Today),"day")Today formulaToday()And some pics from the base so you understand:Works fine for this week and date in the Calendar formula works:And on Sundays it all jumps back:Best regardsJesper
I have one column with text in the following format: A Meeting By The River (Album) 3 versions I need to split it into 3 columns 1: the string before the bracket 2: the string between the bracket 3: the string after the bracket
Hi All,I currently work off Airtable's grid view, using it as a collaborative content planner/scheduler. Throughout this year, this will get extremely clustered and lengthy. At the moment, we have a status column of- Briefed in, In progress, Scheduled and CompleteAt the moment, I can filter to show if 'Completed' is not selected, but I don't see this being a viable long term option. Is there a formula where once 'Completed' is marked, the row is immediately hidden & potentially moved to another page/tab where it can be easily accessible without having to turn on/off a filter? I have heard of a few formulas/features being thrown around in my search for an answer but being fairly new to Airtable, it's still quite confusing! Thanks in advance for any help - Eryn.
Hello all! I am trying to add up all volunteers signed up for a given shift, and I am having a bit of trouble figuring it out. I've tried multiple approaches and I am running into a wall. Please Help.Can I use a Rollup field in 'Table 2' to add up the number of people signed up in a # field named '# of Vols' in 'Table 1' that signed up for one or more of a possible 7 time slots? The time slots are in a multi select field in 'Table 1' named: 4:00 pm - 6:00 pm (4/6), 6:00 pm - 8:00 pm (4/6), 5:00 am - 7:00 am (4/7), 6:30 am - 9:00 am (4/7), 8:30 am - 11:00 am (4/7), 10:30 am - 1:00 pm (4/7), and 12:30 pm - 3:00 pm (4/7). Those time slot names are also the unique Identifier field in 'Table 2'. If multiple time slots are selected, the formula should add the value from "# of Vols' into each time slot selected. 'Table 1' is named 'Event Volunteer Tracker', 'Table 2' is named 'Event Shift Tracker, and the multi select field in 'Table 1' for the time slots is named 'SHIFT TIM
I have my inventory list on one table. I have another table where I enter the date a product has sold and how many units it sold on that date. I would like add the amount of times each product has sold within the last 30 60 & 90 days on my main table. Is there a good way to do this?
Is there a way to calculate times without using a datetime field? For example, if I have a start time of 11:30am and an end time of 3:30pm, can I use a formula to calculate the difference without using a datetime field?On the surface, I can do this by making my start and end times Duration-type fields, but I'd have to switch to a 24 hour format, which is less readable for me than a 12 hour format (Americans, amirite?). Also, the Start and End times will be used in concatenate formulas, so formatting becomes a real problem (Tuesday 8:30-11:30 becomes Tuesday 30600-41400).
I have a field of numbers somewhere between 1-100, I'll call the field "MAX" and sort high-low. I want to be able to count the total number of records in this field, and pick the lowest numeric record of a certain percent, let's say 80%.For an example, let's say my MAX field has the following records: 95, 84, 83, 81, 70, 68, 67, 60, 54, 46. I want to count the number of records (there are 10) and find the top 80% of numbers. So this would be 10(.80) = 8 records and return a record set of 95, 84, 83, 81, 70, 68, 67, 60. Then my ultimate goal is to display the lowest number of this data set, so the result would be 60. Is this possible with a formula? A script (I don't know how to script, so this might be out of reach for me)? Thanks for any help!
Airtable support!Thank you in advance for helping me with this issue. I would like to use Airtable to track web page metrics. Each week, our company publishes web articles. The first column is the date the article was published, the second column is the name of the article, the third column is the page views and we would like the fourth to show the percent each page article was viewed. An example is below. The percent column should be as follows: 2023-01-0326.67%33.33%40.00%2023-01-1016.67%33.33%50.00%Would someone be kind enough to help me create the formula needed for this outcome? Thank you!!
Hi! I'm trying to figure out a way to copy a record from one base to another when a certain condition is met. I have people submitting proposals for classes in one form. And once accepted, I want that same information to populate the current classes base. Can I do this? And have the info appear in different cells on the new base (like in a different order, etc)?I'm not a coding person at all, so I'm trying to figure out the most basic way to do this. Thank you!! Sondra.
Hi there Airtable folks! I'm trying to wrap my head around a simple calculation - but I'm not sure how this can be done. I'd like to calculate the % of total of a given column, I know I can input a constant number into the formula but the table will increase it records, so it has to be calculated. Essentially I want to perform the following, take each number and divide it by the total. Is there a way to do that?Thanks a lot!
I’m trying to extract variable but similar strings of text. They all start with “PARVOVIRUS” and end with “=”. When I build this on regex101.com it works fine. I can extract it multiple times from a long list: Expression: (?>PARVOVIRUS).*?(?=1) However, when I put this back into Airtable I get #ERROR! REGEX_EXTRACT({XmlData}, ‘(?>PARVOVIRUS).*?(?=1)’) The similar strings are: “CANINE PARVOVIRUS IFA SEROLOGY TITRE: =1:20” AND “CANINE PARVOVIRUS IFA SEROLOGY TITRE: >=1:80” I can’t work out what I am doing wrong, and why airtable rejects it. Ultimately I am just trying to extract that 1:20 or 1:80 value but it’s variable length if “&gt” >= is there or not in the text.
Hello, I have a seemingly simple question that I’m struggling to solve. I want to count records meeting certain criteria - for example, how many records generated within the current month. (the end goal is for records to have an autogenerated field that is year.month.sequentialnumber – the year and month are easy, the sequential bit should be a simple matter of # existing records + 1…) If all those records shared a common link to another table, I know I could use that to generate a conditional “count all” rollup field. But it seems totally redundant to make a separate table, with a single record, and link all my original records to that, JUST to obtain my number. Isn’t there any other way? NOTE: so far my Airtable usage has not required me to learn scripting. Very open to it, if that’s an option, but - go easy on me…
GreetingsI wanted to make a formula as follows:X= {X1}+{distance}*sin({alpha})*cos({beta})I think there are no trig functions in airtable except in scripting.Can anybody help me with the coding of such a script? Thank you
I am bringing in refund data from Shopify via an automation with webhook. When more than one item is returned, the webhook sends all of the subtotal values in a comma-separated list (see screenshot below). I’m trying to put this into a currency field in an automation, but that is causing the automation to fail when there is more than one item in the list. If I change the field type to single line text, the automation will work, but then I have to find a way to sum these values in a different field. The list of values could be one or many (up to 5+). Do you know of a formula that can accomplish summing the values in the string or do I have to have a script? Thanks for all the help in advance!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.