The post How to Create Barcode In Google Sheets appeared first on Sheetaki.

]]>

That is all fine, but what is the real utility of a barcode? **Barcodes** save us from making manual errors – as simple as that. When you enter data yourself, it by design is more error prone, since a product tag usually consists of a combination of six to eight digits. A **barcode** scan saves you significant time compared to manually entering data. It is very simple to do as well, reducing the effort to learn the same. Could you ask for more, really?

Let’s take an example.

I plan to start a retail store in my vicinity and my planned product assortment ranges from hardlines to apparel. Manually entering and capturing sales data by product ID is going to be both cumbersome and error prone. For faster execution of transactions and ease of tracking sales volume, I would definitely need a technique that is both robust and scalable.

Here is where a barcode will come to my rescue. A barcode will ensure that the product tag is safely and, more importantly, uniquely captured.

Great! Let me take you through a real world use-case, and learn how we can write our own function in Google Sheets to create a barcode. There are two ways to creating barcodes in Google Sheets, and I shall take you through each of them, separately.

So the syntax (the way we write) of the function is as follows:

=”*”&<cell_number>&”*”

Let’s dissect this thing and understand what each of the terms means:

- = the equal sign is just how we start any function in Google Sheets.
**“*”**is just the ‘ampersand’ symbol wrapped in double quotes.**<cell_number>**denotes the reference to the cell which contains the product ID for which the barcode is to be created**“*”**again, is just the ‘ampersand’ symbol wrapped in double quotes.

Take a look at the example below to see how to create a barcode on Google Sheets:

The above are product listings at the neighborhood coffee shop, and you can clearly see that each coffee has a separate product ID. All of these are offered as takeaways, and therefore, the owner needs to tag the products with unique IDs for ease of transaction at checkout. This can easily be achieved using the aforementioned formula using an ampersand and cell reference, as shown below:

You may try changing it on your own with different product IDs, and see if you’re getting it right. Go ahead and make a copy of the spreadsheet using the link I have attached below:

But before you do, let me walk you through both the methods in detail on how to generate barcodes.

- I have listed merchandise in the packaged food section at Starbucks in my neighborhood. The objective is to create barcodes for each of the product items so that they are unique.

- Now, simply click on any cell to make it the active cell. For this guide, I will be selecting
**C2**, where I want to show my results. - Next, simply type the equal sign ‘
**=**‘ to begin the function, followed by the asterisk symbol wrapped in double quotes, like this: “*”. - Continue by typing the ampersand symbol: ‘&’ and navigating to the cell which has the product ID listing, which in our case is
**B2. Finish the formula by typing the ampersand symbol again, followed by an asterisk symbol wrapped in double quotes. If you’ve typed it correctly, the final formula should look something like this:**

- Just hit your enter key now. You should see a number appear as the result. If Google Sheets suggests an Auto Fill (as shown below), go ahead and accept it, else drag the formula down all the way to cell B8 so that we have an output for each of the product IDs.

- You’re nearly there. Select the barcode output (ini column C), and proceed to the Font name option. Select the ‘More Fonts’ option.
- Once you are on the Fonts tab, type in ‘Libre barcode’ in the search bar and select the first option, as shown below:

- If you’ve followed all the steps correctly, you should have created barcodes for each of your product IDs as shown below.

Awesome. Let us look at another way to create barcodes in Google Sheets.

So the syntax (the way we write) of the function is as follows:

=IMAGE(url,[mode],[height],[width])

Let’s dissect this thing and understand what each of the terms means:

- = the equal sign is just how we start any function in Google Sheets.
**IMAGE()**is the`IMAGE`

function.`IMAGE`

will return an image to the cell in which the formula is entered**url –**The URL of the image you want to insert into the cell- The
**url**must either be enclosed in double quotes or a cell reference to the original link.

- The
**mode**– [ OPTIONAL – 1 by default ] – provides an option to resize the image- 1 fits the image to the cell, maintaining the original aspect ratio.
- 2 fits the image to the cell, ignoring the aspect ratio.
- 3 leaves the image at its original size, subject to potential cropping.
- 4 allows the user to specify a custom size.
- Note that no mode causes the cell to be resized to fit the image.

**height**– [OPTIONAL] – denotes the height of the image in pixels; has a prerequisite of**mode**= 4.**width**– [OPTIONAL] – denotes the width of the image in pixels; has a prerequisite of**mode**= 4.

- For ease of comparison and better understanding, we will be using the same data as in the previous example.

- Now, simply click on any cell to make it the active cell. For this guide, I will be selecting
**C2**, where I want to show my results. - Next, simply type the equal sign ‘
**=**‘ to begin the function and then followed by the name of the function, which is our ‘**image**‘ (or**IMAGE**, whichever works). **You should find that the auto-suggest box appears with our function of interest. Continue by entering the first opening bracket ‘(‘. If you get a huge box with text in it, simply hit the arrow in the top-right hand corner of the box to minimize it. You should now see it as follows:**

- The first input to the function is the
**url**. For this, go to the link: https://www.barcodesinc.com/generator/ and click on the ‘Make a Barcode Online – FREE’ option. On the landing page, enter the product ID for which you want to create the barcode for (**855751**in this case) and click on “Generate Barcode”. You should see the windows as shown below:

- Proceed to click on the “Link or embed this barcode” option. You will see a link generated just below the option, and you have to copy the link. Then, go back to the Google Sheets tab and paste this link within quotes inside the IMAGE function as shown below:

- Finally, replace the product ID 855751 within the link with this dynamic reference: “&C2&” and drag the formula down. If you followed all the steps correctly, you would have got the correct barcode created as shown below.

That’s pretty much it. You have everything you need to get started with creating a barcode on Google Sheets. I recommend trying your hand at it, combining it with the numerous Google Sheets formulas available, and seeing what you can come up with. 🙂 Get cracking!

The post How to Create Barcode In Google Sheets appeared first on Sheetaki.

]]>The post How To Use Sparkline in Google Sheets appeared first on Sheetaki.

]]>This function is very handy when presenting some data to your colleagues or superiors as it can quickly provide attractive visual representations.

As a student, you would like to track your exam results to keep track of your progress. You can simply use the SPARKLINE function to create a small line chart to give you an overall view of your results.

You can see that the SPARKLINE function generates a simple line chart according to the data inserted into the formula in the image.

There are also many other options that you can insert into the formula to customize it. Instead of line charts, you can customize the chart type!

The way we write the SPARKLINE function is:

= SPARKLINE(data, [options])

