Using arrays in Google Sheets (2024)

An array is a table (consisting of rows and columns) of values. If you want to group the values of your cells together in a particular order, you can use arrays in your spreadsheet.

Some functions return arrays. For example, IMPORTRANGE returns an array of values by importing the specified range from another spreadsheet. When you write a formula using IMPORTRANGE, you'll see its array result spill over to the cells to the right and below.

Any function that takes a range, such as A1:B6, as an input parameter will also accept an array in its place. For example, SPARKLINE takes a range as the first parameter to specify the values to plot. You can use the array result of IMPORTRANGE as SPARKLINE's input.

=SPARKLINE(IMPORTRANGE(...))

Create arrays

You can also create your own arrays in a formula in your spreadsheet by using brackets { }. The brackets allow you to group together values, while you use the following punctuation to determine which order the values are displayed in:

  • Commas: Separate columns to help you write a row of data in an array. For example, ={1, 2} would place the number 1 in the first cell and the number 2 in the cell to the right in a new column.
  • Semicolons: Separate rows to help you write a column of data in an array. For example, ={1; 2} would place the number 1 in the first cell and the number 2 in the cell below in a new row.

Note: For countries that use commas as decimal separators (for example €1,00), commas would be replaced by backslashes (\) when creating arrays.

You can join multiple ranges into one continuous range using this same punctuation. For example, to combine values from A1-A10 with the values from D1-D10, you can use the following formula to create a range in a continuous column: ={A1:A10; D1:D10}.

Adding arrays to existing formulas

You can also use arrays with other existing formulas using brackets in order to organize the returns from your formulas into rows or columns.

For example, ={SUM(A1:A10), SUM(B1:B10)} will produce two values. The first cell will contain the sum of A1 to A10, the cell to the right will contain the sum of B1 to B10.

Using arrays in Google Sheets (1)

Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Using arrays in Google Sheets (2024)
Top Articles
Do Buyers get Notification for Price Drop and Shipping Cost Drop?
Stopping people for putting a watch on my listings
My Scheduler Hca Cloud
Trauma Care | FMOLHS
Dmitri Wartranslated
Aldi Nearme
The Forum View From My Seat
Jumble Baltimore Sun
Wi Dept Of Regulation & Licensing
Craigslist Forks Wa
Best Rally Car Games
From Point and Click to Qmlativ: Illinois District Evolves Alongside EdTech Provider
Paccar PX-7 Problems Not Many People May Know
Hindi Links 4U
Www Cortrustbankcc.com
Does Harry And David Accept Ebt
German American Bank Owenton Ky
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
O'reilly's Milford Ohio
Used Troy Bilt Tiller For Sale Craigslist
Fbsm Berkeley
Vinnie Politan Weight Loss - What Causes Rapid Weight Loss In Cats
Jeep Österreich| Mopar | Vernetzte Dienste - Uconnect
Panty Note 33
The Philadelphia Inquirer from Philadelphia, Pennsylvania
Lawson Uhs
Fortune House Southbury Menu
Blairsville Online Yard Sale
Bt33Nhn
Craigslist Yard Sales Jacksonville Fl
IHOP Pancakes Near You in Cape Girardeau - Order Takeout or Delivery Today!
What Does Code 898 Mean On Irs Transcript
School Cancellations Ct
White Pages Pennsylvania Usa
Dicks: The Musical Showtimes Near Regal Galleria Mall
Gina Wilson All Things Algebra Unit 3 Homework 2
Disney Xd Wiki
kg to lbs Converter (Kilograms to Pounds) - Inch Calculator
The best things to do on your next road trip to Rockingham
Rub And Tug Map
Saberhealth Time Track
28 Box St
Filmy4Wab Xyz
1988 Jaguar XJS Convertible. Location: The Netherlands .
Egusd Lunch Menu
Yosemite Sam Hood Ornament
Campers Inn Rv Of Hu
Ryan Bingham and Hassie Harrison: All About the 'Yellowstone' Costars’ Relationship
Ios Unblocked Games
Vegamovies Home
Www.pfmlogin.com Driver Center Login
Nwmh Mychart
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 6316

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.