Quickly Build a Recipe Form inside Google Sheets

I think this is going to be a really cool video we're talking to Inga about a recipe Builder she's making uh she has not found a good recipe Builder that's flexible and what we do in this video is add a form sort of inside of the sheet to programmatically enter recipes into a database we do this not because we don't like Google forms but because we want to use Google Sheets only and sometimes we're the ones adding things to our sheet and we want them in some kind of data validated State we want structured data but we don't want to create a Google form on the outside we're not looking for external information coming into our sheet we are the ones adding it and creating this kind of form that How to Create a Google Form Automatically When did you learn the secrets of Google Sheets? | Sheet Talking Episode 8 Esa Curate Google Sheets Easily - Automatic Bookmarklet Maker Create Google Form Automatically

programmatically can enter our data in uh helps us to structure that data in a certain way in the form and then be able to move it over and do some calculations at the same time once we hit that click submit button I hope you get something out of this also magically from this intro to the video I'm going to grow a beard how about you tell us Ina who are you what do you do and how does this spreadsheet before we get into the spreadsheet how does this spreadsheet work into your life now yeah cool so I I work in a full time in different industry so but on the side I'm interested in nutrition science so I did my courses and Etc so I've been using meal planning tracking app for so many years but what it is is more of a traditionally we cook one pot meal it's Spreadsheet Automation for Beginners Are you an A1 or B2 Kind of Sheet Guy? What is a Spreadsheet? Anatomy of a Spreadsheet

not like you know like piece of salmon on top of a salad you know it's it's it's very difficult to track them I know they have a recipe Builder functions that came into the app but it it's still again membership and then it also is very difficult to learn if you're not familiar with the interfaces so I thought well let's build my own personal you know meal plan because I like to shop at the markets and things so I don't buy packaged stuff so app scanning of the barcode is a no question for me so you know when I actually start doing that it's so difficult to find the exact things to ingredients to add into recipe and then actually a portion it properly and especially if you plan ahead you don't know exactly how much you're going to put into that cooking recipe right

sometimes so that's why I kind of thought well let's build a sheet for myself to make it easy so in know you know I can make a one week week of meal plan for each day that you know works with my macro plan so that's sort of where it started it's been stagnating for years and years now I think right we we we build a spreadsheet not because it's easy but because we thought it was easy yeah basically and so you made this sheet because you use the apps already one thing is Right cost there are some amount of cost even if it's five or $9 a month that adds up it's like $10 a month is $60 a year after 3 or four years you're still you're already in into over $100 invested in an app that may not be doing what you wanted to do as you said 10 Google Sheets I Wish Someone Would Make Are you an A1 or B2 Kind of Sheet Guy? BIG YEAR - Free Google Sheets Yearly Planner Template

one pot meals are as you said one pot meals aren't really covered in these kinds of nut you don't select with the ingredients you can add the recipe and build it in some of the app not all of them but still it lacks the flexibility I guess they come in a long way in the last few years those apps but then again who has you know 80 to $150 each year to pay for it and then you know it's unless you're really seriously into fitness and bodybuilding I don't think people you know really pay that much to use the app they use the free version it has a limited you know features Etc so and now you're building this for yourself obviously first that's sort of what a lot of spreadsheet Builders do but are you interested also in selling this

sheet yeah so not so much of selling I guess because on the side as a hobby I usually coach my friends into exercise and nutrition plan side of it so it would be easy to give them the tool to actually work with it it's not exactly a business at the moment but hopefully one day once I'm you know not working in different field then potentially make a progression into different that's super interesting that you're going to have users people who are not yourself using this not necessarily selling but maybe considering it in the future but yeah spreadsheets are very different the moment we have to give it to someone else to use right there's some weirdness that happens where we're like we're so it's so intuitive to us because we built Surprising Things about Selling Spreadsheets Turn a Fitness Planner in Google Sheets Into Passive Income How To Sell Google Sheets For Fun And Profit The Business of Spreadsheets! Interview with Owner of The Template Nook