Let us help you understand the context of the function:

- The equal sign
`=`

is how we start any function in Google Sheets. `SPARKLINE()`

is our function. We need to add two attributes, namely the`data`

and`[options]`

, to make it work correctly.- The
`data`

is the range containing the data to plot. In our previous example, it would be**B3:B6**. - The
`[options]`

is a range of optional settings and associated values used to customize the chart. This attribute is optional. The formula will automatically plot a line chart if it is not inputted, as shown in our previous example.

Let’s explore the endless customizable options you can input into the formula!

Now that you have learned all the options available, let’s use some of these in an example!

Very often, every year-end we are asked to have a meeting to discuss the performance of sales during the year. With the `SPARKLINE`

function, you can easily create visualizations to let the listeners have a better understanding of the collected data.

Since the line chart is the default chart type, we would only need to specify the range of data.

However, to make it more engaging and presentable, we can insert some options to enhance the outcome.

- Simply click on the cell that you want to write down your function at. In this example, it will be
**D5:D7**. Simply**merge**these cells to create a bigger cell to showcase the line chart.

- Begin your function with an equal sign
`=`

, then an open parenthesis`SPARKLINE`

.`(`

- We will then select cells
**B4:B15**, as this is the range of data we would like to plot. Furthermore, we need to add a comma`,`

from our next attribute, the`data`

.`[options]`

- To start any options, we will need to insert a curly bracket
. Then, we can simply add in all the options we would like to customize the chart however we like. In this example, we want it to have a thicker line and be in the color blue. Hence, we would insert`{`

and`linewidth`

for a thicker line. For a blue line, simply insert`2`

and`color`

.`blue`

Do not miss out on the semicolon ** ;** to separate each option from one another!

- Your input would look like this:

Final formula:

`=SPARKLINE(B4:B15,{"linewidth",2;"color","blue"})`

Let’s try creating a column chart using the SPARKLINE function. However, in this example, we would like to use different colors for the highest and lowest sales.

**Example:**

- To create a column chart, we would need to insert
and`charttype`

into the formula to specify the chart type.`column`

- Now, let’s customize the chart to show a distinction between highest and lowest sales using different colors. We would make the lowest sales red by inputting
and`lowcolor`

. Then the highest sales would be green. We will insert`red`

and`highcolor`

.`green`

- Your input would look like this:

Unline the line and column charts. A bar chart does not take many values per chart.

Let us use some examples to demonstrate what this means.

- Similar to the column chart, let’s specify which chart type we would like the formula to generate. We would insert
and`charttype`

. However, instead of selecting a range of data like before, we would only be selecting one cell. In this example, it would be`bar`

**B4**.

- Your input would look like this:

The problem here is that the bar chart fills up the whole cell. There is no representation of data showing the performance of the entire year. This is because when you create a bar chart, since each cell only knows the value of the bar it needs to create, there is no way to know how long the var can be.

To curb this, we would utilize the option to create a comparative view.

`MAX`

- Let’s insert
as another option. Then we would select the maximum amount in the range of sales we have, which is`MAX`

**B15**.

We can also manually input the maximum value into the formula.

- Your final input would look like this.

Winloss charts are a special type of chart where there are only two outcomes, positive and negative. It does not show the magnitude of the data, unlike the column chart.

Let’s move on to an example to get a clearer understanding.

**Example:**

- To get a winloss chart, we would need to insert the options
and`charttype`

.`winloss`

- Let’s also customize the negative values using a different color. To do so, we will insert
and`negcolor`

.`red`

- Your final input would look like this:

As you can see, regardless of how high or low the sales is, all the columns are the same height.

If this tutorial is interesting to you, do not miss out on our tutorials on various ways to create charts in Google Sheets! From creating Candlestick charts to Gantt charts, we have it all!

The post How To Use Sparkline in Google Sheets appeared first on Sheetaki.

]]>The post How to Delete Every Other Row in Google Sheets appeared first on Sheetaki.

]]>This tutorial is to teach you to delete and hide every other row in Google Sheets by using the filter tool.

The filter tool can not only assist us to deleting every other row, but it can also use advanced formulas to delete every third, fourth, or Nth row in a dataset.

Let’s start!

Is it really simple to delete every other row in Google Sheets. We would simply use the filter tool to hide either the even or odd-numbered rows.

Let’s use an example to show you what we mean!

- First, we would need to select the headers we would like to filter. In our example, it would be
**A1:D1**.

- Find the filter tool. It would be on the top right side of your toolbar. Once you have found it, click it.

- After clicking on the filter tool, your headers would appear several filter icons.

- Then you click on the filter icon, a drop-down would appear. We would then click on
**“Filter by condition”**. It would then allow you to select several options. We would scroll all the way down to select**“Custom formula is”**to insert a customized formula as a filter.

- The formula we are going to use would help us to hide all even-numbered rows. We will insert
into the box. Then press**=ISEVEN(row(A1))****Enter**.

- After pressing
**Enter**, your input should look like this.

As you can see, the filter has to hide every other row that is even-numbered. Another thing to take note of is that the formula we input in filters the rows that are even-numbered instead of the data that are even-numbered.

Here is a breakdown of the formula we used in the formula.

is a function; it is used to check the presence of even integer values in cells.**ISEVEN**is a command. So instead of filtering a single cell, it would filter the whole row.**ROW**

So together, the formula will help us to hide all even-numbered rows.

Other than deleting or hiding every other row in Google Sheet, you can also use another formula in the filter tool to delete or hide every third, fourth or fifth row.

This formula is a bit more complex than the previous formula. However, it is also very customizable.

Let’s use the same database as **Example 1** to show how this can be achieved.

So instead of inserting the previous formula into the filter tool, we would be using the MOD function.

- We would like to hide every third row excluding the header. The image below shows that every third row excluding the header would be highlighted in green.

- To do so, we will enter
into the filter.**=MOD((row(A1) - row ($A$1)-2),3)**

- The filter would then filter out every third row:

You can see that the highlighted rows are now missing, meaning the formula inputted in the filter tool works!

Let’s have a better understanding of what the formula does.

- The
function is being used as a division operator, where if the return is a remainder of “0”, we would hide the cell.`MOD`

**ROW**is a command. So instead of filtering a single cell, it would filter the whole row.- The
**“-2”**means that the filter would hide the third row**after**the header. - The
**“3”**means the numeric value that sets the row to hide interval. Since we want to hide every third row, hence we input**“3”**.

As simple as that! You can now hide or delete every other row in Google Sheet by following the steps above.

