How can I format individual data points in Google Sheets charts?

In this article, you’ll see how to annotate your Google charts, by adding formatting and data labels to specific data points only.

Formatting specific datapoints or adding data labels are a very powerful way of adding context to your charts, to bring attention to certain data points and add additional explanation.

How to add formatting to individual data points only?

Custom formatting for individual points is available through the chart sidebar: Chart Editor > CUSTOMIZE > Series > FORMAT DATA POINTS

Chart Editor format series

Continue reading How can I format individual data points in Google Sheets charts?

First And Last Days Of The Prior Month In Google Sheets?

In this example, we’re going to see how to extract the first and last dates of the prior month, i.e. the last full month before this current one.

First and last date of prior month

It’s the sort of date filter that’s frequently used in digital marketing, when you want to restrict your data to just web traffic or revenue in this period for comparison.

How do I get the first and last dates of the previous month?

We combine two functions, TODAY and EOMONTH, and a little bit of math to create the formulas to extract first and last dates.

What’s the formula?

For the first day of the prior month:

=EOMONTH(TODAY(),-2)+1

For the last day of the prior month:

=EOMONTH(TODAY(),-1)

Can I see an example worksheet?

Yes, here you go.

How does this formula work?

The heart of both of these formulas is the function TODAY(), which outputs today’s date in your Sheet. It updates automatically whenever the spreadsheet is recalculated (when you make an edit somewhere else). It’s known as a volatile function because it automatically recalculates, so if you were to have a huge number of these formulas, it would affect the performance of your spreadsheet.

So we start with:

=TODAY()

Next we wrap that with the EOMONTH function to get the date at the end of the month.

For the first day of the previous month, we offset by -2 to go back two months (which gives the last day of December in this example). To this we then add 1 day to nudge us into the first day of the previous month (January 2017 in this example), as follows:

=EOMONTH(TODAY(),-2)+1

The formula for the last day of the prior month is simpler. We offset -1 to go back one month and we don’t need to add a day to the output. So the formula is:

=EOMONTH(TODAY(),-1)

These types of date formulas are super useful if you do any data analysis work, and want to group and compare data for set periods. As an example, you may want to automatically generate Start and End Date fields in the Google Analytics Add-On, to always extract the most recent data for current and prior month periods for comparison.

Google Analytics Add-On start and end date

See also: We can perform similar calculations to get weekly dates, prior months, quarterly dates and yearly dates.

Check out this article on creating a custom Google Analytics report in a Google spreadsheet, to see date formulas in action.

Have Vlookup Return Multiple Columns in Google Sheets

Have you ever wished the VLOOKUP function could return multiple columns?

For example, maybe you want to return several values that match a search term so that you can use a range of data as an input for another formula (e.g. a sparkline).

Return multiple values with single vlookup formula in Google Sheets

Of course, you could set up multiple vlookup formulas, but this wouldn’t work if you want to pass the data range into another formula, like the sparkline for example.

However, you can easily achieve it with just one formula.

Continue reading Have Vlookup Return Multiple Columns in Google Sheets

How To Zoom In And How To Zoom Out In Google Sheets

Google Sheets Zoom

Under the menu View > Zoom you can control the zoom level of your Sheet, from 50% up to 200%:

zoom in google sheets

There are no shortcut keys to zoom in or zoom out in Google Sheets.

Browser Zoom

You also have the option to zoom in or out with your browser:

Browser zoom in Google Sheets

In Google Chrome, try the following menu options in your Browser menu:

View > Zoom In
View > Zoom Out

or use the shortcuts on a PC:

Ctrl and +
Ctrl and -

or on a Mac:

⌘ and +
⌘ and -

In the main bar of your browser, on the right side next to the bookmark star, you’ll see a magnifying glass and an indication of what zoom level you’re at (see the image above). There’s also a quick option to Reset back to 100% zoom level.

Zoom status in Google Chrome browser

Pro tip:

To quickly enter full-screen mode on a PC, press:

F11

or, on a Mac, press:

⌘ and Ctrl and F

Press these same shortcuts again to exit full-screen mode.

See Also

How to use Google Sheets: A Beginner’s Guide

How To Make a Table in Google Sheets, and Make It Look Great

How To VLOOKUP To The Left In Google Sheets?

The VLOOKUP function is a super popular formula but suffers from a major drawback. You can’t lookup data to the left!

However, there’s a sneaky trick that lets us VLOOKUP to the left, so we can search for a term and return a result from a column to the left of the original search column:

Vlookup to the left

Continue reading How To VLOOKUP To The Left In Google Sheets?