it step by step we know it intimately and then once a third party a separate person starts using it sort of you go oh yeah why did I make that decision oh yeah you just have to click these three buttons oh yeah you just have to enter here here here and if you're going to be giving it to multiple friends multiple family if you're going to be giving it over time there's also a weirdness in sheets and creating sheets for others to use how you update them I've at least found that it's not bad in any way it's just weird and awkward where like I have a sheet I want it to be better I'll probably make a copy and then make a new version but sometimes I do just say hey I I'm going to make the updates to this one version and try to get it back out to the same people who bought it or got it right but these are all really Announcing OnlySheets 2.0 Sheet Makeover - Google Ad Writer Things to Think About When You Share a Sheet

interesting problems but the main problem of your sheet uh as I think it is is that your you mentioned it's a mess but I really I liked it should we show it and you walk me through the sheet yeah sure let me make sure I can share my screen and you tell me what we're looking at and and this is this is the sheet you Shar to me right yeah it basically start with the food table so that's my sort of a database I'm trying to build I forgot where I got this copy though it's someone so just in case you know I didn't build it from a scratch on this this view I stole the idea I guess so to make it a 100 grams into this so it was actually thought well it's actually pretty smart way to go about it to add into database to How Starter Story Designs Data Roasting Google Sheets Gemini is EVERYWHERE

standardize it so this is the the basically you know on top of it it's just a converter to give you an idea and then you can actually manually enter in the bottom whichever food items supplements whatever that person uses on a you know on daily basis and then I even extended it with the file I and what type of fats It Go in so that's the database I'm kind of sort of expecting to get bigger depending on who's tracking what right so you can always change the you know col title and then that's going to be what you're tracking for that specific food and then from this one so the day one 2 3 4 five is like you know the day on It's usually the workout days that you know five days a week if you're working out that's the Weight Loss Tracker Template Mood, Food, Tude Weight Loss Tracker

plan and then I have the target set on the top how much of it protein carbs and fat I'm targeting for the day and then it just automatically accumulates depending on what food I choose in that meal tables cool and yeah so at the moment it's I guess it's working you know if you use the drop down you still can p the meals and Etc but one thing I couldn't make it work was that the recipes that how am I going to build you know they from the ingredients go into the recipes and then the recipes

[Music] this vegan burger is not a single entity it well it is a single entity but it's a recipe yeah you have a standard recipe sounds like a great solution to say hey instead of an individual item not not instead of sorry in addition to individual items we also have recipes that you can pull out like this is going to have vegan burger oh and then I think

one vegan burger it has to be in the grounds so that's that's making it kind of little difficult because the in the recipe doesn't represent how much of it weigh from the meat or how much is it from the bread or if I just change something slightly it just becomes you know bit rigid to it unless I do the recalculation and edit the database so that's the sort of the linkage you know from the raw ingredients on this list goes into my recipe page and then you know the straightway I can pull from these recipes I guess because I wanted to it to be bit more flexible that you know because I can't be eating the same thing over and over and interesting what I might consider here okay so your idea

here was that this is a single recipe and then you want to take this recipe and use it in here yes yeah okay oh yeah so this is what you meant when you said you know your pro earlier I think you mentioned your problem is like pulling data from one place to another calculating it up then having that entity and move it into the same spot but you have have an interesting idea here where can get even Messier right if you have individual items you use those individual items here and you also have entities that you build from these individual items these are all together like if you have a vegan burger plus an egg right it's here vegan burger plus 50 grams of an egg like you add a egg to your vegan burger great and I think you're saying that this vegan burger is

now not flexible because it's here but I would say like my uh assumption is if I wanted to have a vegan burger with egg I would then calculate the vegan burger plus the egg here yeah can do that but it's just more of a switching of the ingredient in the recipe right so maybe one day was a sweet potato but the next day maybe it was just carrots something like that so that's where I wanted to make the edits on the recipe pages and then instead of having it this like you know fixed recipe line as the recipe changes in my recipe line that you know the the pulling of the total macro information onto my daily plans to change I don't know how can it can be done so it's yeah one one thing that we

