Sheets Tip 351: You know CHOOSECOLS secret trick, right?


Brought to you by:


Hi Reader,

Welcome to the Google Sheets Tips newsletter #351, your Monday morning espresso, in spreadsheet form!

Thankfully, I'm fully recovered from the pneumonia I had last month. Sadly, we had to cancel our trip to Europe to see my family. But, the silver lining was an unexpected week at home with no agenda. So we stained the back deck, cleared out the garage, and built some raised beds in the garden.

My younger self would have spent the week wallowing, annoyed at the universe for the timing of the sickness. But now, middle-aged me is wise enough to accept that I don't control these things. All I can do is keep smiling through it all.

Summer is now in full swing in my neck of the woods, with hot temperatures and high humidity. It always feels so draining at the start of the summer, before your body has acclimatized to the heat. Half-an-hour of football (soccer) in the garden with my son wipes us both out!


➜ News

I.
​
One for the developers amongst you... Google Workspace users can now add their GitHub repositories into the Gemini App, so that Gemini has access to the full codebase.

​Read more here >>​


➜ Membership

Last week in the membership we looked at how to use Gems (custom instances of Gemini AI) from the sidebar of Google Sheets. I shared an example of a SPARKLINE formula generator and a monthly reporting tool.

​Members can watch and/or read the tutorial here.​

This week, I'm sharing a neat formula for adding a bit of *dazzle* to your Sheets!

​Join today for access to the these and the full archives.​


Brought to you by: BOARDLY

Bring your Google Sheets data to life. Integrate it everywhere.

Boardly turns your raw Google Sheets into a clean, interactive dashboard in under a minute — no setup needed, our AI handles it all. Once ready, just share or embed it anywhere — it’s that simple.

Unlock Boardly's magic with BENCOLLINS20 and enjoy 20% off your first 12 months subscription – but hurry, this code is only active for one month!


➜ Sheets Tip #351: CHOOSECOLS trick with negative numbers to select columns from the right

In this tip, we look at the CHOOSECOLS function that was added to Google Sheets in 2023.

CHOOSECOLS lets you select specific columns from a range, by specifying the column numbers you want.

Previously, this required a QUERY function, which is more challenging to construct.

This formula selects the first and third columns from the input range:

=CHOOSECOLS(A1:C5,1,3)

The numbered columns count up from the left side of the range you specify.

CHOOSECOLS with negative numbers

A neat feature of CHOOSECOLS is that you can specify negative numbers, which count in from the right side of your range.

For example,

=CHOOSECOLS(B1:I11,-1,-3)

selects the right most column and the 3rd column in from the right.

We can even mix-and-match positive and negative numbers to select columns from the left and right of the range.

For example,

=CHOOSECOLS(B1:I11,1,2,-3,-1)

selects the 1st and 2nd columns from the left, and the 3rd and 1st columns from the right side.

Super useful!

Next week, I have another trick with CHOOSECOLS that will help you select many columns at once.


If you enjoyed this newsletter, please forward it to a friend who might enjoy it.

Have a great week!

Cheers,
Ben

P.S. Alexa, remind me to go to the gym​

Future Proof: One AI tutorial a week. Stay relevant.

Join our community of over 43,000 readers and get the Future Proof newsletter: an actionable AI tutorial every Monday (think of it as your Monday morning espresso, in AI form).

Read more from Future Proof: One AI tutorial a week. Stay relevant.
Gemini Canvas feature

Hi Reader, Welcome to the Future Proof newsletter #8, your Monday morning espresso, in AI form! Today we're talking about how to make surgical edits to AI outputs using the Canvas mode. But first, a round up of relevant Gemini news: → News I.Google has made the Gemini side panel in Apps Script generally available. You can now easily create and customize code in the Apps Script editor, using natural language prompts. (Only available on paid Workspace accounts or paid consumer AI plans.)...

Scheduled Actions in AI tools

Hi Reader, Welcome to the Future Proof newsletter, your Monday morning espresso, in AI form! Today's tip is a simple one, but it's super useful. Scheduled Actions let you put AI to work automatically in the background, handling recurring prompts, research, and daily check-ins on a set schedule. Find out how to create them below. But first, some news from the world of Google Sheets, Workspace, and AI. → News I.Earlier this year, Google launched Sheets Canvas, which lets you turn spreadsheet...

Add a QA check to prompts to make them more accurate

Hi Reader, Welcome to the Future Proof newsletter, your Monday morning espresso, in AI form! (Formerly the Google Sheets Tips newsletter.) One of the stories that jumped out to me in the past week came from an interview with a tearful Cornell mathematics professor, asking "what's the point?" when AI surpasses human ability and steals the meaning (and joy) from mathematical research. (Which is a calling, not just a job to many.) One line stuck with me, and I'm paraphrasing here, but basically,...