Don’t be afraid to play with the formulas. With little modification, you can also customize the formula in the way you prefer!

The post How to Delete Every Other Row in Google Sheets appeared first on Sheetaki.

]]>The post How to Use DPRODUCT Function in Google Sheets appeared first on Sheetaki.

]]>

The `DPRODUCT`

function is a built-in function that is categorized as a ‘Database Function’. It can be used as a worksheet function, and can be entered as part of a formula in a worksheet cell.

Let’s take an example.

I am evaluating my trading strategies for this month and have listed the number of units purchased, and purchase value for each crypto coin. My need is to check net spend on Ethereum coins to calculate the profit/loss realized. To go through my entire portfolio for the same is a slightly time-consuming task.

And here is where `DPRODUCT`

comes to my rescue. The function helps me calculate the product of units purchased and the cost incurred to give the total money spent on Ethereum coins.

That’s just one small example. There are plenty of other use-cases for this function in real life.

Great! Let’s dive right into real-business use-cases, where we will deal with actual values and as well as learn how we can write our own `DPRODUCT`

function in Google Sheets to calculate variances in data.

So the syntax (the way we write) of the `DPRODUCT`

function is as follows:

=DPRODUCT(database, field, criteria)

Let’s dissect this thing and understand what each of the terms means:

`=`

the equal sign is just how we start any function in Google Sheets.`DPRODUCT()`

is our**DPRODUCT**function.**DPRODUCT**will return the variance of an entire population selected from a database table-like array or range using a SQL-like query.**database**refers to the array or range having the data, including headers for each column’s values**field**refers to the column in the data which has the values that are to be extracted and worked on.**field**may either be a text label referring to the required column header or a numeric value indicating which column to consider, where the first column has a value = 1.

**criteria**refers to an array or range containing the criteria to filter the database values before operating. This may be left blank.

Take a look at the example below to see how `DPRODUCT`

functions are used in Google Sheets:

The above figures are pricing details for fruits in my state. The objective here is to find the price for 250 apples (which is equivalent to 1 carton at the store I am obtaining the data from). Just below the captured data, I have given a provision to enter the **criteria** (column A16) based on which the data will be filtered.

As you can see below, I have obtained the total price for 250 apples using the `DPRODUCT`

function:

You may try changing the **criteria** and see how the result changes. Go ahead and make a copy of the spreadsheet using the link I have attached below:

Awesome! Let’s begin our `DPRODUCT`

function in Google Sheets.

- Let’s see how to write your own
`DPRODUCT`

function, step-by-step. I have listed down the packaged food consumption of two kids from my neighborhood – Mike and Jamie, in the past year. The objective is to identify the total amount Mike spent on bars in the month of May. You will notice that I am using multiple conditions here.

- Now, simply click on any cell to make it the active cell. For this guide, I will be selecting
**H9**, where I want to show my results. - Next, simply type the equal sign ‘
**=**‘ to begin the function and then follow the function’s name, which is our ‘**dproduct**‘ (or**DPRODUCT**, whichever works). - You should find that the auto-suggest box appears with our function of interest. Continue by entering the first opening bracket ‘(‘. If you get a huge box with text in it, simply hit the arrow in the top-right-hand corner of the box to minimize it. You should now see it as follows:

- Now, the fun begins! Let’s give the required inputs to the function to get the total price for bars that Mike purchased, per the filtration criteria we have given besides the data:

- Take note of how I’ve specified conditions to limit the purchases to the ones Mike made on bars. The criteria for the formula are input as H3:K4 to account for all the criteria mentioned, if any.
- Once you’ve entered the necessary
**database**,**field**, and**criterion**values, or you’ve done what I did, make sure to close the brackets ‘)’, as shown below.

- Finally, just hit your Enter key. You will notice that the result reads $12750.90.

You are getting a high value as output because, based on the conditions you have given, the table gets filtered for four rows, two in January and two in May. And therefore, the `DPRODUCT`

function multiplies all four values in the column F for these rows filtered out through the given criteria. To get the desired result, you need to specify an additional criteria as shown below:

You can now see that we have obtained the correct price that Mike spent on bars in May. That’s pretty much it. You have everything you need to get started with the `DPRODUCT`

function on Google Sheets. I recommend experimenting with the `DPRODUCT`

function, combining it with the numerous Google Sheets formulas available, and seeing what you can come up with. 🙂

The post How to Use DPRODUCT Function in Google Sheets appeared first on Sheetaki.

]]>The post How to Use DGET Function in Google Sheets appeared first on Sheetaki.

]]>

The `DGET`

function is a built-in function that is categorized as a ‘Database Function’. It can be used as a worksheet function, and can be entered as part of a formula in a cell of a worksheet. It is the only database function in Google Sheets that can be used for vertical lookup. All database functions in Google Sheets are for aggregation except the `DGET`

. You can use the function to obtain values from multiple columns, not rows.

Let’s take an example.

I want to buy a pre-owned car and have collected a list of available models and details from the dealer in a tabular form. I want to know the year of manufacture for the Ford F150 variant. The list is really huge, and it is cumbersome to eyeball it line by line.

Here is where `DGET`

comes to my rescue. The function outputs the year of make for the F150 once I give the appropriate condition of the brand name.

That’s just one small example. There are plenty of other use-cases for this function in real life.

Before we move to the structure of the formula and examples, I would like you to note a couple of things. If you want to use `DGET`

to get data, you should make sure that your data complies with the following basic requirements:

- The data should be in tabular form with proper headers.
- The data should not contain any duplicates. If there are duplicates, you should remove them by using the
`UNIQUE`

or`SORT`

function that you can use within the`DGET`

. If the function encounters multiple matches for the given criteria, it will return an error.

For a comprehensive guide on how to use the `UNIQUE`

and `SORT`

functions, refer to our articles here.

Great! Let’s dive right into real-business use-cases, where we will deal with actual values and as well as learn how we can write our own `DGET`

function in Google Sheets to calculate variances in data.

So the syntax (the way we write) of the `DGET`

function is as follows:

=DGET(database, field, criteria)

Let’s dissect this thing and understand what each of the terms means:

`=`

the equal sign is just how we start any function in Google Sheets.`DGET()`

is our**DGET**function.**DGET**will return the variance of an entire population selected from a database table-like array or range using a SQL-like query.**database**refers to the array or range having the data, including headers for each column’s values**field**refers to the column in the data which has the values that are to be extracted and worked on.**field**may either be a text label referring to the required column header or a numeric value indicating which column to consider, where the first column has a value = 1.