could probably do now to some degree what what if we had instead of using these as a single entity like okay we want to here you have a chicken Caesar here but this one vegan burger let's build a vegan burger what would that be it would be not chicken you probably did this earlier tofu bread here souro bread and mushroom let's say that's a vegan burger yeah 150 whoops 150 gram that I don't know how what does bread usually weigh 80 gram and then how much does mushrooms usually weigh 100 grams 100 okay so this is now a vegan burger right and here you have the you you have the totals already summed up yeah so that one needs to be pulled into the somewhere I guess into the daily and

that linkage it doesn't exist in my spreadsh what my my idea here is to create a new tab and we're going to call this sorry put the name here this doesn't matter and instead of in the bottom I'm going to move the totals to the top so we can say you can do as many ingredients as you want bear with me as I try to explain this while doing it so then this doesn't matter how many things we have so we build it and we can add more and more and more if we want let's just delete that and I would create an app script that takes all of this information not all of this information but just this information we have this total here we know the name is vegan burger put the name here let's say name vegan burger here's a total we need to The Two T’s: Turn Templates into Tools How to Automate Spreadsheets

get this into the food table and we can take a script and just add it to the very bottom we can say recipe I don't know how to spell recipe re oh my God recipi so we

[Music] here we also say Builder makes it a little easier to read sometimes again let do the same thing here food table and now last row we need get last row super easy will food table . get range is going to be last row plus one we want to add something to the very last row is wherever it has content we want to add it to actually where do we want to add it table column C so it's actually column three here we want one thing set value re name right that's the name of it and then D we can do this actually a little bit easier column 4 is going to Basic CRM - Add a Powerful Script To Move Row Based on Status URL Link to Last Row

be items zero which is the first item in the list let's see if this works five this is a little bit wonky but it'll get done real quick and column six is item two zero is the first item one is the second item and two is the third item that's a little hard to okay so this would automatically mean that we can run this create recipe and whatever is in Builder will be built for us in the food table Yeah that would be really make it easy okay we just got to authorize this first see if we get any errors there's vgan burger and we only got one thing the protein okay so we have some issues maybe this is a problem let's see logger.log I think we need to do this which might Simple Inventory Management Automations Simple Inventory Management Automations

be convoluted but we'll also be able to see the items here there we go done we don't have the formula here yeah drag and copy paste basically well we could better we can actually do this in the in the script we don't have to have this as a s okay that would be great so let's add that here and instead of seven it's going to be calories variable calories is equal to this thing * 4 that in plus what was the second one times second one is a car wasn't it times oh four as well and then the third one plus got an extra okay so now we'll should have calories as well there we go it's really good let's see if that's Better BMI Calculator How To Add Numbers In A Column More Each Row

correct it's must be rounding here do you want that rounded it doesn't really matter okay what we can do as well is is do a couple things we can do onop co/ Snippets I always have to copy paste this but we can put this into a menu we want this one here and we'll call this meal planner menu create recipe add recipe to food table okay so I saved this now I'm going to close it and refresh because it needs to open and now you'll see a up here next to help a menu oh that's cool well you might want to do now as we we we don't necessarily have to do this now but instead of allowing this now we have to clear this out we might want to clear it in the script and then we also might want a little toast Automatically Clear Content | Refresh Reuse Recycle Templates How To Insert Row Under Header Automatically

message all this is food related it's so funny menu toast toast is new item added to food table we might also want to at the end activate the the activate the tab so if we're here and we add this we might want to go to the food table to see it maybe might add this just to to have some fun here but we also want to clear it so you'll say builder. get range and we're going to clear to FF clear content this is if we cleared it it would clear I think everything like formatting and everything I think just clear content is going to work so now fingers crossed this works oh we need more authorization it just happens when we add stuff to it let's try that again see if we run into Automatically Clear Content | Refresh Reuse Recycle Templates

