Using Connected Sheets  |  BigQuery  |  Google Cloud (2024)

With Connected Sheets, you can access, analyze, visualize, and sharebillions of rows of BigQuery data from your Google Sheetsspreadsheet.

You can also do the following:

  • Collaborate with partners, analysts, or other stakeholders in a familiarspreadsheet interface.

  • Ensure a single source of truth for data analysis without additionalspreadsheet exports.

  • Streamline your reporting and dashboard workflows.

Connected Sheets runs BigQuery queries on yourbehalf either upon your request or on a defined schedule. Results ofthose queries are saved in your spreadsheet for analysis and sharing.

Example use cases

The following are just a few use cases that show howConnected Sheets lets you analyze large amounts of data within asheet, without needing to know SQL.

  • Business planning: Build and prepare datasets, then allow others to findinsights from the data. For example, analyze sales data to determine whichproducts sell better in different locations.

  • Customer service: Find out which stores have the most complaints per10,000 customers.

  • Sales: Create internal finance and sales reports, and share revenuereports with sales reps.

Access control

Direct access to BigQuery datasets and tables is still controlledwithin BigQuery. If you want to give a user Google Sheets accessonly, share a spreadsheet and don't grant BigQuery access.

A user with Google Sheets-only access can perform analysis in the sheet anduse other Google Sheets features, but the user won't be able to perform thefollowing actions:

  • Manually refresh the BigQuery data in the sheet.
  • Schedule a refresh of the data in the sheet.

When you filter data in Connected Sheets, it refreshes the query that you send toBigQuery against the project that you selected.You can view the executed query with the following log filter in the relatedproject:

resource.type="bigquery_resource"protoPayload.metadata.firstPartyAppMetadata.sheetsMetadata.docId != NULL_VALUE

VPC Service Controls

You can use VPC Service Controls to restrict access toGoogle Cloud resources. Because VPC Service Controls does not supportSheets, you might not be able to access BigQuerydata that VPC Service Controls is protecting. If you have the required allowpermissions and meet theVPC Service Controls access restrictions, you can configure theVPC Service Controls perimeter to allow queries issued throughConnected Sheets. To do so, you must configure the perimeter usingthe following:

  • An access level or ingress rule to allow requests from trusted IP addresses,identities, and trusted client devices from outside of the perimeter.
  • An egress rule to allow query results to be copied to users' spreadsheets.

Learn about configuring ingress and egresspolicies andconfiguring access levels toproperly configure the rules.To configure a perimeter to allow the required data copying, use the followingYAML file:

# Allows egress to Sheets through the Connected Sheets feature- egressTo: operations: - serviceName: 'bigquery.googleapis.com' methodSelectors: - permission: 'bigquery.vpcsc.importData' resources: - projects/628550087766 # Sheets-owned Google Cloud project egressFrom: identityType: ANY_USER_ACCOUNT

Before you begin

First, make sure that you meet the requirements for accessing BigQuerydata in Sheets, as described in the "What you need" section ofthe Google Workspace topicGet started with BigQuery data in Google Sheets.

If you do not yet have a Google Cloud project that is set up for billing, followthese steps:

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Google Cloud project.

  4. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  5. Make sure that billing is enabled for your Google Cloud project.

  6. BigQuery is automatically enabled in new projects. To activate BigQuery in a preexisting project, go to

    Enable the BigQuery API.

    Enable the API

When you finish this topic, you can avoid continued billing by deleting theresources you created. See Cleaning up for more detail.

Open BigQuery datasets from Connected Sheets

The following example uses a public dataset to show you how to connect toBigQuery from Google Sheets.

  1. Create or open a Google Sheets spreadsheet.

  2. Click Data, click Data connectors, and then click Connect toBigQuery.

  3. Click Get connected.

  4. Select a Google Cloud project that has billing enabled.

  5. Click Public datasets.

  6. In the search box, type chicago and then select thechicago_taxi_trips dataset.

  7. Select the taxi_trips table and then click Connect.

    Using Connected Sheets | BigQuery | Google Cloud (1)

    Your spreadsheet should look similar to the following:

    Using Connected Sheets | BigQuery | Google Cloud (2)

Start using the spreadsheet. You can create pivot tables, formulas, and chartsusing familiar Google Sheets techniques.

