Leverage this space to unlock the power of Airtable formulas.
Recently active
Hello! Is these a way to reverse this? To show 2023/Q1 instead of Q1/2023. IF({Your Date Field}, “Q” & DATETIME_FORMAT({Your Date Field},‘Q/YYYY’) )
Hi everyone, Hitting a bit of a wall with some formulas and wondering if anyone has a more elegant solution to this… I’m working on a new base that records start and end dates of some work that we do. I then have a datetimediff that calculates the number of days that the record was running (see mocked up example below). We compile reports annually, and I regularly need to show days of work that only fall within the previous calendar year. At the moment I calculate this by pulling off a CSV, adjusting the start and end dates to only cover the range and do a DATEDIF in Excel. Can anyone think of an automated/conditional way of only counting days that fall within a certain calendar year? As you can see above, reporting for 2021 would involve projects 2 and 3, and reporting for 2022 would involve projects 1 and 3. Any thoughts/ideas?
Hello, I have formatted the date but the hour displayed shows 1 hour less. How can I display the exact time in hours and minutes in the field {date formatted} ? The formula I use is : DATETIME_FORMAT({Time slots},‘DD-MM-YYYY à HH:mm’) How can we solve this ? :thinking:
Looking for help creating a formula to output one of these answers based on a person’s meeting start date and the completed date of the program. Meeting Status field (formula): • Done • ToDO • NA • Upcoming My fields are- • Meeting Start Date – • Program Date • Current Date Field If a person has a meeting start date of 11/1/2022 and the program date is 12/1/2022 then the field should output “NA” If a program is scheduled for a future date, then the output should be “upcoming”- If a person hasn’t completed the program, the output should be “ToDo” If a person completed the program, then the output should be “done” I appreciate any help.
Is there a date formula to calculate the 1st of the month based on a date? For example, I want to calculate 11/1/2022 for 10/15/22, 10/5,22, etc. = Wendy
Hello- Trying add a field that can add days to my formula, any thoughts? IF({DC Arrival Date}=BLANK(), BLANK(), IF(OR({Production Type} = ‘Domestic’,{Production Type} = ‘Puzzles’), DATETIME_FORMAT(DATEADD({DC Arrival Date},-56,‘Days’),‘MM/DD/YYYY’), DATETIME_FORMAT(DATEADD({DC Arrival Date},-98,‘Days’),‘MM/DD/YYYY’)))
Apologies, very new to Airtable. I have a view based on a table that has players weekly scores. The view is group by Player Name and Sorted By Score (Desc). In each group I would like to add a rank column so then I add an additional filter to filter by Top x scores per player. I tried autonumber but would need autonumber to reset for each player grouping. Any ideas? Thank you Mark
Hello, im trying to introduce a new formula field but for some reason it is just highlighted in gray and won’t let me type anything on the formula field.
Hey All, I’m sure this is somewhere and I’ve searched but I’ve not seen an explanation to certain “things” within the REGEX_EXTRACT field: REGEX_REPLACE(Email, “(\w+)\.(\w+)@.+”, “$1 $2”) for example, I get what it’s doing, but not sure of those internal things, like \w+) etc. What I need is really simple and I was thinking I’d use the regex to extract just the @email.com part. IF({Attendee Email - for Invites}, REGEX_EXTRACT({Attendee Email - for Invites},UNKNOWN PART OF FORMULA),“BLANK FIELD”)
Hi, I have the folowwing formula: IF({Type Relation} = "Mr","ok","pas ok"), it’s just a test because in my make automation i’ve a problem, and now I understand why, because in my airtable base the formula doesn’t work correctly in a first try. When my automation write “Mr” in my “Type Relation” field, the formula don’t see “Mr” in the first try. If you see the next screen, you can see that when I remove the final “r” of “Mr”, the formula is always to “pas ok”, it make sens and no problem here. When I rewrite the “r” to have “Mr” (What I had in the beginning), the formula is updated correctly to “ok”. Have you ever seen that ?
Hi! I need to create a formula that concatenates the First Name and Last Name columns. I could do that part easily enough. But I also need it to look to see if there’s a value in the Preferred Name field and if that field has a value in it, to substitute that for the First Name. Is this possible? How would I do this? Here’s a screenshot, for reference:
I have an Inventory base that was not created by me, but I’m the owner now. I have a Materials Checked In table, that I need to sum up the qty received by PO and description. I tried using the Roll up, but it pulls all of the items by description, which is not helpful when I need to see items received by PO. This way I can see the Ordered Qty, Received Qty, then have an Open balance remaining per PO.
I use Notion as a notebook to keep track of the formulae I’ve written in Airtable, it has a handy “code” block to highlight language syntax. Does anyone know which language I should select that’s most similar to Airtable formula syntax? It doesn’t have “Excel” as an option.
hi, I really have no idea what Im doing here, I have a field that is a series of number and letters followed by a ( then more letters and numbers followed by ) example field 1 bob( Joe ). and I want Bob the amount of chariters inside and out of () is variable, the only thing I can go off of is the ()
When creating a formula field with an IF statement where I want to check the value being returned before deciding to use that value or display something else I run into an issue where it seems terribly inefficient to have to basically have to call all the functions twice. IF({INSERT CONDITION HERE WITH A LOT OF FUNTIONS} > 0, {INSERT CONDITION HERE WITH A LOT OF FUNTIONS}, “NO”) Is there any way to avoid having to basically calculate a value for something twice when using it in an If statement? I’d hate to have to make a field just to hold calculated values that are only useful so that the IF statement doesn’t need to calculate the same thing twice. Our fields are already a bit bloated as it stands. Any creative solutions?
I am getting in inexplicable result from a RIGHT(SEARCH()) formula. My .csv import includes the field [Payroll Name} formatted as LastName, FirstName. I found a name reversal formula on this thread: RIGHT({Payroll Name}, SEARCH(‘,’, {Payroll Name})-2)&’ ‘&LEFT({Payroll Name}, SEARCH(’,', {Payroll Name})-1) The formula returns the last name correctly, but the first name returns a maddening variety of results. Some first names are correct, others include the comma and space from {Payroll Name}, some include the last letter of the last name, or remove the first, second, or third letter of the first name as shown below (The FirstName and LastName fields are the respective portions of the {Name} formula, shown for clarity). I have tried a variety of values for “-1” and “-2” (among other things), with unsatisfactory results. Of course I can correct the first name problem in Excel before importing, but I am super curious about how to fix it in Airtable. What is going on here? How d
Hi everyone! After checking several topics I still couldn’t find something to solv the problem I’m facing, so here I am. We have a table called Tasks and the following fields are important for this: Due Date (Date field) Completed (Checkbox) Completed within due date (formula) We added a Last modified time field to look to Completed field, so it returns the date that collaborator finished the task. To compare the date that Completed was checked with the due date, I tried the following: IF({Due Date} = {Last modified time},“1”, IF({Due Date} > {Last modified time},“1”, IF({Due Date} < {Last modified time},“0”))) The problem is even if Due Date and Last time modified has the same date, the formula field is returning 0 and my guess is beacause of the time. Due date was not created with time - because it doesn’t metter for us - but if we allow time, it shows “11/16/2022 00:00”. So Last time modified will always be after due date since we will always finish our task after 00:00. And
Hi community! :ukraine: I need some help with some basic formula creation. I have a 2 table, first - my clients, second - affiliates. I want to count how many clients each affiliate bring to my services. Each affiliate has thair unique ID, witch are in bouth tables. I clearly understand what formula should do, but I’m new to any programing skills so do not know how to wrote it correctly using formulas syntax. My formula should find affiliat ID in Clients table, count them, and show result in Affiliat table alongside to each affiliate. Will be thankfull for any advise with this.
This is a newbie question. I have a sequence of numbers in my inventory and these are not auto generated, so I am either working with Number or Formula here. I am trying to add zeros to a sequence so that all numbers have 6 digits. Currently, my numbers start at 0 and go up to 4 digits, I think I am looking for an If / Then LEN formula, but I can’t figure out the syntax to make it work. For example, I need 5 to read as 000005, and I need 1401 to read 001401. etc. Thanks in advance.
I would like to omit the semi-colon when a field is blank, and I know it can be done using IF, however my brain cannot wrap around how to pull it together! Can anyone help? Here’s my example: The current Formula I am using: Much appreciated :slightly_smiling_face:
I need a formula column to show weeks until a Due Date. I have a Due Date column, but I can’t figure out how to set up the formula column to calculate the number of weeks from today until the Due Date. And I need it to update continually. Is this a possibility? Any advice on making this work? Thanks!
I am doing a rollup on a field that has text (2-letter US State): ARRAYJOIN(ARRAYUNIQUE(values),"\n") I am wondering if there is any way to alphabetize the result output?
Is there a wide to hide data in certain cells using a formula? I am trying to work with date data coming from Memberstack that appears in UNIX form. I have a column converting the UNIX data to readable data. DATEADD('1/1/1970',{UNIX Renewal Date from Memberstack},'seconds') I have a column for Manual renewal dates. Some people are outside the system. I have a column that merges the two. IF there is a Manual Date, use that, if not, pull the Converted UNIX renewal date. It works mostly fine. It is setting the manual renewal date back a day, which is weird, but not the end of the world. IF({Manual Renewal Date}, {Manual Renewal Date}, {Converted Renewal Date From Memberstack}) Now the issue is that the UNIX baseline of December, 31, 1969 is showing up anywhere there is a blank cell. Is there a way to get rid of that? Essentially I am looking to either have a blank cell of a simple N/A instead of the 1969 date. Screenshot attached for reference. Thanks in advance!
how can I do an if statement in a rollup? so I can check a value before the rollup is completed thanks
I’ve seen this asked a couple places on the forums, but I haven’t seen a response yet. Looking for a way to track streaks for a habit tracking base I’m building. As you can see from the screenshots, I’m using one table for habits, and one for days (called Log). I’m assuming the streak field (consecutive days done) would be on the habit table, but that it would likely have to be some kind of fancy rollup formula that references the Log table. Any ideas on how to accomplish this?
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.