Brought to you by:
Welcome to the Google Sheets Tips newsletter #341, your Monday morning espresso, in spreadsheet form! Hope you're out enjoying the beautiful Spring weather 🌱🌼 if you're in the Northern Hemisphere. And Fall if you're down south! ➜ NewsI. Watch "Unlocking the Secrets of Lambda Functions" and grab the template for free here: II. ➜ Sheets Tip #341: A, B, C, D,E - Letter Lists with Clever FormulasIn this tip, we look at how to create lists of letters in our Sheets. Perhaps you have a series of tasks that you want to label as Step A, Step B, Step C, etc. How can we do that in Google Sheets? Firstly, let's try to do it as simply as possible with autofilll. Type A in row 1 and B in row 2. If you try to drag it down, this is what happens: Whoops! It just repeats A and B. Same thing happens if you do it with "Step A" and "Step B". However, we can use a special property of how letters are encoded (or stored) on the computer. Each letter is represented by an ASCII code. For example, letter A is represented by 065. Letter B by 066. And so on. Method 1: CODE + CHARThere are two handy functions in Google Sheets to convert letters to ASCII and back again. The CODE function: =CODE("A") gives the value 65. And the CHAR function =CHAR(65) gives the value "A". Knowing this, we can now create a formula to generate a list of letters for us. Start with "A" in cell A1. In cell A2, type this formula: =CHAR(CODE(A1)+1) Drag down to create the other letters! Here's an alternative method using the mighty SEQUENCE function. Method 2: SEQUENCE + CHARThis formula generates a list of numbers starting at 65: =SEQUENCE(5,1,65) Wrap this with a CHAR function and the ArrayFormula to convert these numbers to letters: =ArrayFormula(CHAR(SEQUENCE(5,1,65))) This can be easily modified to turn the list into a "Step" format, e.g. Step A, Step B, Step C, etc. Modify the formula to this: =ArrayFormula("Step "&CHAR(SEQUENCE(5,1,65))) If you enjoyed this newsletter, please forward it to a friend who might enjoy it. Have a great week! Cheers, P.S. Shape sorter tears 😭 |
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 #340, your Monday morning espresso, in spreadsheet form! I was reminded this week of the power of consistency. In January, I set a goal in Strava to ride my bike 3 times a week. Nothing crazy, but it's what I can realistically fit in with current work and family commitments. Aside from a few weeks of sickness and snow in January, I've done a pretty good job at sticking to it. And yesterday, I could notice a difference....
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #339, your Monday morning espresso, in spreadsheet form! I have a favor to ask. If you enjoy this newsletter, or my courses, videos or membership, will you help me improve them? It's been a while since I've run a full audience survey, and I'd love to get some fresh insight into any challenges you have using Sheets, how you use AI, how I can help, etc. Can you spare a few minutes to fill out my 2025 audience survey?...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #338, your Monday morning espresso, in spreadsheet form! After a last bite from winter last week, it looks like spring is finally here where I live on the east coast of the US. The daffodils are growing, the box turtles are out sunning themselves on logs by the river, and temperatures are forecast in the 70s (in the 20s celcius). Wherever you are, I hope you're enjoying the changing of the seasons. ➜ News I.Google...