Spacer – Free Google Add-On That Spaces Row by Column Category

What is Spacer?

Spacer is a Free Google Add-On that creates row spaces by column categories.

I use it as an academic administrator to create a space or two at the end of each class section to create a visual break between sections. This makes it easier for my staff to quickly identify class sections.

You can find Spacer at the Google Chrome Webstore.

Chrome Web Store Badge

What can Spacer do?

Spacer can:

  • Automatically detect the width of your columns.
  • Allow you to select a column with the categories you want to use to space your data.
  • Set the height of your header – so that is not spaced too.
  • Set the thickness of your spaces.
  • Set the color of your spaces
  • Set starting and end position of your color filler.

How to use Spacer

After Installation

Before You Start:

  1. Before you start, create a Google Sheet with the data in it you want to space.
  2. Select All the data.
  3. Go to the menu bar and select: Data>Sort Range...   and select the column you want to sort by. This will be the column you will use to space your data by the categories in that column.
Running Spacer:
  1. In a Google Sheet, select the Add-Ons menu.
    Google Sheets Add Addon
  2. Select: Spacer>Create SpacesOpen Spacer for Google Sheets
  3. sidebar will appear to the right.
    spacer sidebar for Google Sheets
  4. Choose the column you want to use to Space your data.
  5. Choose how high your header is.
  6. Chose how thick or deep your want your header to be.
  7. If you want a color, select a color that you want to add to your spaces.
  8. Select where you want to start the color and end the color.
  9. Click: Submit
  10. If you are not happy with the color, space, color width or made a mistake, simply click: UNDO
Troubleshooting

I keep getting the following popup:

troubleshooting Spacer

This is because the starting value of your Color Width is greater than your End value:

Spacer RightSpacer Wrong

An Example

I have a list of people with their favorite color and fruit. Let’s say I want to sort the Google Sheet by favorite color (Fav Color) and put a space at the end of each color category to make it easier to read.

My data looks like this:

Favorite Data Example

To space this data we must do the following:

  1. Select all the data: ctrl+shift + a
    Select Data
  2. Sort the data by column B. Select: Data> Sort range
    sort data select range
  3. Click the: Data has a header row  tick box. Select the column: Fav Color. Then click the Sort button.
    Sort Range by column
  4. Your data is now sorted by favorite color:
    sorted by fav color
  5. Time to use the Spacer. Select: Add-ons > Spacer > Create spaces
    execute spacer
  6. Spacer will open at Sidebar on the right:
    spacer sidebar for Google Sheets
  7. We want to space our data by Fav Color which is column B. For Column, select: B
    Spacer Select Column
  8. We have a single Row Header so we can leave the header selection at 1:  Spacer header height
  9. We want to give our spaces a thickness of 2 rows:
    Spacer Thickness
  10. Next, we choose a color. Let’s choose purple. A color picker will pop up (the picker may vary depending on your system) select the color and click: OK:                             Spacer color
  11. This is the result:
    Spacer color result
  12. Now choose where to start and finish the color fill for the space. I’ll start it at column A and end it at column E.
    Spacer start and finish color
  13. Finally click Submit:
  14. This will be the result:
    Spacer result

 

Privacy Policy | Terms of Use

Can I modify Google Sheets with code?

Google Apps Script and the Google Suite

You sure can. Google has a fully supported script editor that you integrate with your Sheets, Docs, Forms, Slide, Gmail, Calendar and pretty much every aspect of the Google Suite. It’s name: Google Apps Script.

Google Apps Script allows you to do all sorts of things like building short code to modify sheets and docs, create macros, develop add-ons mess around with gmail and so much more.

Google Apps Scripts is based on Javascript. It can integrate with HTML5, CSS and Javascript well with it’s html service class.

Google has an extensive reference library to get you started.

Let’s get started with a basic example.

Dawh…Your first Google Script

Continue reading “Can I modify Google Sheets with code?”