# Calculate Stock Rate of Return

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
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 ...

If Cell Contains Certain Text OR Equals Certain Text

IF cell equals certain text 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 test values to see if they equal certain text like ...

VLOOKUP From Another Sheet Not Working

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 reasons why your VLOOKUP formula is not working ...

If Cell Begins with One of Three Supplied Characters

If you want to test values to see if they begin with some given specific characters like “x”, ”y”, or “z”, you can create a formula with COUNTIF and SUM functions to return results. EXAMPLE You can see “TRUE” or ...

Fix #N/A Error For VLOOKUP From Another Sheet

This post will show you how to fix the #N/A error why it occurs when you extract values from another sheet using VLOOKUP function in Excel 2016,2013,2010 or other Excel versions. How can you correct a #N/A error in VLOOKUP ...

How To Remove Special Characters in Excel

This post will show you how to remove special characters from text strings in Excel. And I am going to introduce two ways to remove special characters (@&)#%\$) from a string in Excel. Removing Special Characters using Power Query If ...

Sidebar