Mastering Google Sheets formulas is more than just knowing the functions themselves and how to combine them.

True mastery comes when you know all of the little, hidden shortcuts and tricks built in to Google Sheets to help you with your formulas. Individually they may not seem like much, but combine them together in your toolkit and you’ll be more efficient and effective when working with Google spreadsheet formulas.

How many of these Google Sheets Formulas Tips & Techniques do you know?

## Contents

- F4 Key
- F2 To Edit Cell
- Shift + Enter To Edit Cell
- Escape To Exit A Formula
- Move To The Front Or End Of Your Google Sheets Formulas
- Function Helper Pane
- Colored Ranges in Google Sheets Formulas
- F2 To Highlight Specific Ranges In Your Google Sheets Formulas
- Function Name Drop-Down
- Tab To Auto-Complete
- Adjust The Formula Bar Width
- Quick Aggregation Toolbar
- Quick Fill Down
- Know How To Create An ArrayFormula
- Create Arrays With Curly Brackets
- Multi-line Google Sheets Formulas
- Comments In Google Spreadsheet Formulas
- Use The Onion Approach

## Tips For Google Sheets Formulas

### 1. F4 Key

Undoubtedly one of the most useful Google Sheets formula shortcuts to learn.

Press the **F4 key** to toggle between relative and absolute references in ranges in your Google Sheets formulas.

It’s WAY quicker than clicking and typing in the dollar ($) signs to change a reference into an absolute reference.

### 2. F2 To Edit Cell

Have you ever found yourself needing to copy part of a Google Sheets formula to use elsewhere? This is a shortcut to bring up the formula in a cell.

Start by selecting a cell containing a formula.

Press the **F2 key** to enter into the formula:

### 3. Shift + Enter To Edit Cell

**Shift + Enter** is another shortcut to enter into the Google Sheets formula edit view.

### 4. Escape To Exit A Formula

Have you ever found yourself trying to click out of your formula, but Sheets thinks you want to highlight a new cell and it messes up your formula?

Press the **Escape key** to exit the formula view and return to the result view.

Any changes are discarded when you press the Escape key (to save changes you just hit the usual Return key).

### 5. Move To The Front Or End Of Your Google Sheets Formulas

Here’s another quick trick that’s helpful for longer Google spreadsheets formulas:

When you’re inside the formula view, press the **Up arrow** to go to the front of your formula (in front of the equals sign).

Similarly, pressing the **Down arrow** takes you to the last character in your formula.

### 6. Function Helper Pane

Learn to read the function helper pane!

You can press the “X” to remove the whole pane if it’s getting it the way. Or you can minimize/maximize with the arrow in the top right corner.

The best feature of the formula pane is the yellow highlighting it adds to show you which section of your function you are in. E.g. in the image above I’m looking at the “[headers]” argument.

There is information about what data the function is expecting and even a link to the full Google documentation for that function.

If you’ve hidden the function pane, or you can’t see it, look for the blue question mark next to the equals sign of your formula. Click that and it will restore the function helper pane.

### 7. Colored Ranges in Google Sheets Formulas

Helpfully Google Sheets highlights ranges in your formulas and in your actual Sheet with matching colors. It applies different colors to each unique range in your formula.

### 8. F2 To Highlight Specific Ranges In Your Google Sheets Formulas

As mentioned in Step 2, you press the F2 key to enter the formula view of a cell with a formula in.

However, it has another useful property. If you position your cursor over a range of data in your formula and then press the F2 key, it will highlight that range of data for you:

### 9. Function Name Drop-Down

A great way to discover new functions is to simply type a single letter after an equals sign, and then browse what comes up:

Scroll up and down the list with the Up and Down arrows, and then click on the function you want.

### 10. Tab To Auto-Complete Function Name

When you’re using the function drop-down list in the tip above, press the tab key to auto-complete the function name (based on whatever function is highlighted).

### 11. Adjust The Formula Bar Width

An easy one this! Grab the base of the formula bar until you see the cursor change into a little double-ended arrow. Then click and drag down to make the formula bar as wide as you want.

