This post will discuss that how to **calculate the rate of return for the share of stock** in Excel. And to calculate the return for a share of stock, you need to know the starting price, ending price and dividends paid and the duration for which the stock was held.

## Calculate Stock Return

You can try to calculate the rate of return by manually, or you use an Excel formula to achieve the result. The best way to calculate your rate of return is to use the EXCEL XIRR function, and this function is a financial function in Excel.

**For example,** you bought stock “IBM” in 2015, 100 shares for $164 each. And IBM pays dividends quarterly. And the ending price is $180. And the below is table of dividends, starting price and ending price:

Date |
price/Dividend |

1-Jan-15 |
-$164.00 |

30-Apr-15 |
$1.50 |

30-Aug-15 |
$2.50 |

30-Dec-15 |
$1.80 |

1-Jan-16 |
$180.00 |

So you can use the below formula to calculate the rate of return for your stock:

**=XIRR(B2:B6,A2:A6)**

**#1** type the above formula in the formula box of cell C2, press **enter** key. You will get the rate of return of the stock you bought.

**#2** select the cell that contain rate of return (C2), then right-click on it, select **Format Cell…** from the drop-down list.

**#3** click **Percentage** under **Category **section. Click **OK** button.

**#4** now you can see that the rate of return for your stock is shown as a percentage.

**Related Functions**

- Excel XIRR Function

The Excel XIRR function returns the internal rate of return for a series of cash flows that is not necessarily periodic.The syntax of the XIRR function is as below:= XIRR (values, dates, [guess])…

Related Posts

Extract substring In Excel
This post will guide you how to use Excel's MID function is a quick and easy way to extract pieces from your text. Use the Excel formula to extract a substring with MID. Note: If you want to extract just ...

How to Use 3D SUM Multiple Worksheets
To sum a range of numbers is straightforward for most Excel users, but do you know how to establish a 3D reference to total the same range of numerous sheets. In this post, I will present the steps for this ...

Extract all the matches with helper Column
With Excel's powerful functions IF, INDEX, and MATCH, we can find exactly what you're looking for with a few clicks of the mouse. This step-by-step tutorial will show how easy it is to extract data using these tools and more! ...

If Cell is This Value or That Value
IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of logical test. If you want to see if a cell is A or B, and if one of ...

If Value is Greater Than A Certain Value
IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the logical test result. If you want to see if a value in one cell is greater than a specific value, ...

If Cell is Not Blank
IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

VBA Macro For VLOOKUP From Another Sheet
In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you how to use VBA code to vlookup data ...

If Cell is Blank
IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

If Cell Equals Certain Text String
IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if cell equals a certain text string like “Win”, you ...

If Cell Contains Either Text1 or Text2
IF function is frequently used in Excel worksheet to return “true value” or “false value” based on the logical test result. If you want to see if cell contains certain substring1 like “abc” or substring2 like “def”, and returns true ...