• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
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
26
263 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
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.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
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
Products
  • Microsoft SQL Server 2019 Enterprise Microsoft SQL Server 2019 Enterprise $39.00
  • Avast Ultimate Suite 2021 2 Years 10 Devices Global Avast Ultimate Suite 2021 2 Years 10 Devices Global
    Rated 5.00 out of 5
    $77.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
  • Windows Server 2025 Remote Desktop Services 50 Device Connections Windows Server 2025 Remote Desktop Services 50 Device Connections $25.00
  • Microsoft Visio 2019 Professional Key Global Microsoft Visio 2019 Professional Key Global - 5 PC
    Rated 4.93 out of 5
    $19.00
  • Windows Server 2025 Remote Desktop Services 50 User Connections Windows Server 2025 Remote Desktop Services 50 User Connections $25.00
  • Windows Server 2016 Datacenter Key Global Windows Server 2016 Datacenter Key Global
    Rated 4.74 out of 5
    $10.00
  • Windows Server 2025 Datacenter Windows Server 2025 Datacenter $30.00
  • Buy Windows Server 2016 Essentials Key Global Buy Windows Server 2016 Essentials Key Global
    Rated 4.75 out of 5
    $10.00
  • Microsoft Office Home And Business 2016 For Mac Key Global Bind Microsoft Account Microsoft Office Home And Business 2016 For Mac Key Global Bind Microsoft Account
    Rated 4.92 out of 5
    $15.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.