any issues what's going on see if we had a problem here hm that's strange what could be a problem let's try again unless it's doing the wrong one create recipe yeah create recipe it's fine whoops everything broke it might be my internet food active is not a function oh I think I meant activate that's what I meant so we go back to there we go all the same vegan burger let's build another one so instead of oh I didn't do a I should have cleared the A2 as well we can just do this let's build another vegan burger with egg so it's not chicken tofu potato sourdough let's do that egg ho how how much does an egg weigh 80 grams 80 give that some more room okay so oh we cleared out this oh I'm so sorry the

formal Sr yeah we shouldn't have cleared we should only clear B and C that's a good good catch but now we fixed it right paste right that's correct right mhm all right let's try that again let's make sure we save can also save this I hate seeing Untitled all the time there's vegan burger with a name well that's actually much better CU it was lots of you know going back and forth between the tabs to copy the information right and all we're doing is taking whatever actions you would take right you would say I'm on Builder I need to take this I need to go to the food table put the name in I need to go back to Builder take the item and no we don't need the item sorry we need the totals yeah take each total put it here and here and here oh and then do this calculation as well like all these Adding a Foodcourt to Doc's Virtual Mall | Sheet Improvement! Square Cell

things are by hand we're doing we just did it with the script yeah cool that's really cool this way as well like so the problem was you know that you have a food table you have recipes you want and and I think your original problem you thought was like how do I take these two separate entities and feed them into the same possible day one but you also had the solution already done where you were like oh let's just make it one page has all of this information added up and we just and actually the real problem was how do we get these recipes into the food table Yeah but I think one problem sort of still may exist which you you brought up which is that like these are still unflexible this vegan burger if I

I want to change one item in it I would have to now go back to the recipe now well actually an interesting thing that we are deleting we might think about is if I go to the Builder and I build a recipe and then I add it to the food table this recipe is gone I don't know what the items that I added to it so what I might consider suggesting is a a way to rebuild that again which you all again you have the solution here which is all of these recipes listed I might because you have all of the calculations already I might just save the quantity and the the item and the quantity so and I would also do it in this is just me and and my process is I would call it recipe data or something similar and say

item sorry not item what is it actually sorry name item and Gramps mhm or quantity sorry quantity doesn't really matter and instead in addition to moving all of this I would also do it to each of those items we just copy it into the that database right so we can go back and look at it so we have a builder and we need each item we need the name which we have already let's just call this start a new line here instead of food table we call it recipe data we need the last row as well same data get range we want exactly this actually we want it differently one row last row plus one the very first thing is set

[Music] [Music] [Music]

extra stuff we we don't want maybe we have some rice right if we create this we have extra we only have three to C5 so this is should keep out anything that's blank okay for each one we're going to do this set the name we need to set the I here I zero we're getting the first item and then the second item as well or sorry the second part of the item okay this should work let's see what I messed up so ideally for each of these we're going to this for Loop just iterates through things we can also see this if we want we can log logger.log recipe items just in case look at that all right we have these items we are adding recipe the food table see what oh this is it only got one thing the white rice last one the last one yeah so

there's something wrong it was re oh I think it's rewriting it let's get the last row we need it here I think this is going to be we can take all these and make them cons this is just a little weird thing about might be a little weird thing about JavaScript it might be rewriting each time on the last row if we put the last row inside of the iterator it'll look for the last row each time should egg chicken rice let's see there we go awesome so now we have a database of all the recipes that you can pull by the name so if you pull out one name you can say filter each of these items based on this name is that cool yeah that's actually very helpful cuz yeah cuz I was thinking of you know whether I continue to just build their recipe page or what kind of things yeah Track Every Edit (Almost) Go To Random Row Custom Function

so now it's I can look back what I did as well so right and that clearing content can be pretty scary when you're like trying to build something and then the key word here was flexible you mentioned right how do you save a recipe access it with sort of a database like how do you create that database and then access it with your list of recipes here this is a very hard visually you see chicken Caesar salad you see the vegan burger but for a computer to be able to do this if we want to use vlookup if we want to use filter if we want to use functions of Google Sheets this is pretty hard to say that this is this is this looks like one cell it's actually B8 even though it's merged between B8 and b113 you can only access it through B8 so this looks like only this first item at least to a computer and How to Create a CRM in google sheets w/ Dashboard Roasting Google Sheets How To Create a CRM in Google Sheets

