|
Welcome to the Google Sheets Tips newsletter #390, your * public holiday in the US yesterday. Speaking of coffee, I usually work from my local coffee shop twice a week. It makes for a nice change of scenery from home. And everytime I order the same thing: a regular cappuccino, no frills, no syrups, no fancy milks. I think it says a lot about my personality and stage in life. As a working parent, neck deep in the world of AI, I'm feeling a lot of information overload and decision fatigue. So sticking to my usual order means one less decision I have to make each day. But while consistency works at the cafe, the AI world is anything but consistent and routine. The tools and workflows are evolving so fast that we're forced to continually change to keep up. Being adaptable isn't a nice-to-have anymore, it's an essential skill that we all have to develop. So whilst I'm sipping my cappuccino, I'll do my best to keep on top of it all and pass those lessons on to you to save you time. In today’s newsletter, we're turning formula prompting into a set of guidelines you can use to get the best possible results every time. ➜ NewsI. Specifically, they introduced the new Gemini 3.5 Flash model, Gemini Omni (for video), deep integration of Gemini features into everyday products, Gemini Spark (a 24/7 personal agent), personalized Gemini agents in Search, and voice-powered Docs Live. II. It's one of the primary tools, along with AI Studio, that I'll be covering in my Gemini Vibe Coding course later this year (a follow up to the 28 Days to Gemini Mastery course). ➜ Sheets Tip #390: Tips for writing better AI prompts for creating Google Sheets FormulasNow that we rely on Gemini to write our formulas instead of writing them ourselves (see: Is Formula Writing Dead?), intentional prompting is essential. Give the AI vague inputs, you'll get vague outputs. Use this handy guide to refine your prompts and generate better formulas. Just like delegating to a coworker, Gemini works best with clear, precise instructions. 🌟 Prompt TipsAlways include:
Name inputs clearly:
State output behavior:
Ask for specific functions (optional):
Consider error handling (optional):
Add constraints (optional):
Think of AI as your junior assistant, who will do a good job if you tell exactly what you need. 📋 Copy-Paste Prompt TemplateI’m working in Google Sheets. Context: [what the sheet does] (optional). Inputs / Data: [describe cells and ranges]. Task: [plain-English explanation of what you want to do]. Any Constraints: [ARRAYFORMULA / IFERROR / single cell / spill result]. Output: [format / location / example output]. 🗂️ Prompt ExamplesSimple Example Create a Google Sheets formula to calculate the average value of data in the range D5:D20. The output should be a single value in a cell. Debug Formula What am I doing wrong with this Google Sheets formula? I get an error message "Wrong number of arguments to VLOOKUP." =VLOOKUP(A2,E1:F11,2,,false) Spilled Array Calculation Create a formula in Google Sheets that takes two columns from Table1 called "Revenue" and "Expenses" as inputs and subtracts them to output the profit. The single formula should output an array of values that spill down the column. Translate BYROW to MAP In Google Sheets, I've created a BYROW formula to figure out the minimum year associated with each ID number. The years are in column A and the IDs are in column B. The formula is: 🙋 Any comments? Or anything you'd add to this mini prompt guide? If you enjoyed this newsletter, please forward it to a friend who might enjoy it. Have a great week! Cheers, |
Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #389, your Monday morning espresso, in spreadsheet form! After a major work sprint to launch the 28 Days to Gemini Mastery course earlier this spring, I recently took a few weeks off to visit my brother and his family in Australia. We spent time hiking and packrafting in Tasmania's remote and beautiful Southwest National Park. It was an incredible trip and, without cell service for 12 days, a true break from the noise...
Hi Reader, Welcome to the Google Sheets Tips newsletter #388, your Monday morning espresso, in spreadsheet form! ➜ Sheets Tip #388: Merged Cells To many power users who live in spreadsheets, merged cells are often treated like a patch of poison ivy on a hiking trail. They see them, turn their nose up, and steer well clear. But are they always the villain? Let's find out. Why Purists Cringe At Merged Cells In a structured dataset or a table, merged cells are, quite frankly, a nightmare. They...
Hi Reader, Welcome to the Google Sheets Tips newsletter #387, your Monday morning espresso, in spreadsheet form! I'm traveling so no news section again this week. But don't worry, I'll have a full recap of all the relevant Google Next announcements soon. ➜ Sheets Tip #387: Do You Know How To Round Numbers To The Nearest Hundred, Thousand? We’ve all used the ROUND function to tidy up messy decimals. But do you know one of its best tricks? It works equally as well to round to the nearest ten or...