Leverage this space to unlock the power of Airtable formulas.
Recently active
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!
Hi there, I'm trying to rank titles based on a multi-select. This is my setup:title = string field containing title of a contactprio1_titles = multi-select field where I'm specifying which a preferred contact should have includedtitle_rank = the formula I'm trying to create – fine if it gives out '1' for nowWhat I'm trying to achieve:If the title of my contact contains any of the multi-select words I want the formula to return true.I managed to search for the title in prio1_titles but this is not suitable for partial matches. For example if a title contains "co-founder and coo" I still want the formula to return true because of the partial match for "founder".Would appreciate any help with how to set up this formula.I'd consider myself an experienced no-coder, have no experience with airtable scripts so far, so I would prefer a formula solution.Thanks!
Greetings! There is a formula for getting the ID of the current table record:RECORD_ID()Is there a formula or mechanism for deriving the name or ID of the current table? Such as:TABLE_ID()or…TABLE_NAME()Thank you!
This is not working for me - can anybody help correct? IF({Count (Purchase Contracts Signed)} < 0 ; >=1399999,0, IF({Count (Purchase Contracts Signed)} <= 14000000 ; >=2399999, 0.007, IF({Count (Purchase Contracts Signed)} <= 24000000; >=3299999, 0.01, IF({Count (Purchase Contracts Signed)} <= 33000000, 0.013 ) ) ) )
Hi all - I'm trying to set up some budgeting and forecasting tools for my CEO. I've downloaded the "Small business budget" template, which helps, but he's got a preferred way of forecasting that doesn't quite correspond to anything simple.Essentially, he's looking at when funds hit the business' bank account, not when the client pays the invoice.I have invoice information and payments coming into my "income" table. I have my "Forecasts & Actuals" table with dates calculated there to show me the range of when payments coming in would hit that month.For example - for January 2023 income, he'd be looking at payments between December 28th and January 27th instead of January 1 - 31. I've created columns with formulas that give me the "first date of payments" and "last date of payments" for each month.I'm struggling with calculating the rollup of the sum of invoices paid between these two dates, as marked on the "Income" table. Thank you!
Hello community, pls help me with a simple formula The problem is this - you need to insert in a new field text link from the first column, but if there is something extra like "? sort=new" at the end or something similar but ALWAYS begins with a "?", then it must be removed, here is an example
Hello everyone! I have a formula (below) that calculates a Monthly Rental Fee Renewal Date that is 45 days out from the Staging Date. For one client, I want her date to be calculated at 90 days out. How can I do that? I know I need an identifier field and I think Client Name is it (file attached). Thanks everyone!IF({Total Monthly Rental Fee w/Tax}>0,DATEADD({Staging Date},46,'days'))
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.