# How to Use Excel SLN Function?

Excel SLN Function: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. With the help of this spreadsheet program, you can insertorganizemaintainmanage, and calculate data.

This tutorial will discuss the explanation, syntax, and usage of the Excel SLN Function. Get an official version of Microsoft Excel from the following link:

## Explanation of SLN Function

• It is one of the built-in functions in Microsoft Excel.
• The Excel SLN function calculates the asset depreciation for one period using the straight-line method.

## Syntax

• Here, you will see the syntax of the SLN function.
• To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
• Once you enter the formula, just click on the button to get the result.

=SLN(cost, salvage, life)

Argument Description:

• Cost (Required) – It is the initial cost of the asset.
• Salvage (Required) – It is the value at the end of the depreciation. Sometimes, it is also referred to as the salvage value of the asset.
• Life (Required) – It is the number of periods over which the asset is depreciated. It is also called the useful life of the asset.

Note:
1) If the ‘Life’ argument is equal to 0 (zero), then the function returns the #DIV/0! Error.
2) The function returns the #VALUE! Error if any one of the input arguments contains a non-numeric character.

## Examples

Let’s look at some practical examples of the SLN Function and explore using it in Microsoft Excel.

• Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
• For example, we have given the input values in columns B, C, and D and we will calculate the depreciation using the SLN function in the spreadsheet.
• Then, you have to enter the formula in the cell as shown below to get the result.
• After entering the formula, you need to click the button to get the output, as shown below. You can drag down the cell to fill the remaining cells.
• If the ‘Life’ argument is equal to 0 (zero), then the function returns the #DIV/0! Error.
• The function returns the #VALUE! Error if any one of the input arguments contains a non-numeric character.