Although the spreadsheet shows a preview of only 500 rows, any pivot tables,formulas, and charts use the entire set of data. The maximum number of rows forresults returned for pivot tables is 50,000. You can also extract the data to asheet. The maximum number of rows for results returned for data extracts is50,000. For more information, see theConnected Sheets tutorial.

Open tables in Connected Sheets

To open tables in Connected Sheets from theGoogle Cloud console, use one of the following methods:

  • Use the Explorer pane:

    1. In the Explorer pane, expand the dataset that contains the tablethat you want to open in Google Sheets.

    2. Next to the table name, clickmore_vert View actions,and then select Open with > Connected Sheets:

      Using Connected Sheets | BigQuery | Google Cloud (3)

  • Use the table toolbar:

    1. In the Explorer pane, click the table that youwant to open in Google Sheets.

    2. On the table toolbar, clickUsing Connected Sheets | BigQuery | Google Cloud (4) Export,and then click Explore with Sheets:

      Using Connected Sheets | BigQuery | Google Cloud (5)

Cleaning up

To avoid incurring charges to your Google Cloud account for the resourcesused in this tutorial:

  1. In the Google Cloud console, go to the Manage resources page.

    Go to Manage resources

  2. In the project list, select the project that you want to delete, and then click Delete.
  3. In the dialog, type the project ID, and then click Shut down to delete the project.

What's next

  • Get more information from the Google WorkspaceGet started with BigQuery data in Google Sheets topic.

  • View videos from the Using Connected Sheets playlist on YouTube.

Using Connected Sheets  |  BigQuery  |  Google Cloud (2024)

FAQs

How do I use Google connected sheets? ›

Create or open a Google Sheets spreadsheet. Click Data, click Data connectors, and then click Connect to BigQuery. Note: If you do not see the Data connectors option, see Before you begin. Click Get connected.

How to connect Google Sheets to Google Cloud? ›

To create a connection, do the following steps: In the Cloud console, go to the Integration Connectors > Connections page and then select or create a Google Cloud project. Click + Create new to open the Create Connection page. In the Location section, choose the location for the connection.

Can I sync two Google Sheets together? ›

If the second sheet is in the same account as the first sheet, you can choose your connection from the dropdown, otherwise, click on + New Connection to connect the second Google Drive account. Now choose your second sheet and its sub-sheet from the dropdown.

What is the function of connected sheets? ›

Connected Sheets lets you analyze petabytes of data directly within Google Sheets. You can connect your spreadsheets with a BigQuery data warehouse or Looker and do the analysis by using familiar Sheets tools like pivot tables, charts, and formulas.

What is the limit of connected sheets? ›

Connected Sheets row and data limits

Queries that are created with Connected Sheets have a maximum limit of 30,000 rows.

How do I link data between two Google Sheets? ›

Combining data from two Google Sheets in four steps
  1. Step 1: Identify the spreadsheets you want to combine. Pull up the two spreadsheets that you'd like to import data between. ...
  2. Step 2: Grab two things from the original sheet. ...
  3. Step 3: Use a Google Sheets function to port your data over. ...
  4. Step 4: Import your data.
May 16, 2018

Is Google Sheets part of Google cloud? ›

Google Sheets is a cloud-based spreadsheet solution that supports real-time collaboration and provides tools to visualize, process, and communicate data.

Are Google Sheets saved in the cloud? ›

You can use Google Docs, Sheets, and Slides with Google Drive, or other cloud storage providers, like Box, Dropbox, or Egnyte. Google documents, spreadsheets, and presentations stored in other cloud storage providers are subject to the terms of the storage provider.

How do I transfer data to Google cloud? ›

Set up your transfer:
  1. Select source: You can add online data from elsewhere in your Storage project, from Amazon Web Services, or from a TSV file of URLs. ...
  2. Select destination: Choose a bucket to hold your source files. ...
  3. Configure transfer: Schedule your transfer to Run now (one time) or Run daily at the time you specify.

How can I pull data from one Google sheet to another automatically? ›

Copy data from one sheet to another automatically

Click on the cell where you wish your data to be located, and enter the IMPORTRANGE formula, inserting the URL you copied where needed. You can also choose to specify the data range within the formula.

How do I link data from one spreadsheet to another? ›

Select the cell or cells where you want to create the external reference. Type = (equal sign). Switch to the source workbook, and then click the worksheet that contains the cells that you want to link. Press F3, select the name that you want to link to and press Enter.

