Leverage this space to unlock the power of Airtable formulas.
Recently active
I need help building a nested IF formula with ORs that implements the following logic: If {Field A} = ValueA OR ValueB then return contents of {Field X}, If {Field A} = ValueC, then return contents of {Field Y}, if {Field A} = ValueD OR ValueE, then return contents of {Field Z}. Thanks!
I have a base I am using for rehearsing a play. I have several tables including a character table, which I linked to the scene table, inputting which characters appear in each scene, finally linking a rehearsal table which has which scenes are being rehearsed on any given day. In the rehearsals table, I am trying to find any characters that will appear in any of the scenes rehearsed that day, without duplicates. I have tried a rollup command and a function command. I have played with ARRAYFLATTEN and ARRAYUNIQUE to no avail. Can anyone help?
Hi Everyone, I had previously accomplished this in Google Sheets, but since moving to Airtable, I’ve had a bit of trouble replicating it. We’re a dog training company, and want to count the number of packages that each trainer sells in a given month. My table has a column with a date field that contains when the package is sold, a column with the trainer’s name (a linked record to a trainer’s table), and a column if the package has been paid for. Previously in Google Sheets, I used a table that contained the date range for each month (ex. 1/1/22 to 1/31/22). The formula would see if the date the package was sold was between these dates, checked the trainer’s name matches, and if the payment contained the word “Paid”. Would love some help trying to get this working with Airtable :slightly_smiling_face: Thank you
Hi Community! I am trying to create a formula for wind bearing and convert it to a text. This is the formula I successfully created in Microsoft Excel and I was trying to follow a similar logic for Airtable… =CHOOSE(1+ROUND(A2/22.5,0),“N”,“NNE”,“NE”,“ENE”,“E”,“ESE”,“SE”,“SSE”,“S”,“SSW”,“SW”,“WSW”,“W”,“WNW”,“NW”,“NNW”,“N”) This is the formula I unsuccessfully created for Airtable. ROUND({field1}/22.5),(“N”,“NNE”,“NE”,“ENE”,“E”,“ESE”,“SE”,“SSE”,“S”,“SSW”,“SW”,“WSW”,“W”,“WNW”,“NW”,“NNW”,“N”)) Note: {field1} is a integer field containing the wind bearing number. Any ideas?? Thanks!
I’m guessing this scenario has already been covered, but I couldn’t find it anywhere. Feel free to point me to the relevant article if so. I’ve got 5 status fields, one for each of 5 teams. When a new project is added, the person adding needs to identify whether or not each team has any tasks to do in association with the project. If so, they pick “Yes”; if not, “No”. Then each team is responsible to update the status in the field from there. I want to create an AutoStatus column that put out the following: “In Progress”: if any of the team statuses is “In Progress” “On Hold”: if any of the team statuses is “On Hold” “Complete”: if all 5 statuses are either “Complete” or “No” (ignore "NA "- I’m taking that one out of the list) “Not Started”: if all 5 statuses are either “Yes” or “Reviewing” This level of complexity in formulas is beyond me at this point, but I’m confident that someone here will know how to do what I’m looking for! This will be an awesome step forward from what we’re
I currently have an IF statement formula nested into a longer SWITCH formula, and am looking for a way to modify it some. Currently it is IF({Total Order Sold Price} < 15, 2.95, IF({Total Order Sold Price}>= 15, {Sold Price} * .2)) I want to first check for data in the {Total Order Sold Price} field. If there is data, I want it to run this set of IF statements. If there is no data, I want it to run the same IF statements, with a slight modification: IF({Sold Price} < 15, 2.95, IF({Sold Price}>= 15, {Sold Price} * .2)) I’ve tried writing it a few different ways, the best I came up with is this: IF({Total Order Sold Price}, IF({Total Order Sold Price} < 15, 2.95, IF({Total Order Sold Price}>=15, {Sold Price} * .2))), IF({Total Order Sold Price}=BLANK(), IF({Sold Price} < 15, 2.95, IF({Sold Price}>=15,{Sold Price} * .2))) Nothing is working so far though. Any help is appreciated
Hello. I have two tables. Hardware and Ratings. Hardware is linked to Ratings and rolls up different ratings for hardware records. I have a roll up field in the Hardware table called ‘Average Rating Back’ which rolls up all the ratings (from the Ratings table) per hardware record to create an average. The formula I’m using here is: IF(ISERROR(AVERAGE(values))=0, AVERAGE(values), BLANK() ) I have a formula field as below in the Hardware table which converts the roll up fields integer and turns it into stars (essentially an average rating). IF({Average Rating Back}="",“This hardware hasn’t been reviewed yet”,REPT(“ :star: ”, {Average Rating Back})) If I don’t have an integer in the roll up field then the text will appear as per the IF statement. If I do have an integer then I use REPT to show a star per integer i.e. 2 = :star: :star: . This was all working fine until I just received an #ERROR! after the roll up field rolled up a ‘5’ and a 4’ rating for a hardware record. Do you know wh
Hi there, I have have a roll-up field that gives a load of values as CSV. Great. Turns out they are naturally in chronological order - Great again. They are all variable values with sometimes variable decimal points too. So I want to extract the last value. e.g. From this 19795.59,3909.09,6753.98,12435.720000000001 I am only looking for “12435.72” I’ve been thinking that I can use RIGHT and FIND the last “,” and select what comes after. But I always need a number of characters to look for. Is there a way to include the range to be from the last “,” to the last “.” +2? Thanks in advance!
So im having an awful hard time trying to figure this out. I only need the price in “Monto Texto”, im trying very hard to get only the number but for some reason “Monto2 Cut” is not formatting into number. My other guess was that its the comma that makes it unable to treat it as a currency or number, so I created a third column where I deleted the comma and still no luck. Any help is appreciated. I just need to be a number to make some calculations.
I want to track when a person takes stamps, and display the total stamps we have left. For example, We have 200 1st class stamps. Courtney takes 5 1st class stamps. The new stock is 195. Bridget takes 5 stamps. the new stock is 190 1st class stamps. Also tracking global stamps, and ‘over 1oz’ stamps. I need to track who takes what, when, and how much we have left. Easy to do in excel, not so much here.
I have print shop. And I have a need to calculate the useful usage of printing roll. For example, I know that the roll is 100meters, so if I add all printed jobs between replacements (ex.89meters), I know that my useful usage is 89%. So I have this table with fields (order#, meters, date roll changed, #number5) where #number5 right now filled manually. How can I replace it with formula field doing same comulative function between roll changes.
Hello everyone! I have an email address column. I want to create a formula column that will search each email domain for a specific text string; if that specific string exists, the formula column will print a pre-determined ID (also as a text/string). To illustrate: If an email address comes from abcd@paypal.com, input “PAYPAL” into the formula column. If an email address comes from zyxw@vrbo.com, input “VRBO.” I’ve tried combinations of Nested IF statements, SEARCH and FIND formulas, etc. but I’m stuck and would appreciate help. Here’s a screenshot showing the end result I’m looking for.
Hello Airtable Community! We have a situation where I am trying to create a “pass” of “fail” grade on wether or not an estimate was submitted by a certain date and time. Our table is structured as follows: There is a field called “24 Hour Deadline for Estimate” that is the deadline we are holding our estimator to as far as his deadline to submit to our customers. There are a few other fields that show the two different estimates and their correspond totals, as well as the roll up of the two types for a grand total. We also have two lookup fields that are filled out when we actually submit each type - “(MIT) Date Submitted (LU” and ““CON” Date Submitted (LU)” are these two fields. When our estimator submits one or the other on another table, he puts in the date. That is what these two fields are looking up. The ultimate goal of the formula that I am stuck on is to grade as “Pass” or “Fail” if we submit both of the estimates before the deadline. This field is named “Grade on 24 Hour Sub
The primary field here is the issue key. The issue key represents an “Epic” when the {parent} field is blank or when the issue type is “Epic” not “task”. The parent field links issues, with their epics - this confuses my existing formula for concatenating parent and summary or issue key and summary fields.
I am trying to have fillable fields in a encoded url that uses filterbyformula. here is my example: unencoded formula that gets a subset of records from a table. Here the search criteria is explicit. OR(AND({authenticatedUserId},{authenticatedUserId}=‘recB7VzcJLuL6UgIK’),AND({mobile},{mobile}=’+1 2345678987’),AND({email},{email}=‘johndoe@example.com’) here is the encoded form that will be used in the url as query. filterbyformula=fields%5B%5D=zwsMemberID&filterByFormula=OR(AND(%7BauthenticatedUserId%7D%2C%7BauthenticatedUserId%7D%3D’recB7VzcJLuL6UgIK’)%2CAND(%7Bmobile%7D%2C%7Bmobile%7D%3D’%2B1+2345678987’)%2CAND(%7Bemail%7D%2C%7Bemail%7D%3D’johndoe%40example.com’)) I would like to be able to have the explicit data be fillable fields. filterbyformula=fields%5B%5D=zwsMemberID&filterByFormula=OR(AND(%7BauthenticatedUserId%7D%2C%7BauthenticatedUserId%7D%3D**{{input_auth_user_id}})%2CAND(%7Bmobile%7D%2C%7Bmobile%7D%3D{{input_phonenumber}}’)%2CAND(%7Bemail%7D%2C%7Bemail%7D%3D{{input_
Here you can see I have 2 records, one has the value "abc\ndef" and the other has "abc\rdef". I can query the first one with {Value}="abc\ndef", but I cannot figure out how to query the second one. The obvious thing of "{Value}="abc\rdef" does not work, nor does any other thing I’ve tried.
Edited: I solved the first issue I mentioned. However I cannot figure out the issue regarding the formula {750mL}*13
Hello everyone! Hope you can help. I’m looking for a formula that will return the number of a quarter (e.g. Q1, Q2, etc.) based on the current date and the date when the customer started his subscription. For example, if the customer subscribed on October, 1st, 2021, and today is 13 January, 2022, it should return Q2 so that we knew his subscription phase, or quarter. Thank you!
Happy New Year, Airtabletons. I hope 2022 is good to you all. Here is my scenario. I have a table which is populated with all our employees, freelancers and contacts. Using a combination of manual entry and linked records I then populate a 2nd table with only our employees and freelancers which is then used to construct an org chart. My question is, is there a way to automatically copy the contents of a cell from the master table to the 2nd table IF the record contains a certain company name within it’s record? So for example: If a record within TableA contains “CompanyA” or “CompanyB” I want to have the first cell of that record entered into a new line on TableB. I hope that makes sense guys. Thanks in advance for your time.
Hi there, I’m using Airtable to log some vitals for my doctor, and, for some reason, DATETIME_FORMAT is returning the wrong times. So, 1:17 becomes 7:17, for example. Here’s my formula: DATETIME_FORMAT({Auto Date},"M/D/YY - h:m ") & {AM/PM} Any suggestions would be appreciated! :slightly_smiling_face:
Hi, I am agonizing over a function that will allow me to subtract a value of -1 every one day from the number in the “Days” column. The function is supposed to start counting when TODAY()>=“Date Start”. I made such a function in the “Days count” column but it shows the range always smaller by 1(when there are no weekends) and when there are weekends by (-1, -2, -3 etc) depending on how many weekends it has along the way. Here is my function from the Days count column: IF(TODAY()>={Date Start}, IF(Weekends="with weekends", DATETIME_DIFF({Date end},TODAY(),'d'), IF(Weekends="without weekends", DATETIME_DIFF({Date end},{Date Start},'d')- (INT(DATETIME_DIFF({Date end},{Date Start},'d')/7)+ IF(DATETIME_FORMAT({Date Start},'e')>DATETIME_FORMAT({Date end},'e'),1,0))*2, "") ), “”) Anyone have any idea how to write such a function that would do this correctly? The function has to subtract from the value in the Days column the value -1 every day and ideally it
Hi there - Looking for a way to have a formula show the first of the month for the current month and year. I.e. the formula fields says 2/1/2022 when it is Feb, then when it is March 3/1/2022 and so on…it would update on the first of each month Any help out there?
Hello there! I was just reaching out to see if there was a chance that someone, literally anyone can provide me with a BMI formula, please! I am trying to calculate BMI using height in inches and weight in pounds, and I’ve been searching for weeks for one that works, but it never accepts it. I’ve seen many articles and tips on conditional logic, but I don’t need it to tell me whether or not they’re overweight, I just need the actual BMI number. I’ve exhausted my personal and searchable resources, and since I’m also pretty new to this, when I DO find a formula that I think may work, I have trouble converting it from kg and meters or centimeters… I would be VERY grateful for a formula that I can copy and paste into the formula spot. My height and weight are both formatted to integers in inches and pounds and the result I would need for BMI would be for example Height: 64 Weight: 160 BMI: 25.7 Despite my many attempts I have become very frustrated with this and for some reason I cannot fi
Hello to the community, And happy 2022 for everyone who reads this topic :winking_face: Maybe I’m the only one to face this situation but I’ve created a pretty simple formula field which should provide a simple 1/0 boolean answer based on 3 conditions. One of those conditions is if one linked field to another table (Order_ID) is still blank/empty. IF(AND({Payment Status}!=“paid”,Order_ID=BLANK(),REGEX_MATCH(Email, “(\W|^)[\w.\-]{0,25}@[A-Za-z0-9.-]+\.[A-Za-z]{2,}(\W|$)”)=1),1,0) Guess what ? It doesn’t work. I’ve also tested the NOT(Order_ID) based on what I’ve read and it doesn’t work either BUT it works on a separate formula cell (see below the second line) : Other 2 conditions work perfectly. I assume this is due to the structure of a linked record by itself but I’m not sure. Thank you for your help. Best, Y
Hi, I want to remove the text “project to archive” in my primary field. Can I do this with a formula? This is a primary field, I don’t know if that’s an issue?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.