### 12. Quick Aggregation Toolbar

Highlight a range of data in your Sheet and check out the quick aggregation tool in the bottom toolbar of your Sheet (bottom right corner).

Quickly find out the aggregate measures COUNT, COUNT NUMBERS, SUM, AVERAGE, MIN and MAX, without needing to create functions.

### 13. Quick Fill Down

To copy the formula quickly down the column, **double-click the blue mark** in the corner of the highlighted cell, shown by the red arrow. This will copy the cell contents and format down as far as the contiguous range in preceding column (column A in this case).

An alternative way to quickly fill in a column is to highlight the range you want to fill, e.g.:

Then press **Ctrl + D** (PC and Chromebook) or **Cmd + D** (Mac) to copy the contents and format down the whole range, like so:

You can also do this with **Ctrl + Enter** (PC and Chromebook) or **Cmd + Enter** (Mac), which will fill down the column.

### 14. Know How To Create An ArrayFormula

Array Formulas are powerful extensions to regular formulas, allowing you to work with ranges of data rather than individual pieces of data.

Per the official definition, *array formulas enable the display of values returned into multiple rows and/or columns and the use of non-array functions with arrays*.

In a nutshell: whereas a normal formula outputs a single value, array formulas output a range of cells!

We need to tell Google Sheets we want a formula to be an Array Formula. We do this in two ways:

- Hit
**Ctrl + Shift + Enter**(PC/Chromebook) or**Cmd + Shift + Enter**(on a Mac) and Google Sheets will add the ArrayFormula wrapper - Alternatively, type in the word ArrayFormula and add brackets to wrap your formula/li>

Find out how array formulas work in Google Sheets.

### 15. Create Arrays With Curly Brackets

Have you ever used the curly brackets, or ARRAY LITERALS to use the correct nomenclature, in your formulas?

An array is a table of data. They can be used in the same way that a range of rows and columns can be used in your formulas. You construct them with curly brackets: `{ }`

Commas separate the data into columns on the same row.

Semi-colons creates a new row in your array.

(Please note, if you’re based in Europe, the syntax is a little different. Find out more here.)

This formula, entered into cell A1, will create a 2 by 2 array that puts data in the range A1 to B2:

`= { 1 , 2 ; 3 , 4 }`

The array component (in this example ** { 1 , 2 ; 3 , 4 }** ) can be used as an input to other formulas.

### 16. Multi-line Google Sheets Formulas

Press **Ctrl + Enter** inside the formula editor bar to add new lines to your formulas, to make them more readable. Note, you’ll probably want to widen the formula bar first, per tip 11.

### 17. Comments In Google Spreadsheet Formulas

Add comments to your formulas, using the N function.

N returns the argument provided as a number. If the argument is text, inside quotation marks, the N function returns 0.

So we can use it to add a comment like this:

`=SUM(A1:A100) + N("Sums the first 100 rows of column A")`

which is effectively the same as:

`=SUM(A1:A100) + 0`

which is just:

`=SUM(A1:A100)`

This tip is pretty esoteric, but it’s helpful for any really long Google spreadsheet formulas!

### 18. Use The Onion Approach For Complex Formulas

Complex formulas are like onions on two counts: i) they have layers that you can peel back, and ii) they often make you cry 🤣

Use The Onion Method To Approach Complex Formulas

If you’re building complex formulas, then I advocate a one-action-per-step approach. What I mean by this is build your formula in a series of steps, and only make one change with each step. So if you start with function A(range) in a cell, then copy it to a new cell before you nest it with B(A(range)), etc.

This lets you progress in a step-by-step manner and see exactly where your formula breaks down.

Similarly, if you’re trying to understand complex formulas, peel the layers back until you reach the core (which is hopefully a position you understand). Then, build it back up in steps to get back to the full formula.

For more detail about this approach, including examples and worksheets for each case, have a read of this post:

Use The Onion Method To Approach Complex Formulas

