Leverage this space to unlock the power of Airtable formulas.
Recently active
Hey, there! 🤗I have a column named "Time" that has the time a test was taken based on military time. I'm trying to get the the column "Time of Day" to be able to populate automatically either "morning," "afternoon," or "evening."I believe I need an IF statement.If score time is:0-11:59: morning12-16:59: afternoon16:59-24:00: eveningMy formatting is probably way off 🤣 I am very new at formulas. This was based off my research in other forums.Thanks! Here's what I tried: IF( {Risk Score} < 0, "error, value too low", IF( {Time} < 12:00, "morning", IF( {Time} < 17:00, "afternoon", IF( {Time} <= 24:00, "evening", IF( {Time} > 24:00, "error, value too high" ) ) ) ) )
const Airtable = require('airtable'); const airtable = new Airtable({apiKey: 'patMH--changed--FEQXBB4',}); // Replace with your Airtable base IDconst baseId = 'appM0aa--changed--DFmhzwJv6w'; // Replace with the table name you want to accessconst tableName = 'home_first';airtable.base(baseId)(tableName).select({filterByFormula: '{RECORD_ID() <= 5}', // Filter to get the first 5 recordsmaxRecords: 5, // Limit to 5 records}).firstPage((err, records) => {if (err) { console.error(err); return; }records.forEach((record) => {console.log(record.fields); // Access record data using record.fields object});}); I keep getting the following error: ○ node one.jsAirtableError {error: 'AUTHENTICATION_REQUIRED',message: 'You should provide valid api key to perform this operation',statusCode: 401}Yes, I have given full permission in the scope to access the base and the read and write permissions.
Hello:New to Airtable and new to the forum here...Looking for a solution to combine records in my field {Component], for every change in records in my fields {Location ID} and {Room}. For example, in the attached image I would want to combine WF218, W361824, RF9624 3/4, W3330, and so on to B18, in a new field. This is to correspond with {Location ID} 1-3-302 and with {Room} A Acc Kitchen. For the next combined field, the result would be ADA SB30, for location 1-3-302 and room A Acc Bathroom. I would like to accomplish with a formula, but I understand I may need to create a new linked table. I am attaching 2 views; one is grouped and one is a straight view, for clarity. Thanks so much!!
Hello! I found the "Splitting text to alternate columns separated by ;" thread and was hopeful that it was exactly what I needed, but after trying to implement this formula I am not getting the expected outcome. I'm not sure if it has to do with the format of my data including a mix of hyphens and underscores or if there is something else I'm missing.I have anywhere between 1 to 5 lines of text that I need to break out into their own columns instead of being combined. Ideally I would have five new formula columns that allow me to break these out based on them being separated by "\n" or if that it not possible, I can also add a ";" at the end of each line to simplify the formula if it helps!Example Data:abc_def-gh_ij-x-kl_mno-pqu-first-msg-x-240101abc_def-gh_ij-x-kl_mno-pqu-second-msg-x-240102abc_def-gh_ij-x-kl_mno-pqu-third-msg-x-240103abc_def-gh_ij-x-kl_mno-pqu-fourth-msg-x-240104abc_def-gh_ij-x-kl_mno-pqu-fifth-msg-x-240105A sincere thank you in advance to anyone who takes the t
Hi, I created a form where people can choose if they want 1 or 2 tickets. I have 40 tickets only available. I have no idea how to setup the form and the table so the form close when the 40 are reached.... Any ideas ? Thank you !
Hello,I am trying to make the process of time tracking more user-friendly. Instead of using the duration field and writing manually each time record, I would like to use two single select fields as StartTime and EndTime pickers, each containing values 00:00, 00:15, 00:30, 15:30, 15:45, 16:00, etc.But I am stuck with a formula that makes a magic difference between these two times.Is it even possible with a formula, or does it need to be done with some sort of script?Thank you
Bonsoir,Je souhaite lier la colonne case à cocher : Classée, avec la colonne Prix, pour que dans la colonne : Prix collection, apparaître le prix uniquement si j'ai coché.J'ai mis la formule : [SI ( {Classée} = 1 , CONCATENER ( Prix ))]Sauf que je ne peux pas faire la somme de la colonne : Prix collection.Dans la mise en forme, j'ai ce message : Votre type de résultat n'est pas un nombre ou une date. Pour le moment, les options de mise en forme sont disponibles uniquement si le type de résultat est un nombre ou une date. Je vois bien que mes chiffres sont à gauche et non à droite pour avoir cette somme, comment je peux modifier pour obtenir ce que je veux ? Merci d'avance de votre aide.
Hello Everyone,I am wondering if there is a formula to replace these characters "&lt;" and "&gt;" that take the place of the "<" and ">" when I import a CSV from Webflow into Airtable. Mailchimp is not able to read it as is. Thanks very much!
HelloIs there a way to include hyperlinks in a base? I am importing data from Excel, where I collected the profile of n individuals and for each profile I have general information (name, education, job title etc) and a link to their LinkedIn page. When I paste or import the data into Airtable, however, the links turn into plain text. Does Airtable support hyperlink functionality? Thanks in advance!
I am struggling to figure out an IF/THEN statement that includes an OR. Here is what I'm needing it to do.I want to say "If there is anything populated in Column A, I want it to pull it into Column C. And if there is anything populated in Column B, I want it to pull into Column C, as well." Here is my current formula IF(OR({DMSID Formula},{EG DMSID Formula}),{DMSID Formula},{EG DMSID Formula}) This is pulling in "Column A" (DMSID Formula) into "Column C", but it is not pulling in "Column B" (EG DMSID Formula). Any suggestions??? I appreciate any help that anyone can provide!
Hi,I would like a new field that tells me if a date has passed on an old field, called due date.So I would like the new field to say 'Yes' if the date has passed, 'No' if the date has not yet passed, and blank if no date provided.Going around in circles with this one so any help would be appreciated. Thank you!
Hi - I use this formula to figure out when to follow up with applicants: DATEADD({Initial Email Sent}, 2, 'week') But I'd like to have it return a different result (1 week vs 2) when my applicants are getting fast-tracked. I tried this: DATEADD( IF({Send Initial Email}, "Initial Email"{Initial Email Sent}, 2, 'week',"FastTrack Initial Email", 1, 'week')) But it didn't work. Do you have any suggestions for me? Thank you!
STATUS (multi select)RETOUCHING STARTS (date)RETOUCHING FINISHES (date)IN RETOUCHING DONE What formula or automation can I use so that when I change "STATUS" to "IN RETOUCHING" a date is populated in "RETOUCHING STARTS" and when i change the "STATUS" to "DONE" a date is populated in "RETOUCHING FINISHES?"I can not use the last modified because I want the date to remain the same when I change the "STATUS" to "DONE."
Hi,I cant for the life of me find a formula to I have 3 date columns in each record, only one of these will be populated per record, i want to create an additional single column which would auto populate with the date from either of these 3 fields so i can format it to a week number (and YY of possible).Is this possible to do and if so can anyone help with the formulae for this please?Thank you so much, Sarah 🙂
Hello everyone! I'm a new member in the airtable community and wanted help on my airtable problems. I currently have a base table that receives emails, the problem currently is that it saves the whole email chain instead of just the email itself. I wanted to ask if there's a way (scripting/formula) to automatically remove lines of texts after the word "From:" for every new entry that comes in. Thank you!
Hello Everybody, I am new to Airtable, would like to ask for a formula that shows me all records coming next month depending on a start date. in other words, I am sending this for operations people, and they want to see all their projects a month ahead. Can you guys help me with that?
Can someone please help - I’m not sure if a formula, rollup, lookup or another option is best for this scenario. In order to job cost correctly, I do not need the duplicates of the payment amount, as it will show more was paid. I see a way around this by adjusting the amount due, however, with multiple people entering data, and checks being cut differently, based on 3rd party financing department details of payment are not known until the check is cut, typically 30-days after the invoice is received. When a contractor submits an invoice and it is paid as a partial payment - I am currently entering the information twice to keep up with the accounting end, however, as you can see from the example below it looks as if there is still a balance due, when in fact the invoice is closed out with no balance. Thank you.
I need to re-establish a formula all ready created for our Content Title field? I changed this to a Single line text and it changed the whole field, how do I change it back?
Hi,Somehow Airtable doesn't understand my dates as dates so grouping goes wrong. In an interface I have a list of booked events that I want to be grouped by their date. That way, I can easily see day by day how many events are booked. The grouping column is based on a formula picking out only the date from another column where the full date/time is stored.As a European I prefer 'DD.MM.YYYY' as the format, so my formula to give only the date is:DATETIME_FORMAT({date/time},'DD.MM.YYYY')This gives me visually 27.5.2024 for May 27, 2024, which is what I want. The grouping result, however, becomes like this:02.06.202414.06.202422.05.202428.5.202431.5.2024Grouping is apparently performed on the first digits, not as dates.Why doesn't Airtable understand a date that is only formatted into DD.MM.YYYY as a date?Rgds,Björn
Working with birthdays where I only know the client's Month/Day and not their Year of birth. So text field is 5/12 for example but I'd like to have an actual date of 5/12 so I can set up reminders 5 days before the actual birthday. I used the following formula but it's not working correctly. DATETIME_PARSE(Birthday, 'MM/DD')Thank you in advance
So let's say I have a table that is going to have different numbers in rows listed in a single column, like below.2331618And in another table, I have some ranges filled into two columns, with a min column and max column, and a third column with a name, like so below.0-10 Sally 11-20 Joe21-30 Bob31-40 JaneNow how do I have the first table use the second table to evaluate a number to determine which range it fits into so that it can show me the name in the first table?23 Bob31 Jane6 Sally18 JoeI'm OK with formulas prior to this need, but now I am totally lost. I don't know if I am supposed to use rollups, lookups, linked tables or what. I've never linked tables before and I need a guru to translate my need into something that gives me a clue on what to try. 1st time here on this forum.It's like I want to say "see which range my number fits into and display the name for me".My actual real-life problem is of a larger scale where I have close to a hundred ranges, not four like I have i
Hello. I am having issue with my formula returning errors instead of 0. I tried using adding If to the beginning of the formula and also the ISERROR but nothing is working the way I need it to. My formula is returning 1 if Purchase Close Date was last month. Below is what the formula currently looks like. Thanks in advance for any help! DATETIME_FORMAT({Purchase Close Date}, “YYYY-MM”) = DATETIME_FORMAT(DATEADD(NOW(), “month”, -1), “YYYY-MM”)
Hi,I have a series of lookup fields that return multiple dates. I'd like to combine those fields into one, listing all of the dates returned in M/D/YYYY. I've messed with datetime_parse and format with a concatenate, but the formatting is either not M/D/YYYY or it only returns the first date listed in a series in the lookup field.Thanks for any help!
I have an Excel formula I'd like to replicate in Airtable.This formula converts different currencies into GBP.Excel:=IF(M2+(N2/1.25)+(O2/1.2)+(P2/8.75)=0,"",M2+(N2/1.25)+(O2/1.2)+(P2/8.75))Key:£ GBP$ USD€ EUR¥ CNYM2N2O2P2How would I go about it?
I am trying to take the word count of a book (ex: 100,000 words)divide that by 9,300 (which is how many words an average narrator can read per hour)to come out with the actual time in HH:MM format. This is the formula I have currently and how it turns out. . What formula would I use to divide the word count by 9300 to come out with a HH:MM?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.