Leverage this space to unlock the power of Airtable formulas.
Recently active
I am currently using a workday formula to calculate an end date based on a “Start Date and an Average Length of Completion” for a task. My issue is with single-day tasks, if the task begins on any day other than a Friday, the formula works. If it starts on a Friday, it won’t calculate as a single day. Formula is: DATEADD(WORKDAY({Start date}, {Length of Days}), -1, ‘days’) tl;dr: Monday-Thursday formula works and returns the correct end date. Friday start date calculate a Monday end date.
Not sure if this was covered before. I’m trying to use the datetime_diff function in a formula as a trigger to send out an email 5 minutes before the meeting starts. The problem is that this function is very sluggish to update. In other words it might be 10 or 15 minutes past the moment it should trigger before it refreshes and shows the correct difference in time. But by the time it updates it’s too late to send the email out. Is this a bug? Or is there a workaround? Thanks!
I want to list each linked entry in the “facts copy” column as a separate bullet point in a bulleted list in another column. Here is the table: Here is the formula I tried to use unsuccessfully: REGEX_REPLACE(CONCATENATE({Facts copy}), “, “, “<br>⦁“) I am not a programmer so apologies for my lack of knowledge.
I know this is simple but I’m struggling for some reason. {Average Weight}/2000 * {Base Rate} + {Surcharge Calc} It adds the ‘Surcharge Calc’ which is a percentage just as a number. What I’m trying to accomplish: Average Weight = 10000, Base Rate = 15, Surchage Calc = 20% 10000/2000 X 15 + 20% = 90 I’m getting 75.20 Thanks
Hi, First: Airtable is an incredibly useful program, both for business and personal use. It’s a lifesaver that I’ve been using for years. However … I have need for Formulas for the first time and having trouble getting my head around the syntax for this task. I need to conditionally add and output the sum of 3 Currency fields based on the status of the Checkboxes: IF the status of {$VALUE 1} is checked - output of the Formula field is $VALUE 01. Otherwise the output of the Formula field is 0. IF the status of {$VALUE 1} and {$VALUE 2} are checked - output of the Formula field is ($VALUE 01 + $VALUE 2). Otherwise the output of the Formula field remains $VALUE 1. IF the status of {$VALUE 1} and {$VALUE 2} and {$VALUE 3} are checked - output of the Formula field is ($VALUE 01 + $VALUE 2 + $VALUE 3). Otherwise the output of the Formula field remains $VALUE 1 + $VALUE 2). For this task the $VALUES will either be hit in sequence, or they won’t. ie: We will never have a case where we need to
Hello, I would like to set up a calculation to allow me to multiply a number according to conditions. IF(), but I don’t know how to go about it. Here is the request: My column: ( hide) Inventaire Composant sortant (Unique) corresponds to a set of products: ex: 1 table. "I could have called this ( hide) Inventaire Produit fini sortant (Unique) → This is what I take out of my stock but as a product as a whole (single). The question is for my column: Inventaire composant sortant ( Calcul pied), I would like according to conditions to be able to say if table with 2 feet, multiplies (( hide) Inventaire Composant sortant (Unique)) x 2 (# (hide)Pieds), if table with 3 feet, multiplies (( hide) Inventaire Composant sortant (Unique)) x 3 (# (hide)Pieds), if 4-foot table, multiplies (( hide) Inventaire Composant sortant (Unique)) x 4 (# (hide)Pieds), idem for if 1 feet and if Blank(), leave the field empty This would then allow me to subtract Inventaire composant sortant ( Calcul pied) from ( hi
I have two values “PUt” and “SRt” With different values of these fields I need to output different “Profiles”. When I write a formula to compare these numbers, I get the wrong answer from the formula. Values: This is my formula: Logically, the formula should select “Profile 6” But the cell shows “Profile 5”.
Hi folks, Formulas aren’t my strong suit, but I’m hoping there’s a way I can do this. Essentially, I’m helping my school manage teacher assignments, so I’m building a simple database to help me organize and visualize this data. I have two tables: 1 for Courses and 1 for Teachers. I have them linked together such that if in the Courses Table I type in a teacher’s name, then that course will show up on the Teacher’s tab (and vice versa). In the Course tab each course has a numerical value assigned to it based on the number of times per week they meet. What I would like is a column that tabulates the total number of periods assigned to a teacher that is calculated based on the courses assigned to that teacher. Does anyone have any formulas that can do it? I was hoping a lookup field would be a sneaky shortcut, but no luck. See my attached screenshots (I’ve cut off the teacher names field for privacy’s sake):
I’m using IF Statement with return numbers for two conditions: If it’s a car, one value, if it’s a motorcycle, another value. Everything is ok about that, however, when trying to multiply the presented result, it shows #ERROR!, how to solve it?
I have tried multiple Nested If statements to achieve this result: This is my ultimate goal: If “Date of Last Contact” is blank then return blank. If it is not, then if “Days Since Contact” is <3 then return “ :heavy_check_mark: Less Than 3 Days :heavy_check_mark: ” If it is not, then if “Days Since Contact” is <5 then return “ :warning: Almost More than 5 Days :warning: ” If it is not, then if “Days Since Contact” is >5 and Status Does Not = Revisit Later then “ :x: Greater Than 5 Days :x: ” If Status = “Revisit Later” and “Days Since Contact” is >30 then :x: Time To Revisit :x: If not then leave blank. IF({Date of Last Contact} = BLANK(),BLANK(),IF({Days Since Contact}<=3,“ :heavy_check_mark: Less Than 3 Days :heavy_check_mark: ”,IF({Days Since Contact}<=5,“ :warning: Almost More than 5 Days :warning: ”, IF(AND({Days Since Contact}>5,{Status}NOT(“Revisit Later”), “ :x: Greater Than 5 Days :x: ”, IF(AND({Status} = “Revisit Later”, {Days Since Cont
Is it possible to create a formula that tells you how many of a specific day of the week are in a month? Such as how many Wednesdays are in this month? I have a specific deliverable that needs to be done every Wednesday. I’d like a formula that would help me see how many of these are left in the month. Thanks!
I have three columns in my table. Lat/Long Combined - Example: 18.194608875237545, -63.08524490907154 Latitude - Example: 18.194608875237545 Longitude - Example: -63.08524490907154 The formula I’m using in the {Latitude} column is: IF( FIND(",", {Lat/Long Combined}), LEFT({Lat/Long Combined}, FIND(",", {Lat/Long Combined})-1 ), {Lat/Long Combined} ) The formula I’m using in the {Longitude} column is: LEFT( RIGHT({Lat/Long Combined}, LEN({Lat/Long Combined}) - LEN({Latitude}) - 2 ), FIND( ",", RIGHT({Lat/Long Combined}, LEN({Lat/Long Combined}) - LEN({Latitude}) - 2 ) & "," )-1 ) When there isn’t a value in the {Lat/Long Combined} column, the {Latitude} fields are blank, but the {Longitude} column is populating #ERROR! Any help would be much appreciated. Thank you
Ok so I am trying to use an if statement to put in a date but then if it doesn’t meet the condition I want it to be blank. I keep getting an error. Here is my formula: IF({Sample Status} = Out, (DATEADD({Date Checked Out},7,“days”)), BLANK()) Can anyone help? Thanks
Hello, how can I extract the 6" and the 8" from these strings?
I am using a script feature to add data in the table. One of my field type is “DATE”. Data coming from the API is in string. Hence, its not allowing me to add the data in AT, showing error - Error: Field “zzfldrJZNkO8gUQl69P” cannot accept the provided value.
Seeking help with a “If” formula to create buckets in a new column. For example, in column A i have series of different percentages. IN column B i wish to create a formula and returns a “text” if it meets the criteria…for example, if A1 = <100, “<100”, ifA1 = 100to120, “120”, ifA1 = 121to140,“140” and so on. Hope you can help Cheers
I am using a script feature to add data in the table. One of my field type is “Number”. Data coming from the API is in string. Hence, its not allowing me to add the data in AT, showing error - Error: Field “fldqIRRqhaalc20cqo3” cannot accept the provided value.
Im trying to figure out how to make the insurance deduction for my drivers automatic but only once a week when I run their payroll settlement.
Hey all! Here’s my situation: I’m working on a table with multiple linked records, and I have a rollup that displays the MAX(values) of a linked date field. Here’s my problem: I want said rollup field to display the date ONLY when another condition is met. When I use only MAX(values), it works as expected, but when I add IF(Condition,MAX(values),BLANK()) as below, it returns either a blank cell, or a zero. Here’s what the rollup formula looks like: And this is the result I get: I know I could get around this by creating a separate column for the IF() statement, and another column to show the Final Study On-Platform only if the IF() statement is true, but that’s messy. Hoping for a cleaner solution as my base is already getting quite large. Thanks! Paul
I’m trying to create a formula field to denote project “wave” based on a date range. So, if the target completion date is between 3/1/2020 and 5/30/2020, this would be “Wave 1”, if the target completion date is between 6/1/2020 and 8/31/2020 this would be “Wave 2”, etc. I’ve made a few different attempts, but it doesn’t like my formula. Any ideas?
I have a field that is called Re-Exam date. Each Re-exam date is the first of a month in a year. I want to count the total number records of the Current Re-Exam Date (the current month), Next Re-Exam Date (Next month), and the previous month Re-Exam Date. So let’s say a person had: 20 Re-Exams for the Re-Exam Date of 4/1/2022 14 Re-Exams for the Re-Exam Date of 5/1/2022 8 Re-Exams for the Re-Exam Date of 6/1/2022. I can total these in a formula to 42. And when the current month is 6/1/2022, the window shifts so I get the total of 5/1/2022, 6/1/2022, and 7/1/2022.
Hello! I have a table that has multiple single select fields with the options of “Complete”, “In Progress”, and “To Do.” I was wondering if there was a formula to count the number of fields with “Complete” as the selected option and turn that into a percent complete of all the tasks. Thank you!
I am trying to count the number of key phrases in a list (text field). I found help on Split Text to Columns on how to count words, but am wondering if I can adapt the formula in such a way that counts phrases instead? Here are some screenshots! In the first image I would like record 1 to have a word count of 2 rather than 4. The second image shows the current word count formula.
Is it possible to extract the color name or hex code of an option in a select field? I have this select field and I want to create a filter view that we won’t need to continuously update as we are constantly adding new categories. Everything for Marketing will be color coded ‘hot pink’ no matter what. I want the filter to basically be ‘if the select field is this color, then show record in this view’. My thought was that I could use a formula field to extract the color, and base the filter off of that formula field. So if the select field is ‘hot pink’ the formula field would say ‘hot pink’ and the view would be ‘if formula field is hot pink then show record in this view’.
Hi, I am using the Kanban view to follow the application process of my students. I would like to see on every card how long this card has been in this stack to quickly see if a card has been in a stack for too long. And if possible, I would like to be able to quickly see on a card if it has been move rencently in this stack (with a different color for this card for exemple). Do you know if it is possible to do this ? Thanks !
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.