spreadsheet rows and columns are the relationships and merges are really helpful for prettying up our data dashboards our data sometimes having one header for two columns if it's like name and you have first name and last name very nice to do that for humans but for computers it turns out to be pretty hard for them to figure that out yeah yeah I I guess this one I was just trying to build the the common used items and then depending on what I'm cooking I was even thinking about okay how much do I need to purchase for the week you know of the amount you know even putting in okay this is roughly cost this much and how much is it going to cost Etc but that's that's something you know it's I just thought it would be fun but then it become bit of a burden to you know f in A Spreadsheet CRM: Automation at work Beginners Make This Spreadsheet Mistake All The Time! What is a Spreadsheet? Anatomy of a Spreadsheet

it so it never gets used yeah but now this might be pretty easy to add to like if you want to build this and you know the cost of each of these items perhaps the food table is where you keep the item prices yeah how do I pull additional row cuz it could be instead of a fiber it could be cost of the right so if I was to add more to pull into the yeah so you would go like let's let's add this um did I do this again do we clear the are we clear sorry no that one should be added manually oh no it's actually didn't pull it yeah no it cleared it again I don't know why it's clearing that still should only be B3 to Automatically Add Formula When Editing Row

see what did I do back here wait right okay these are gone what was it it was V lookup that's what it is that shouldn't have cleared out why did [Music] that oh maybe I did it earlier and then fixed it and didn't let's see let's try again if it does it again we'll know what's up Builder fine it's perfectly fine so let's add to here actually let's just add to the far left price if we have on our food table price I don't know what necessary this is going to be let's say $4 $4 per 100 G Builder that's where we are so this we can copy this whole thing we should be able to copy each one of these and just edit it let's look up here we just need to edit C9 to Adding a Foodcourt to Doc's Virtual Mall | Sheet Improvement! How To Subtract $10 from every Row Quickly for Data Cleaning

p no we don't let's do this again C9 this G that's it g to include p and then this index is what we need to also edit so right now it will look up chicken breast it'll be what that's funny that it's that but it's not right C to P so that's one two three four five six seven 8 nine 10 11 12 13 14 this should be index 14 right so it's the 14th column in that section of C to P MH now this now you have a price can you change the quantity now to see the price increase just well yeah it would be probably not going to calculate it it's whatever calculation you want to add it's right now it's times this divided by 100 so Create a CPM Custom Function (Create Better Calculators!)

it's whatever calc there yeah yeah cool you have price so you can add a sum here well to add up the whole price of it yeah that's actually really good and again if you want to add it to recipe data we would need to add one more line here wait we don't need to add that here because it's in the D table but we do need to add it up here I think we so P we want it here just want to get the column number 16 16 and the price is it Builder H H going be four okay so now it's just a single thing called chicken more do that and let's see if that works now we should go to the bottom there it is chicken Mo that's cool and there's the price yeah that's really helpful Automatic Calculations How To Add Numbers In A Column More Each Row

actually yeah so now this is feeling more like a tool right yeah exactly instead of yeah copying and CU before as you mentioned you know handing it over to someone was impossible because I was you know there was a method to my madness and you know where do I actually pull the data into it but I think now it's you know anyone can enter it and then you know get the result back into it right and something that you can one thing one idea is you can take this from a template to sorry my Wi-Fi is dying it breaking up a little bit Yeah my Wi-Fi was dying okay back right back sorry what were you saying so what I was saying is this takes it from like a template to a tool like a template where you say here are the individual pieces that you should put in and then in The Two T’s: Turn Templates into Tools Gemini is EVERYWHERE

addition from in addition to making it a tool you've also taken what you would consider making tutorials like if you gave the sheet to someone and wanted to give it to 50 people you would probably start making videos and say okay here's where you make a recipe and then copy and paste each of these items into here and you would say this in a video or or show someone how to do this but now it's one click enter your data here click up here done it Tak yeah they they can already see what happened as well right by clicking on it yeah it's well they can see it but that that tutorial or that video video becomes like just hey here's an feature build your recipe click the button it's saved for you one thing I would suggest doing even if you're not selling the sheet even just if you're giving it away to someone we Transform Information Into an Info Product Roasting Google Sheets Make a Tour of Your Sheet Make a Tour of the Sheet

