Leverage this space to unlock the power of Airtable formulas.
Recently active
Airtable is measuring emoji length differently under functions LEN and FIND. In the screenshot, the two fx fields have the formula as the field name. With LEN, Airtable is measuring the length of “ :stop_sign: 23” as 3 [as if :stop_sign: =1]. With FIND, Airtable is saying the position of the “3” is at position 4 [as if :stop_sign: =2]. Emojis have differing character lengths, but it should be consistent within Airtable. When using LEN & FIND to extract data from an array, the results fail. In a large array, adjusting with a ‘remove the emoji>then put it back’ strategy is a huge sloppy mess. Any better ideas?
Hi there, I’m trying to figure out how to calculate rolling 3, 6, 12 month burn rate. What formula can I use to automatically calculate and update burn rate (or other average) based on number of past months? Thank you!
I have a table that has among other fields , OWNER, DATE OF MEETING, DISCOUNT. It has several different owners who I have met at different dates and given different discounts. I want to create a view that will show me only the OWNER and the last DISCOUNT I gave them at the most recent DATE OF MEETING. Nothing else. I have tried to create a column with formula MAX(DATE). Didn’t work. I also tried to group the records by owner then apply a Max, but I may have done it wrong because it did not work either. A Any assistance with a solution would be greatly appreciated.
Hi all! Would it be possible to use Airtable to find partial (but closes) matches in 2 differents tables (specific cells) and show the associated lines data? Ex. In table 1, in the choosen column for this query, there is a cell with ‘behind the word mountains’ In table 2, in the choosen column there is a cell with ‘behind words mountains’ I would like to have a view of the datas of both lines from both tables, when cells match partially.
Hello- I have this formula: IF({DESIGN: UNDER REVIEW},SUBSTITUTE( RIGHT(‘’&{DESIGN: UNDER REVIEW},1+ LEN(‘’&{DESIGN: UNDER REVIEW})-FIND(‘https:’,‘’&{DESIGN: UNDER REVIEW},LEN(‘’&{DESIGN: UNDER REVIEW})-133) ),‘)’,‘’ )) And what it does is it takes 20 files in one cell and extracts the latest image in on the right to always show in a new field. The issue is that it’s not recognizing some and the URL is blank that I am using the automation. Does it matter if I have PNG, PDF, MP4, GIF files all in one - wonder if that is causing it to break. Thank you!
Hey all! I have recently started using Airtable. I have two date fields that show the number of days between the two dates, and I want to add the first and last day .
Hello all! I have a somewhat tricky formula question that I’ve been banging my head against the wall over. I have a rollup field that compiles a list of dates. I’d like to pull the next date from that rollup field; in other words, the upcoming date that’s closest in time to today. Here’s an example of the field: And what I’m looking for is a formula field that will output the following: Row 1: 3/11/2023 Row 2: 11/30/2022 Row 3:12/29/2022 Does anyone have any ideas?
I am trying to make a point system for my students. I want to use barcodes to look up student names and to enter how many points they have. I tried setting it up but I don’t know how to cause a barcode input to find an populate a value into a record. Please help me understand what I am doing wrong.
I’m hoping someone can help me with a simple formula. I currently have a formula that counts the months between a start date and today’s date and displays it in months as whole numbers (ie, 2 months, 5 months, etc). The issue with just a whole number for months is that at 3 months and 29 days, it will show “3 months”, and at 3 months and 1 day, it will also show as “3 months”. A more accurate figure would be helpful. I also need the figure displayed in months, so the display in just weeks (ie, 9 weeks) or just days (ie, 52 days) wouldn’t be helpful in this case. I’m hoping there is a way to make it display in months with one decimal place (ie, 2.3 months, 5.7 months). I’d also settle for something similar such as “2 months 14 days” or even “3 months / 2 weeks”. I’ve tried using the formatting function within the settings and set it to “decimal” with a precision of “1.0” but it still just shows it as the whole number for the month with a “.0” at the end. For example, 3 months and 2 week
I have 2 Tables. Table A contains a field for a start date and a field for an end date and a unique ID field. Table B contains a date field. What I want is on Table B, when I input a date, I want it to return the unique ID field on which the date in Table B falls in, relative to the Start Date and End Date in Table A. This is Table A This is Table B My input field in Table B is Col B, and the output is Col C. The formula I found on Google Sheets to make this work is =ARRAYFORMULA(IFERROR(VLOOKUP(A2:A,‘INPUT - Live Streams’!A2:C,3,1))) Is there a way I can implement the same setup in Airtable?
Base is registration and records system for small private school that’s been operating for 60 years. The two tables I’m working on now are PARENTS and CHILDREN. In another thread here, I was trying to figure out how to copy addresses from linked records, but I think I’ve solved that question by using a formula field that calculates an address for each parent or child based on what records its linked to. In other words, if parent1 has an address, and parent1’s children and spouse do not have addresses, those records will all pull an address from Parent1. Minimizes duplicate entry and seems to work okay. The question My question is, in the PARENTS table, how can I identify marital pairs? I’d like to group them. One thing I have tried (that doesn’t work well)… For some reason (mystery to me), grouping by the Address formula field does not seem to work. Say Mary and John are married and reside together. Mary’s record, which was created first, stores the address at which she and her husba
Having to type formula strings when using something like Node.js to interact with the API is super difficult and tedious, especially with more complex queries. Since the formulas are strings the editor can’t provide any syntax correction tips about missing parenthesis or valid/invalid uses of various functions like FIND, AND, etc. Is there any easier way to create these queries? I put an example query I’m trying to create below which I’m completely failing to get working, although I have no idea why because there’s zero syntax feedback. I made it by joining an array of indented strings to provide myself with a little debugging sanity but that only helps so much. const filterConditions = [ "AND(", "OR(", `AND(FIND('${userId}', {uploader}), FIND('${teammateId}', {recipient}))`, ", ", `AND(FIND('${teammateId}', {uploader}), FIND('${userId}', {recipient}))`, "), ", "IS_AFTER({createdAt}, DATETIME_DIFF(TODAY(), -14, 'days'))", ")", ].joi
Hi everyone, I have 3 different tables: prospects (looking for a place) Landlords (renting a place) Matching table On the 1 and 2nd table, I have a column named “type of place” that is a single select option. People can then fill “House” or “flat” or “shop” for example. I would like on my 3rd table to be able to indicate in a column if there is a match between the answer of a prospect on table one column “type of place” and a landlord table 2 column “type of place”. I will then have a column : “Name of prospect” + a column “Name of landlord” + a column “Matching place” and the name of the matching criteria (eg: house). Someone knows how to do that? :slightly_smiling_face: Thanks a lot! Alix
Hi all I am trying to convert strings with numbers in them to just numbers. So the string is in that form R.N.A.(335,000) I just want the number The number ranges from 0 to 10,000,000 Thank you in advance
Hey clever people, I got following single line txt fields in my table: {Prefix}, {First Name}, {Last Name}, {Suffix}. I already use a formula to concenate this data: CONCATENATE({Prefix}," “,{First Name},” “,{Last Name},” ",{Suffix}) … this works fine. My problem/question, is it possible to make a formula that will put between {Last Name} and {Suffix} a comma if {Suffix} is not empty/null, instead of the space like above. If I replace the space with a comma it will obviously be everywhere, what I don´t want. For example: Prefix (Dr.), First Name (John), Last Name (Miller), Suffix (M.Sc.) - Formula Result: Dr. John Miller, MSc. Prefix (Dr.), First Name (Leroy), Last Name (Thompson), Suffix (null) - Formula Result: Dr. Leroy Thompson I hope you understand what I mean :grinning_face_with_big_eyes:
I am attempting to perform a task in which I’d typically use a Sumif formula. I’m trying to “sum” the extended price “if” the sales rep column equals the reps name. For example: Extended Price Sales Rep $400 Mike $250 Justin $150 Mike Result: Mike = $550 Justin = $250 Is there a formula / work around for this?
Hello! I have a form configured for my clients to fill out that asks in two cells for first and last names. In the table view is it possible either through a function or formula to have a cell that combines the names together to easily sort and identify my client list? Thank you.
In an Interactions table, I’m using a checkbox field to mark specific interactions 7-day follow-up. In a different table, I’d like to see if the most recent interaction for a contact has 7-day follow-up checked. MAX(values) works for dates but returns zero here. Thanks for the help!
Question: I need the ability to have an open text field show up called Text in my field IF the Item Description is Blank. So it would look like, CORPORATE REQUEST: ‘TEXT’. IF( {ITEM DESCRIPTION}=BLANK(),‘CORPORATE REQUEST’, CONCATENATE( {ITEM DESCRIPTION}, IF( {ASSET TYPE}, " - " & {ASSET TYPE}), IF( {COPY TYPE}, ": " & {COPY TYPE}), IF( {MEDIA TYPE}, ": " & {MEDIA TYPE}) ) ) Thanks!
I need to write a formula that uses a specific cell of data as a multiplier: IF({BoM Category}=“3.1-Infusion Ingredients”,({Formula %}*SPECIFIC CELL OF DATA),IF({BoM Category}=“4-Product Ingredients”,{Formula %},0)) Do I need to create an automation to do this? If so, what are the steps?
Hi there! I am a little stumped on creating these 2 formulas with a few different layers. All of my Commuity requests are about Iff statements- they hurt my brain, but I love them! If an If statement is not the best approach, please let me know :slightly_smiling_face: Formula 1 Display the word “Block” if a status is blocked, and if it does not say “Block” it shows the date/time/type of the webinar. What am I doing wrong here? If({Status})='Block','Block', DATETIME_FORMAT(SET_TIMEZONE({Start Date/Time}, 'America/Los_Angeles'),'MM/DD/YY h:mm A PT')&"-"&{Type}) Second Formula The second one works as is below but I want to add a second webinar type that would return the “Sponsor” name field in the results. If the webinar type is Sponsor OR Sponsored Survey, display date-sponsor-topic, ELSE display “date-webinar type-topic” IF({Webinar Type}='Sponsor',DATETIME_FORMAT(Date, "MM-DD-YYYY")&" - "&Sponsor&" - "&Topic, DATETIME_FORMAT(Date, "MM-DD-YYYY")&" - "&
I’m trying to count the number of female attendees in a training session - I’ve managed to get them into a text string (eg: ,Female,Female, ) but can’t count the number of times the word ‘Female’ appears. I just can’t work out the formula to give me a number - help !
I’m not quite sure how to do this but feel like there is a way in AirTable so I wanted to ask… I have a Base with three different tables filled with people. In Table C, I have a list of teachers that I have linked to a school leader, Table B, and in Table A, I have a list of District People that are linked to Teachers in Table C. Records are created in each table based on specific conditions. How can I help my team track their work? For example, if they go to Table A and lookup all the teachers associated with a district record on Monday and then a teacher that should be linked with the district record gets added on Tuesday, how can my team when they check on Wednesday distinguish between the teachers they saw on Monday verse the Teacher needing to be added on Tuesday? Hope this makes sense.
Hi! I want to have due dates as work days only, but the formula below gives 5 days before the start date, NOT 5 working days. IF({Start Date},DATEADD({Start Date},-5,‘days’)) Can someone please help me with the formula to make the due date of something 5 WORKING days before the start date? Thanks in advance.
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.