**criteria**refers to an array or range containing the criteria to filter the database values before operating. This may be left blank.

For a better understanding of the difference between estimating variance from a population vs. a sample, we shall be explaining the function using the same examples from our guide on `DGET`

function, so that you can compare the two.

Take a look at the example below to see how `DGET`

functions are used in Google Sheets.

The above figures are showroom prices for different brands of cars. The objective here is to find the price for the Dodge Viper. Just below the captured data, I have given a provision to enter the **criteria** based on which the data will be filtered. This is not a required criterion, and the function will still function properly if we leave it blank. As you can see below, I have obtained the showroom price for the Dodge Viper:

You may try changing the **criteria** and see how the result changes. Go ahead and make a copy of the spreadsheet using the link I have attached below:

Awesome! Let’s begin our `DGET`

function in Google Sheets.

- Let’s see how to write your own
`DGET`

function, step-by-step. I have listed down the top goal scorers from the past six FIFA World Cup tournaments. The objective is to identify which Spanish player was among the top scorers of the 2010 edition of the tournament.

- Now, simply click on any cell to make it the active cell. For this guide, I will be selecting
**A18**, where I want to show my results. - Next, simply type the equal sign ‘
**=**‘ to begin the function and then followed by the name of the function, which is our ‘**dget**‘ (or**DGET**, whichever works). - You should find that the auto-suggest box appears with our function of interest. Continue by entering the first opening bracket ‘(‘. If you get a huge box with text in it, simply hit the arrow in the top-right hand corner of the box to minimize it. You should now see it as follows:

- Now, the fun begins! Let’s give the required inputs to the function to get the standard deviation in unit sales, per the filtration criteria we have given above the data:

- Take note of how I’ve specified conditions to limit the data to the 2010 edition of the tournament. The criteria for the formula are input as
**A13:C14**to account for all the criteria mentioned, if any. - Once you’ve entered the necessary
**database**,**field**, and**criterion**values, or you’ve done what I did, make sure to close the brackets ‘)’, as shown below.

- Finally, just hit your Enter key. You will notice that we have a
**#NUM!**output. The**#****NUM****!**error occurs in when a calculation can’t be performed. So what happened here?.

If you look closely, there are four players who were joint top scorers for the 2010 edition, therefore the condition of 2010 does not return a unique result. It is very important to note this. You now have to give additional criteria to objectively get the result we desire. Go ahead and add another criteria before trying again. Once you’ve added another criteria, the result should automatically be updated as shown below:

You can now see that we have identified David Villa as the Spanish top scorer in the FIFA World Cup 2010 tournament. That’s pretty much it. You have everything you need to get started with the `DGET`

function on Google Sheets. I recommend experimenting with the `DGET`

function, combining it with the numerous Google Sheets formulas available, and seeing what you can come up with. 🙂

The post How to Use DGET Function in Google Sheets appeared first on Sheetaki.

]]>The post How to Use DSTDEV Function in Google Sheets appeared first on Sheetaki.

]]>

The `DSTDEV`

function is a built-in function that is categorized as a ‘Database Function’. It can be used as a worksheet function, and can be entered as part of a formula in a cell of a worksheet.

Now, instead of a partial data (population sample), if you are working on full data (population), then there is another function called `DSTDEVP`

that you may use. You can find a comprehensive guide on the same in one of our articles here.

What is a standard deviation?

For given data, the **standard deviation** is a measure of dispersion in statistics. “Dispersion” tells you how much your data is spread out. It demonstrates how much your data is spread out around the meaning or average. For example, are all your scores close to the average? Or are there lots of scores way above (or way below) the average score.

Let’s take an example.

Let us assume that I have gone to a dog rescue and adoption centre to adopt a “Pug”. The volunteer shows me data of the rescued pugs at their centre, and they have noted down each of their height and weight separately. I want to understand if pugs are generally of the same height for a given age, or if there is variation in how tall they grow up to be. Since I can not collect data for all the pugs in my country or region, I have to work with the limited sample of data collected at the centre.

Here is where the `DSTDEV`

function comes to my aid. The function outputs the standard deviation of the heights for pugs at the adoption centre, which is a sample of the population of pugs in my country. The standard deviation of the heights is around **125.12mm** for an average height of 294mm. Since the value is moderately high, I realize that heights for young pugs do vary and are not at the same level, in general.

That’s just one example. There are plenty of other use-cases for this function in real life. Great! Let’s dive right into such real-business use-cases, where we will deal with actual values and as well as learn how we can write our own `DSTDEV`

function in Google Sheets to calculate variances in data.

So the syntax (the way we write) of the `DSTDEV`

function is as follows:

=DSTDEV(database, field, criteria)

Let’s dissect this thing and understand what each of the terms means:

`=`

the equal sign is just how we start any function in Google Sheets.`DSTDEV()`

is our**DSTDEV**function.**DSTDEV**will return the variance of an entire population selected from a database table-like array or range using a SQL-like query.**database**refers to the array or range having the data, including headers for each column’s values**field**refers to the column in the data which has the values that are to be extracted and worked on.**field**may either be a text label referring to the required column header or a numeric value indicating which column to consider, where the first column has a value = 1.

**criteria**refers to an array or range containing the criteria to filter the database values before operating. This may be left blank.

For a better understanding of the difference between estimating variance from a population vs. a sample, we shall be explaining the function using the same examples from our guide on `DSTDEVP`

function, so that you can compare the two.

Take a look at the example below to see how `DSTDEV`

functions are used in Google Sheets.

The above are five of the many purchases Linda made at the grocery store this week. As is evident from the quantities purchased, she went a bit overboard with the third purchase listed down here. She wanted to know if her high-priced purchases were in the same price range as her low-priced purchases.

Just above the captured data, I have given a provision to enter the **criteria** based on which the data will be filtered. This is not a required criterion, and the function will still function properly if we leave it blank.

The `DSTDEV`

function will give her the desired result based on the conditions specified in A2:D3, as below:

What does the 0.71 value mean here? The two orders which have a unit cost of more than $3 listed here are Order IDs 1 and 5, costing $5 and $6 respectively. The formula gives a standard deviation of 0.5, which means the values ($5 and $6) are not too different from the mean value ($5.5). This indicates that all the purchases Linda made for more than $3 are for about the same value, since the dispersion is not that high.

Why is this value higher compared to the standard deviation obtained from the `DSTDEVP`

function, though?