we as humans are very forgetful we we have information that we want to give to someone but we might not want to give it at the exact same time as we give it this sheet you might want to add a start tab where you just introduce what the whole thing is about what it does how it does it some links to videos if you make them either through Loom on in a Google Drive Google folder and a Google doc if you have extra information there or YouTube videos if you have even if you have them unlisted put links there for that person that gets that sheet and have a very short little few steps of here's how to get started have a few pieces of information on troubleshooting frequently ask questions and I would start that now how you use it yeah cool that's a good idea Turn Bland Sheets Into Glam Sheets! Make It Easier For Others To Use Your Google Sheets How to Make Google Sheets Look Better

yeah it's it's now I can use it again because I kind of stopped using it because I was like not making progress in making it you know I guess you know easier as I expected it to be well and now you can also add those things that you were trying to add right prices or something else there was a few other items it looked like you were adding bats and things yeah it was just that at the time I was interested in knowing the breakdown of different types of fat that I was consuming basically but but yeah now I can use the same same way to actually you know as you added a price I can add anything else awesome so is this helpful for you definitely it's it was actually it was interesting to CU When I watched the tutorials and Tred to follow it's an hours of process right because

I'm not as you know quick as you do but when I look at you working it it's actually really satisfying to have a look at I guess you know in the in the real time that how quick actually someone does it cuz when you watch a tutorial you don't exactly know maybe you took quite a few tries to get it right but as I can see that you know you you can do it in 5 10 minutes it's it's impressive but also I might be able to do something like that because I've I've done those kinds of form I call them forms I don't know what they really are it's like make a page and take that take pieces of that page that you have and then move them over to another row I've done that so many times because it's easier to validate data sometimes or one validate data but two sometimes people don't want to write a in a spreadsheet You Should Know The Limitations of Data Validation Are you an A1 or B2 Kind of Sheet Guy?

in like a row you know what I mean like you have some instructions on how to fill in or you're pulling data from a few other tabs collecting it and then moving it God there's so many ways to say that right move information from one tab to another enter data here move tabs so many things pull data push data but if you get stuck like if you're like hey yeah that guy did it in 5 to 10 minutes it takes me hours one thing is just breaking down the problem maybe like it might be too many you might be trying to do too much in one thing really and use chat GPT if you haven't yet it does good app script it writes it if you give it too vague of instructions it'll just give a lot of stuff and it might be hard to read but breaking it down I like what I will literally do sometimes if I'm working on something that I don't necessarily know how to do it I will Make a New Sheet - Best Practices Run 100 ChatGPTs at One Time CLUTTERED CODE

write comments what's called pseudo code I'll try breaking down the problem in comments but then you can copy now with AI you can copy those comments like the steps you have in your head copy it paste it in chat GB and say give me the app script for this yeah that's a good idea I haven't actually used the chat gbd for that purposes but I might try what you can also do is literally if you if you want to try to literally do it yourself and then you get blocked copy your code and say what's wrong with literally I type at the top what's wrong with this code it'll tell me it'll go through a whole discussion kind of thing yeah that makes it super easy to get out of those blocks if you're like oh what is that one thing oh I need to get the last row and what like I don't know what else OD then what what is it yeah I Think Like a Programmer: Develop The Mindset of an Apps Script Coder GPT in SHEETS CLUTTERED CODE

think the problem with me is I don't use it often enough to get good at it but yeah it's yeah CH good idea yeah it'll get you through those books well I'm I'm happy to get you through that roadblock and challenge it was fun for me I'm glad it was helpful for you yes it it was very helpful thank you and um I'm looking forward to seeing it out on the market so people want to buy yeah I just need to you know formatting and stuff just needs to tidy up and yeah I'll test it with friends at least that's a great way to do it like

Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.