• ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
Excel

Using The SPARKLINE Function In Google Sheets

0 Comments

Currently, besides Excel, Google Sheets is also a highly applicable tool. In particular, the SPARKLINE function allows you to create a chart that fits within a Google Sheets cell very quickly, making your data more visual and lively. Let’s explore this interesting feature with Buffcom.net!

Syntax of SPARKLINE Function in Google Sheets

One of the outstanding advantages of the SPARKLINE function in Google Sheets is that you do not need to apply any additional formatting or options. You just need to prepare a set of numerical data in a row or column to create the corresponding chart types.

The syntax of the SPARKLINE function: =SPARKLINE(data)

Where: data is the range of cells containing the data to insert the chart.

Illustrative example: Based on the data table as shown in the figure, we can visualize the data with a chart as follows:

SPARKLINE Function 1How to Use the SPARKLINE Function to Draw Different Chart Types

Although SPARKLINE can only be inserted within a Google Sheets cell, you can still produce many different chart types. In addition to the zigzag lines, we also have bar charts, column charts, and Winloss charts.

Formula: =SPARKLINE(data;{option, choice})

Where:

  • data: the range of cells containing the data
  • option: options for the SPARKLINE type (we often use the “charttype” option to switch to different chart types)
  • choice: the selection for the corresponding option (there are usually popular choices such as bar, column, or winloss)
  • Complete formula: =SPARKLINE(data;{“charttype”/”bar/column/winloss”})

For example: With the numerical data table below, we can create many different chart formats as follows:

SPARKLINE Function 2Thus, with a simple formula as shown above, you can create many chart templates for your data set.

Some Formatting Operations for Mini Charts in Google Sheets

In addition to creating mini charts, you can still change the color formats using the SPARKLINE function as follows:

Changing the color for line charts

Formula: =SPARKLINE(data; {“color””red”})

Illustrative example:

SPARKLINE Function 3To select different colors, simply change “red” to other color names in English.

Changing the color for column charts

For column or win/loss mini charts, they often have different colors.

Formula: =SPARKLINE(data; {“charttype””column”; “color””red”})

Illustrative example:

SPARKLINE Function 4To change the color for the first columns, just change “firstcolor”…

Changing the color for bar charts

Bar charts often have two alternating bars, so you need to use the “color1” and “color2” formats in the formula.

Formula: =SPARKLINE(data; {“charttype””bar”; “color1″”red”; “color2″”orange”})

Illustrative example:

SPARKLINE Function 5In which, the color columns for “color1” and “color2” can be flexible changed.

Changing Colors for Winloss Chart

Winloss charts often have multiple color columns, such as “lowcolor” (color for the lowest column), “highcolor” (color for the highest column), “firstcolor” (color for the first column), and “axiscolor” (color for the last column).

Formula: =SPARKLINE(data; {“charttype”\ “winloss”; “firstcolor”\ “blue”})

Example illustration:

SPARKLINE Function 6Conclusion on Using SPARKLINE Function in Google Sheets

So, the SPARKLINE function in Google Sheets is really convenient and not too difficult to operate, right? We hope you will have more useful information.

Buffcom.net is currently offering many discounted genuine office software. Contact Buffcom.net to learn more information!

Rate this post
38
300 Views
Automatically Add Borders When There Is Data In ExcelPrevAutomatically Add Borders When There Is Data In ExcelApril 7, 2023
How to convert Excel files to CSV easily and memorablyApril 7, 2023How to convert Excel files to CSV easily and memorablyNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
Products
  • Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account
    Rated 4.95 out of 5
    $58.00
  • Microsoft Office Home And Business 2019 CD Key for MAC Global Microsoft Office Home And Business 2019 CD Key for MAC Global
    Rated 4.95 out of 5
    $30.00
  • Microsoft Project 2016 professional CD Key Global Microsoft Project 2016 professional CD Key Global
    Rated 4.97 out of 5
    $9.00
  • Microsoft Visio Professional 2021 Key 1PC Microsoft Visio Professional 2021 Key 1PC $13.00
  • Windows 10 Pro OEM Key Global - Reinstalling win is still active Windows 10 Pro OEM Key Global - Reinstalling win is still active
    Rated 4.88 out of 5
    $6.00
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Windows Server 2019 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2019 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 4.72 out of 5
    $20.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Project Standard 2021 Microsoft Project Standard 2021 - 1 PC $13.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.