When we calculate standard deviation based on the entire population, the denominator of the formula is the total number of items. However, when the standard deviation is calculated from a sample data, we subtract a value of 1 before dividing the sum of the squared deviations. For this very reason, the value of standard deviation calculated from sample data is higher than the value that could have been found out by using population data. The logic of doing so is to compensate for our lack of information about population data. When sample data is taken for most statistical purposes, it is accompanied by a lack of information about the majority of data. In order to compensate for this, the value of standard deviation is higher in the case of sample data than standard deviation from population data.

You may try changing the **criteria** and see how the result changes. Go ahead and make a copy of the spreadsheet using the link I have attached below:

Awesome! Let’s begin our `DSTDEV`

function in Google Sheets.

- Let’s see how to write your own
`DSTDEV`

function, step-by-step. First of all, I have pasted sales data from a single retail store across three years, from 2018 to 2020, for three apparel brands – Nike, Adidas, and Puma.

- Now, simply click on any cell to make it the active cell. For this guide, I will be selecting
**F14**, where I want to show my results. - Next, simply type the equal sign ‘
**=**‘ to begin the function and then followed by the name of the function, which is our ‘**dstdev**‘ (or**DSTDEV**, whichever works). - You should find that the auto-suggest box appears with our function of interest. Continue by entering the first opening bracket ‘(‘. If you get a huge box with text in it, simply hit the arrow in the top-right hand corner of the box to minimize it. You should now see it as follows:

- Now, the fun begins! Let’s give the required inputs to the function to get the standard deviation in unit sales, per the filtration criteria we have given above the data:

- Take note of how I’ve specified conditions to limit the data to the Nike brand (selecting only the years 2019 and 2020). The criteria for the formula are input as
**A1:F3**to account for all the criteria mentioned, if any. - Once you’ve entered the necessary
**database**,**field**, and**criterion**values, or you’ve done what I did, make sure to close the brackets ‘)’, as shown below.

- Finally, just hit your
**Enter**key. If you followed my instructions, you should have gotten 316.23 as the function’s output, which is nothing but the standard deviation of Nike and Puma combined unit sales (for the criteria specified above the data table).

As explained in the previous example, note that the standard deviation is higher here since we are considering the data to be a sample, and not the entire population.

As per the specified criteria, the sales units that qualify to be considered vary from 800 units to 1,500 units with an average value of 1,100 units. The standard deviation obtained denotes that the data points aren’t that close to each other.

That’s pretty much it. You have everything you need to get started with the `DSTDEV`

function on Google Sheets. I recommend experimenting with the `DSTDEV`

function, combining it with the numerous Google Sheets formulas available, and seeing what you can come up with. 🙂

The post How to Use DSTDEV Function in Google Sheets appeared first on Sheetaki.

]]>The post How to Compare Two Sheets in Google Sheets appeared first on Sheetaki.

]]>As a frequent Google Sheet user, you may be tasked to scan through two sheets to spot and point out the differences in data. Manually examining takes up too much time and strains our eyes.

Hence, we are here to demonstrate several effective ways to compare two Google Sheets, namely:

- Using the Equal Sign
- Using the IF Function
- Add-ons Tool

We can easily use the equal sign `=`

to compare values between two columns or two sheets in Google Sheets.

Let’s say you are a toiletry retailer that sells different toiletries ranging from toothbrushes to deodorants. Every month, you would be receiving a price list from your supplier for you to restock your inventories.

You have received the price list for February and would like to compare the prices listed against the previous month. As there are many products on the price list, it is time-consuming to compare them manually.

Not to worry! We are here to show you how you can compare the price list more efficiently.

Do take note that the above scenario would be adapted for all examples used within the tutorial.

As you can see, these are two different sets of price lists extracted from two sheets.

- Select the range that you would like to compare from the “
**Jan**” tab. In this example, it would be**B3:B11**.

- Then,
**copy**the selected range and**paste**it into the “**Feb**” tab. Your sheet would now contain two columns of “Cost per piece”.

- To avoid confusion,
**rename**the respective**headers**.

- Now, let’s input the formula. First, click on the cell that you want to write down your formula. In this example, it will be
**F4**.

- Begin your formula with an
**equal sign**, then select the value that you want to compare from`=`

**Jan**, which is**D4**.

- Then insert another
**equal sign**, followed by the value that you want to compare from`=`

**February**,**B4**.

- After you press
**Enter**, your return value should show “**TRUE**” or “**FALSE**”.

- As shown below,
**rows 8, 9, and 10**have a return value of “**FALSE**” as there was a price increase.

Instead of copying the values from one tab to another, here is a more direct way.

- Select the cell you would like to input the formula in. In our case, it would be
**D4**.

- Similar to
**Example 1**, begin your formula with an**equal sign**. Then, select the value that you want to compare from`=`

**Feb**, which is**B4**.

- Next, insert another
**equal sign**and select the value to compare against in the “`=`

**Jan**” tab, which is**Jan!B4**.

- Once you press
**Enter**, the same return values would appear.

The IF function is a very versatile function that can be applied to different scenarios. The function is used to evaluate whether the data you selected meets certain criteria in a logical test, where the result is always **“TRUE” **or **“FALSE”**.

Here is the syntax (the way we write) of IF function:

=IF(logical_expression, value_if_true, value_if_false)

You can visit our tutorial on the **IF function** before proceeding to appreciate the formula!

Compared to using the equal sign to compare values, the IF function can tailor the return values if it’s **“TRUE”** or **“FALSE”**. You would have a better understanding of how this works after we go through some examples.

- Select the cell you would like to input the function in. In our case, it would be
**D4**.

- Begin your function with an
**equal sign**, then followed by the name of the function,`=`

, then an`IF`

**open parenthesis**.`(`

- Similar to using the equal sign
, we will input the price we would like to compare against the price in the “`=`

**Jan**” tab. This would be our. The formula would look like this:`logical_expression`

- Now we would need to add the
and`value_if_true`

. In this example, we would use`value_if_false`

**“Match”**and**“Differ”**as our respective values. Remember to add a**comma**between each attribute!**,**

- Similar to using the equal sign
,`=`

**rows 8, 9, and 10**have a return value of**“Differ”**as the price in January and February do not match.

As mentioned earlier, we can alter the return value for both **“TRUE”** and **“FALSE”** to any customized value. In this example, it is **“Match”** and **“Differ”**.

However, if you would like to visualize how the price differs from January to February, there is another way to do so.

In this example, we would be able to use the `IF`

function to show only those cells that differ in price.

The formula will pull records from both tabs and separate them with a character of your choice entered into the formula.