*This is an updated version of an article that was previously published. We update our tutorials to ensure they’re useful for our readers.*

I’ve been using sheets for years and just learned a number of new shortcuts and answered a couple of questions ive had over time. What a great resource, thank you!

You’re welcome! 🙂

Hello Ben,

I am Google Sheets Trainer, and I’ve found the tip about how to instantly locate the range within the spreadsheet with F2 so useful!

So useful to edit complex formula in big dashboards!

Thank you for sharing your skills!

PS: by the way, I’ve subscribed to your newsletter, and there was a formula challenge on Feb, the 25th (but I have not received the solution if I’m not mistaken). It was:

** FORMULA CHALLENGE – NEW!! **

Start with a straightforward IMAGE function in cell A1

Your Challenge:

Modify the formula in cell A1 only to repeat the image across multiple columns (say 5 as in this example).

Rules: You’re only allowed to use a single formula in cell A1. 🤪

If you find your own solution, feel free to share! I’d love to see them.

I’ll share the solution I found in next week’s email. It uses an interesting array construction…

**

Was it supposed to be done with the curly brackets?

Looking forward to reading you soon.

Hi Florent,

That’s great to hear 😉

RE: the formula challenge, you can see the solution to that challenge here: https://www.benlcollins.com/spreadsheets/formula-challenge-1-repeating-images-with-array-formulas/

Cheers,

Ben

Great!

Thank you Ben.

Flow.

Love it! #13 alone is going to save me so much time.

👍

Thank you

You save me so much time.

How can make default value for drop down list?

for example return 0 if it is empty.

Ben ,

Trying to align my formulas in a list or a new line for each query, each time i do this using alt and enter it drops a line. This is what I want but when i click off the formula bar onto a cell it goes back. How do you stop this from happening?

I think the only reliable way to do this is to copy your formula into a text editor, add the spacing you want to have, and then copy it back into your formula bar.

Hope this helps!

Hi

Can you select multiple sheet in a spreadheet, and make same changes over multiple sheets?

Very Nice Sir, It’s really very helpful to boost productivity on Google Sheet during working on Functions.

Great article. Anyone know if its possible to stop google sheets auto-correcting a formula. If I miss a bracket or a comma, I want to make the correction myself to make sure it’s right, but google sheets often just adds a bracket at the end, or takes its guess. Can I toggle that behaviour off?

Also, I want to record some macros to be able to make customised shortcuts that work on all my google sheets. Is that possible, or are macros always just applied to one spreadsheet?

Thanks!

I need absolute references to actually be absolute.

I have a tracker for tracking active data. This is then used for other sheets for filtering and sorting certain entries. When I delete rows that have been completed, and thus need to be removed from the trackers ‘data page’, my formula ranges on other sheets begin to shrink by the number of deleted rows, despite being labeled as absolute, forcing me to go back, and reset the range to the original value. Is there a solution for this in google sheets, a way to get absolutely absolute range references?

Hey JE,

Have you tried leaving the range references open-ended in your formulas, where you don’t specify a end row boundary, e.g. $A$2:$A or $D$2:$D? Hope this helps!

Ben

Hi.

How can I insert what is written in a cell inside a formula of other cell?

For instance:

=HIPERLINK(“https://www.meusdividendos.com/empresa/GOOGL”;”GOOGL”)

an in another cel is writen AAPL

Thanks in advance.

Hi

I need a little help

How can change this format

5-7-2001 to 5-7-1

Thanks you

Awesome! Thank you for this great info

Hi. How can I put math problems, say down the left side of my sheet, and as students put answers into the second row, if the answer is correct a part of an image shows up – like a huge emoji. But I need to make sure that students aren’t able to edit the document- they only have access to input an answer or change their answer if it’s incorrect. I know it’s possible because I have bought something like this from Teachers Pay Teachers. But I’m going broke, I need to be able to make my own digital worksheets that give the students instant feedback. Thank you so much!

How can I use the F4 short for absolute reference on Macbook Pro with Smartkeyboard?