|
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 (back) to the Google Sheets Tips newsletter, issue #392, your Monday morning espresso, in spreadsheet form! Greetings from the East Coast of the US, where we've been under an Extreme Heat Warning for the past few days, with temperatures at a sweltering 100°F (feels like 114°F with humidity 🥵.) This follows on from the heat wave in the UK a week ago (where I was visiting family) and another in Germany the week before that (where my wife and I traveled for...
Hi Reader, Welcome to the Google Sheets Tips newsletter #391, your Monday morning espresso, in spreadsheet form! (Sorry there was no newsletter last week. I was sick!) This week we're looking at a cool use case for Google Sheets that most folks have no idea about. Creating QR codes! With a few simple formulas you can create QR codes in your Sheets that you could use to track inventory, accept invitations, or even print out to use at an event. First, a housekeeping announcement: after today,...
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...