Let’s start!

- Select the cell you would like to input the function in. In our case, it would be
**D4**. Begin your function with an**equal sign**, then followed by the name of the function,**=**, then an**IF****open parenthesis**.**(**

- Just like the previous example, we will input the price we would like to compare against the price in the “
**Jan**” tab. This would be our. The formula would look like this:**logical_expression**

- In this example, if the value is
**“TRUE”**, we would like the return value to be**blank**. If the value is**“FALSE”**, we would like the return value to show the prices from the**“Jan”**and**“Feb”**tabs.

- For
, we will input**value_if_true****double quotations**and leave a**""****spacing**in between. This will cause the return value to be**blank**if the value is**“TRUE”**.

- For
, we will input the price in February, which is**value_if_false****B4**. To add a character in the two prices, input the**double quotations**and insert the desired character. In our case, it would be a**""****vertical bar**. We would then end the formula with the price in January, which is**|****Jan!B4**.

Don’t miss out on the **ampersand signs **. It is used to connect or join the inputs together to form a string!

- Let’s close the formula with a
**close parenthesis**. Your final input should look like this:**)**

Final formula:

**=IF(****B8****=****Jan!B8****,****” “****, ****B8****&****“|”****&****Jan!B8****)**

- To make the return value look less cluttered, we can add spacing in between.

Final formula:

**=IF(****B8****=****Jan!B8****,****” “****, ****B8****&****” | “****&****Jan!B8****)**

With this formula, you can see the difference in price without referring to the other sheet. This also creates a tidier compared to the previous examples as it shows only the relevant information.

This example demonstrates how we can insert the function into the

**IF**

As shown in the images above, the sequence of the products in the “Jan” and “Feb” tab is different. This is where the function comes into play.

The function would allow us to pull out data from a table. In our scenario, the function would help us match the correct product price from January to the selected product price in February.

Here is the syntax (the way we write) of the **VLOOKUP** function:

=VLOOKUP(search_key, range, index, [is_sorted])

If you are not familiar with the function, don’t be shy and head over to our tutorial on the

**VLOOKUP**

Let’s go through this step-by-step!

- Select the cell you would like to input the function in. In our case, it would be
**D4**. Begin your function with an**equal sign**, then followed by the name of the function,**=**, then an**IF****open parenthesis**.**(**

- We will then input the price we would like to compare against the price in the “
**Jan**” tab. This would be our. However, instead of inserting the equal sign and the price of the product from the “Jan” tab directly, we would insert the**logical_expression**formula.**VLOOKUP**

- The first attribute is
`search_key`

. In our example, it would be**A4**.

- Then, we will insert the
`range`

we would like to search from the**“Jan”**tab, which would be**Jan!A4:B11**. Don’t forget to add the**dollar sign**to lock the range.**$**

- Next, we insert
**“2”**as our`index`

attribute. This signifies which value to be returned. In our case, it’s “2” as the price of the product is in column 2. We will end the formula for the`VLOOKUP`

function by inputting**“false”**to signify that our database is not sorted.

- Once we are done with the
`VLOOKUP`

function, we will then input the values to return in the`IF`

function. In our case, it would be**“Match”**and**“Differ”**.

- The final result would be the same as the previous examples:

If you are wondering, is there a way to compare two sheets in Google Sheets using just a built-in tool? The answer is yes! You can do so by using the **“Add-ons”** tool!

The **“Add-ons”** tool is an advanced tool where you can install different add-ons from the Sheets Add-ons store.

To compare two sheets in Google Sheets using the **“Add-ons”** tool, follow the steps below!

- Select the
**“Add-ons”**tool, then select**“Get add-ons”**.

- A pop-up for the Google Workplace Market would appear. We would then input
**“Remove Duplicates”**into the**search bar**. A variety of add-ons would appear. We would then select the first icon by**Ablebits**.

- After selecting the add-on, an overview of the add-on would appear. We will then select
**“Install”**.

- A message box would appear to prompt you to allow permission for the add-on to proceed with the installation. We would press
**“Continue”**.

- Once the installation is complete, the
**“Remove Duplicates”**tool would appear. We would select the tool, and select**“Compare columns or sheets”**.

- For the main sheet, we would select
**“Feb”**and table**A4:B11**. This is where the returning value would be recorded.

- After pressing
**“Next”**, we would then need to select the data to compare with, which is the second sheet. In this example, the second sheet would be**“Jan”**and the second range of data being**A4:B11**.

- To see the products with price changes from January to February, we would select
**“Unique Values”**.

- In Step 4, we would need to specify how we would like to compare the data between sheets. As we did not include the headers within the range selected, let’s untick the
**“Table has headers”**options.

- Finally, in the last step, we would select the option to
**“add a status column”**. Remember to press**“Finish”**to complete the process!

- Our final input would look like this:

There you go! We have shown numerous ways to compare data from two sheets varying from simple to more complex ways.

Believe it or not, there are many more methods to compare two sheets in Google Sheets. Don’t hesitate to subscribe to our newsletter to find out how in the future!

The post How to Compare Two Sheets in Google Sheets appeared first on Sheetaki.

]]>The post How to Insert Diagonal Line in Cell in Google Sheets appeared first on Sheetaki.

]]>However, in Google Sheets, there are no built-in features to split a cell diagonally. Do not fear! This guide will show you creative ways to insert diagonal lines within a cell.

If you only need to insert a diagonal line in the cell without any data within, the SPARKLINE function is perfect for this!

What the SPARKLINE function does is create miniature charts that are contained within a single cell.

The way we write the SPARKLINE function is:

= SPARKLINE(data, [options])

Let us help you understand the context of the function:

- The equal sign
`=`

is how we start any function in Google Sheets. `SPARKLINE()`

is our function. We need to add two attributes, namely the`data`

and`[options]`

, to make it work correctly.- The
`data`

is the data to plot. - The
`[options]`

are optional settings used to customize the chart.

- Simply click on the cell that you want to write down your function at. In this example, it will be
**A1**.

- Begin your function with an
**equal sign**, then followed by the name of the function,**=**, then an**SPARKLINE****open parenthesis**.`(`

- Next, we will insert a
**curly bracket**, followed with**{****“1,0”**, then closed with another**curly bracket**. Separate the first attribute from the second by adding a**}****comma**.**,**

- Now, let’s input some options to formulate how the line would turn out. In this example, we would like the diagonal line to be black. So, insert a
**curly bracket**, and add**{}**,**color**within.**black**

- After the following steps, your input should look like this:

You can also adjust the width and height of the cell, and the diagonal line will adjust itself to fit the size of the cell. Neat right?

What if you want to input some text into the cell as well? Let’s move on to other methods!

Here is a simple way to add text and a diagonal line within a cell. We will be using the **“Text rotation”** tool within the Google Sheet.

- First, click on the cell you would like to insert the diagonal line in. For this example, it would be
**B3**.

- We will then insert the title for the column and row. In this example, it would be
**“Month”**for the column title and**“Store”**for the row title. To stack the words on top of each other, simply press**Alt+Enter**simultaneously.

- Don’t forget to create some space in between the two titles by pressing
**Alt+Enter**simultaneously again!

- Let’s add a line between the two titles. To do that, we will add several
**dashes “-”**to create a line.

- Lastly, to make it diagonal, we will be using the
**“Text Rotation”**tool.

- Go to your toolbar, select
**“Format”**, then select**“Text Rotation”**. Several options would appear on how you would like to rotate the text. For our case, we will be using**“Tilt Down”**.

- After following all the steps, your input should look like this:

The “Text Rotation” tool can also be found in the top toolbar.

Using the **“Drawing”** tool, you can create a more professional look compared to the previous method. The** “Drawing”** tool is a built-in feature in Google Sheets. It allows you to add customized drawings to your sheets.

- First, click on the cell you would like to insert the diagonal line in. In this example, it would be
**B3**.

- Similar to the previous example, we will add the titles
**“Month”**and**“Store”**with spacing in between. Make sure to play around with the placement of the titles. We had placed the words on the far end of each corner to create some space between them. This would make more sense once we add the diagonal line!

- Let’s go ahead and select
**“Insert”**then press on**“Drawing”**.

- Once you clicked on
**“Drawing”**a box will appear. To draw a line, click on the**“line”**icon. We will then proceed to draw a line within the box. The line you draw does not need to be big, because after we press**“Save and Close”**, it is still resizable.

- After pressing
**“Save and Close”**, the line would appear on top of your cell. You will need to press on the line to resize it to fit your cell.

- Once it is resized, it would look like this:

Compared to the previous-tilt method, this gives a more visually appealing result.

However, do take note that by using the “Drawing” tool, the line would act as an image on top of the cell. Unlike the SPARKLINE function, you will need to resize the line to your desired width and height.

There you have it, three entirely different ways to create diagonal lines in a cell!

Don’t forget to subscribe to be the first one notified on our latest tutorials!

The post How to Insert Diagonal Line in Cell in Google Sheets appeared first on Sheetaki.

]]>The post How to Find Unique Values in Google Sheets appeared first on Sheetaki.

]]>Unique values in Google Sheets mean values that are one of a kind. This implies that the range of data does not have any duplicated values, making it “**Unique**”.

For those who are dealing with huge sets of data, we got you! By learning how to identify unique values in Google Sheets, you will be able to remove unwanted data such as duplicated entries.

In this tutorial, we would be demonstrating two ways to find unique values from Google Sheets, namely:

- Remove Duplicates Tool

Function**UNIQUE**

The **Remove Duplicates** tool is a built-in tool in Google Sheets that allows us to remove duplicates in just three clicks.

Picture yourself running a skincare brand. To collect customer data, it is standard procedure to record the customer’s name, email address, and age after every purchase.

By the end of each month, you would like to email your customers newsletters on the latest promotions for the coming month. However, the data collected has duplicated entries by customers who purchased more than once during the month.

Let’s learn how to clean up the data collected to identify unique values only.

- Select the range of data that you would like to remove duplicates. In our example, it would be
**A2:D12**.

- After selecting the range of data, select “
**Data**”, then select “**Remove Duplicates**”.

- Once you selected the “
**Remove Duplicates**” option, a pop-up would appear. If your data range selected includes the headers, you can tick the “**Data has header row**”. If not, leave it unticked.

- Under the “
**Column to analyze**”, you get the option to select certain columns or all columns selected. In our case, since we want to get rid of all duplicated records, we will tick “**Select all**”.

- Select “
**Remove duplicates**”.

- After selecting “Remove duplicates”, a message box would appear to notify you on how many duplicated entries are identified and removed, as well as how many unique values are remained.

- Row 10, 11, and 12 would be removed, as these are duplicates. Your data would now look like this:

The “Remove duplicates” tool would only retain the first occurrence of the value, deleting all other repeating values.

As you can see from the image below, there are 3 sets of repeated values. Hence, rows 2,4, and 7 are retained. Whereas rows 10, 11, and 12 are removed.

This tool makes changes directly on the original set of data, as shown in our example.

However, if you would like to retain and see a comparison between the original set and the unique values identified, using the UNIQUE function would be a better alternative.

The UNIQUE function returns a list of unique values in a list or range. Values can be in text, numbers, dates, times, etc.

Similar to the “Remove duplicates” tool, this function also removes duplicated entries. The only difference is that the UNIQUE function retains the original dataset.

As shown in the image below, the second set of data is generated solely from the UNIQUE function.

The way we write the **UNIQUE** function is:

= UNIQUE(array)

Let us help you understand the context of the function:

- The equal sign
`=`

is how we start any function in Google Sheets. `UNIQUE()`

is our function. We need to add one compulsory attribute, namely the`array`

, to make it work correctly.- The
`array`

is the range of data selected to return unique rows or columns.

We would be using the same dataset in **Example 1**, to demonstrate how to apply the `UNIQUE`

function.

- Simply click on the cell that you want to write down your function. In this example, it will be
**F1**.

- Begin your function with an
**equal sign**, then followed by the name of the function,`=`

, then an`UNIQUE`

**open parenthesis**.`(`

- Then we will insert the range we would like to remove the duplicated value from. In this example, it would be
**A1:D12**. Don’t forget to close the formula by inserting a**close parenthesis**!`)`

- After the following steps, your input should look like this:

Similar to **Example 1**, the return values from using the `UNIQUE`

function have removed rows 10, 11, and 12 as these values are repeated.

So there you go! Two simple ways to find the unique values in your list of data.

Don’t forget to check out our tutorial on the `UNIQUE`

function to get a more in-depth understanding of how the function works!

The post How to Find Unique Values in Google Sheets appeared first on Sheetaki.

]]>The post How to Use ERROR.TYPE Function in Google Sheets appeared first on Sheetaki.

]]>Meaning, the ERROR.TYPE function will return the number of days between two dates as a year fraction in decimal format.

The rules for using the ERROR.TYPE function in Google Sheets are as follows:

- The ERROR.TYPE function can use an indirect argument, which is a cell reference to a formula.
- The ERROR.TYPE function can also use a direct argument, which is a formula.
- The ERROR.TYPE function will either return a number from 1-8 or the $N/A error.
- The numbers 1-8 correspond to error types. If no error exists, ERROR.TYPE returns #N/A.

Let’s take an example.

Chad is a technical instructor who teaches Google Sheets function in college. He asked help from his brother to key in some student information to his class records. However, he checked his work and encountered some minor issues in his calculations.

See his students’ record below:

Chad wants to create a formula that would remind his brother on how to fix the #DIV/0 in column D.

Using the combination of the IF, IFNA, and ERROR.TYPE functions, he was able to identify the instances of #DIV/0 error and return a text to remind his brother on how to deal with them.

See his updated table below:

This way, his brother can easily fix the error before the file gets to him.

Pretty smart, right?

Watch out for a more advanced tutorial and examples on how you can use the ERROR.TYPE function in the coming weeks. Be sure to subscribe to be notified.

Awesome! Let’s begin getting to know more about our ERROR.TYPE function in Google Sheets.

So the syntax (the way we write) of the ERROR.TYPE function is as follows:

=ERROR.TYPE (error_val)

Let’s dissect this thing and understand what each of these terms means:

**=**the equal sign is just how we start any function in Google Sheets. It is how Google Sheets understand that we are asking it to either do computation or use a function.**ERROR.TYPE****()**this is our ERROR.TYPE function. It returns the error number or #N/A if no error.**error_val**is the only argument and the error for which to get an error code.

Let’s take a look at Chad’s table below to see how the ERROR.TYPE function is used in Google Sheets.

The ERROR.TYPE function identifies the type of error, if any, that a certain calculation or formula would return. If the calculation doesn’t return any error, the ERROR.TYPE function would return the #N/A error.

Like what Chad did on the file, one way to utilize ERROR.TYPE is to test for specific errors and display a relevant prompt or message, instead of error values, when certain error conditions exist.

In the examples above, Chad used the combination of the IF, IFNA, and ERROR.TYPE functions to satisfy what he needs for catching errors. The ERROR.TYPE would return either the prompt message he assigned or the calculation he needs.

The ERROR.TYPE function needs only one argument to perform its job. That’s the error_val or the value to be tested.

In the first example above, the argument used is a calculation to find the quotient of two cell references, which are C2 and B2.

We know that the division would either result in an error or the quotient of the two numbers.

What could result in an error?

Remember that any number divided by a 0 is undefined and for Google Sheets, it’s a #DIV/0! error.

Now, it will return the corresponding number, instead of the #DIV/0! Error, if we pass this calculation to the ERROR.TYPE function.

The integer 2 corresponds to #DIV/0! in the ERROR.TYPE function.

This number now can be used for the IF function, which is used if you want to test whether a certain condition is true or false.

If you want to know more about the IF function, its definition, and examples, feel free to visit this article.

Going back, as we mentioned above, one way to utilize ERROR.TYPE is to test for specific errors and display a relevant prompt or message, instead of error values.

In this case, we will test each calculation of columns B and C using the ERROR.TYPE function. If it returns 2, then it means the calculation yields the #DIV/0! error. Once it does, we will ask our IF function to return the message “Value in Column B should not be 0.”

But, what would happen if the calculation doesn’t yield the #DIV/0 error?

That’s something we can provide the IF function as its third argument.

=IF(logical_expression, value_if_true, **value_if_false**)

In this case, we can simply ask the IF function to perform the calculation nonetheless.

However, it looks like the IF function doesn’t allow it if the logical_expression returns the #N/A! error as the IF function itself will return the #N/A! error. Please note that if our ERROR.TYPE found no error in its argument, it would return the #N/A! error.

For the IF function can proceed, we will create a workaround.

This is where the IFNA function will come in handy. For more information about the IFNA function, its definition, and examples, feel free to visit this article.

Using the IFNA function, we will first test whether our ERROR.TYPE function will return an #N/A or not. If it does, the IFNA function will return a null value, that is “”, which will be passed to our IF function for consumption.

The logical_expression in the IF function will either return the value 2 or a null value. If it’s 2, then it will provide us the message we assigned, otherwise, it would just proceed to calculate the quotient of columns C and B.

You may make a copy of the spreadsheet using the link I have attached below.

- Click on any cell to make it the active cell. For this guide, I will be selecting
**D2**, where I want to show the result.

- Next, type the
**equal**sign ‘**=**‘ to begin the function and then follow it with the name of the function. We will be using nested functions in our example below. So first, type in ‘**if**‘ (or ‘**IF**‘, not case sensitive like our other functions).

- Type open parenthesis ‘
**(**‘ or simply hit**Tab**key to let you use that function.

- Now the exciting part! Let’s give our IF function its first argument, which is the IFNA function. Type in ‘
**ifna**’ or**‘IFNA’**then hit the**Tab**key.

- Type in the only argument of IFNA function in this case, which is our ERROR.TYPE function. Type in
**‘error.type**’ or**‘ERROR.TYPE**’ then hit the**Tab**key again.

- Next, type in the only argument for our ERROR.TYPE function, which is the
**error_val**. Type in ‘**C2/B2**’ and a**closing parenthesis**‘**)**’.

- End the IFNA function by typing in another
**closing parenthesis**‘**)**’.

- Now, continue the first argument of the IF function by typing in
**equal sign**‘**=**’ and the value**2.**

- To let the Google sheet know that we’re done typing our first argument for the IF function, we should now type in the delimiter or the character that separates each argument on a function. In this case, type
**comma**‘**,**’.

- The second argument of the IF function is what we want it to do if the first argument returns TRUE. In this case, we want it to return a specific message. Type in ‘
**Value in Column B should not be 0**’ and follow it with a**comma**(**,**). Since the second argument is a string, we will need to enclose it with**quotation marks**(**“”**).

- The third argument of the IF function is what we want it to do if the first argument returns FALSE. We want it to just proceed with the calculation in this example. Type in ‘
**C2/B2**’.

- Finally, hit your
**Enter**or**Tab**key. Cell**D2**will now show you the return value of our nested functions.

- Copy the formula down to the remaining rows.

That’s pretty much it. You can now use the ERROR.TYPE function in Google Sheets together with the other numerous Google Sheets formulas to create even more powerful formulas that can make your life much easier.

The post How to Use ERROR.TYPE Function in Google Sheets appeared first on Sheetaki.

]]>