How do I match two Google Sheets? ›

How to use Compare Columns or Sheets
  1. Step 1: Select sheets to compare. Choose all the sheets and ranges you'd like to compare: ...
  2. Step 2: Select the main sheet. Choose the sheet that will be treated as your main one: ...
  3. Step 3: Decide what to find. ...
  4. Step 4: Pick the columns to compare. ...
  5. Step 5: What to do with the results.

What is purpose of linking worksheets? ›

Answer: The advantage to linking the worksheet is that if the source worksheet in Excel changes, the values are automatically updated in the Word document.

Can Google Sheets handle large data? ›

Can Google Sheets handle 100,000 rows? Google Sheets can handle way more than 100,000 in terms of raw row count. It can handle 10 million rows as long as there's only one column.

How do I link cells together in Google Sheets? ›

First, select your cell to the right or left of the ones you'd like to combine. Then, type an equal sign into the function (fx) bar followed by the cells you want to combine. Instead of separating them with a comma, you'll need to separate them with a plus sign (+), like this: =A1+B1.

How does Google Sheets sharing work? ›

Sheets: Share with specific people or using a link
  1. Open the file you want to share (that you own or have edit access to).
  2. Click Share.
  3. Enter the email addresses or groups that you want to share with.
  4. Choose what kind of access you want to give people: Editor, Commenter, or Viewer.
  5. Click Send.

How do you work together in Google Sheets? ›

Share a spreadsheet with specific people
  1. Select the file you want to share.
  2. Click Share or Share .
  3. Enter the email address or Google group you want to share with.
  4. To decide what role people will have on your file, select Viewer, Commenter, or Editor.

How do I allow access to connect in Google Sheets? ›

At the top right of the preview sheet, click Connection settings. . Under “Delegate access,” click Allow. Click Connect.

Top Articles
With new stock grants, Walmart store manager pay could exceed $400K
Connolly, Schatz Reintroduce FAIR Act to Give Feds a 7.4% Raise in 2025
Maxtrack Live
Kevin Cox Picks
7 Verification of Employment Letter Templates - HR University
Ups Dropoff Location Near Me
Week 2 Defense (DEF) Streamers, Starters & Rankings: 2024 Fantasy Tiers, Rankings
Restaurer Triple Vitrage
Lamb Funeral Home Obituaries Columbus Ga
Kaydengodly
New Slayer Boss - The Araxyte
America Cuevas Desnuda
Kristine Leahy Spouse
Jonathan Freeman : "Double homicide in Rowan County leads to arrest" - Bgrnd Search
Walgreens On Nacogdoches And O'connor
What Was D-Day Weegy
Housework 2 Jab
How Much Is Tj Maxx Starting Pay
Luna Lola: The Moon Wolf book by Park Kara
Google Flights Missoula
Marine Forecast Sandy Hook To Manasquan Inlet
Universal Stone Llc - Slab Warehouse & Fabrication
Laveen Modern Dentistry And Orthodontics Laveen Village Az
‘The Boogeyman’ Review: A Minor But Effectively Nerve-Jangling Stephen King Adaptation
Craigslist St. Cloud Minnesota
Ontdek Pearson support voor digitaal testen en scoren
Pokémon Unbound Starters
TJ Maxx‘s Top 12 Competitors: An Expert Analysis - Marketing Scoop
Craigslist Boerne Tx
Lawrence Ks Police Scanner
The Bold and the Beautiful
Craigslist Central Il
Mg Char Grill
Kokomo Mugshots Busted
Lowell Car Accident Lawyer Kiley Law Group
Uhaul Park Merced
Jennifer Reimold Ex Husband Scott Porter
Agematch Com Member Login
Asian Grocery Williamsburg Va
42 Manufacturing jobs in Grayling
Daily Jail Count - Harrison County Sheriff's Office - Mississippi
8005607994
Walgreens Agrees to Pay $106.8M to Resolve Allegations It Billed the Government for Prescriptions Never Dispensed
Red Dead Redemption 2 Legendary Fish Locations Guide (“A Fisher of Fish”)
Final Fantasy 7 Remake Nexus
Todd Gutner Salary
Sea Guini Dress Code
Graduation Requirements
What your eye doctor knows about your health
Marion City Wide Garage Sale 2023
Shad Base Elevator
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6009

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.