Stock FAQs

excel stock bought and sold at different price find profits

by Miss Zella Harvey Published 3 years ago Updated 2 years ago
image

Different Buy/Sell Calculations First: multiply your purchase price times the number of shares you sold: Second: add this number to the “Total Amount” from when you sold your shares. Now you have your profit or loss for this trade.

Full Answer

How do you calculate profit and loss on stock purchases?

To calculate our profit or loss we would first have to calculate the Average Cost of the shares we bought. To do this, we need to add our total amounts for both purchases and divide that value by the total number of shares we bought. The calculation for this would be (24402+15000)/ (11620+6000), which would give us a value of $2.24.

How do you calculate gains on stock sales?

Selling the least expensive shares creates the largest tax bill. Subtract your total sale proceeds from the amount you paid for the shares that are being sold. If the stock's market price is $50 a share and you sell the 10 shares bought for $40 a share, your total gain is $50 x 10 – $40 x 10 = $100.

How do you calculate sale of shares to meet tax goals?

Subtract your total sale proceeds from the amount you paid for the shares that are being sold. If the stock's market price is $50 a share and you sell the 10 shares bought for $40 a share, your total gain is $50 x 10 – $40 x 10 = $100. Pick the batch of shares that does the second-best job of meeting your tax goal,...

How do I find historical stock prices in Excel?

First, a new blank spreadsheet in Excel. We will use Sprint stock (symbol: S ). Go to the quotes page and search for S using the old quotes tool (the newest version does not yet have historical prices):

image

How do I calculate stock profit in Excel?

0:094:08How to Calculate Gain and Loss of Stocks Using Excel FormulaYouTubeStart of suggested clipEnd of suggested clipThe value of the stock in cell c3. And in cell b2. I will enter the percentage of loss that occurredMoreThe value of the stock in cell c3. And in cell b2. I will enter the percentage of loss that occurred on day one that's 20 percent.

How do you calculate profit after selling stock?

If you're wondering how to calculate stock profit, it's simple: Take the original price you paid for the stock and subtract it from the price at which you sold it. So if you paid $50 per share and the stock is now worth $55, your profit would be $5 per share.

How do I calculate the difference between two prices in Excel?

Calculate the difference between two numbers by inputting a formula in a new, blank cell. If A1 and B1 are both numeric values, you can use the "=A1-B1" formula. Your cells don't have to be in the same order as your formula. For example, you can also use the "=B1-A1" formula to calculate a different value.

How do you account for gains when a stock is bought at two different times?

If you are calculating the stock value of multiple purchases, therefore, you should note the purchase price of each, and the current value of each. Subtract the purchase price from the current value for each. Then, add these stock values together to determine the total stock value of your multiple purchases.

How do you calculate the cost basis of a stock with multiple purchases?

To find your total cost basis for your investment with multiple purchases, add the individual cost basis for each share you own. For example, if you own three shares in Company XYZ, one bought at $10, one at $15, and one at $20, your total cost basis is $45.

How do you find the percentage difference between two prices?

First: work out the difference (increase) between the two numbers you are comparing. Then: divide the increase by the original number and multiply the answer by 100. % increase = Increase ÷ Original Number × 100.

How do I compare two lists in Excel to find differences?

Compare Two Lists in ExcelMethod 1: Compare Two Lists Using Equal Sign Operator.Method 2: Match Data by Using Row Difference Technique.Method 3: Match Row Difference by Using IF Condition.Method 4: Match Data Even If There is a Row Difference.Method 5: Highlight All the Matching Data using Conditional Formatting.More items...

How do you compare two columns in Excel to find differences?

Compare Two Columns and Highlight MatchesSelect the entire data set.Click the Home tab.In the Styles group, click on the 'Conditional Formatting' option.Hover the cursor on the Highlight Cell Rules option.Click on Duplicate Values.In the Duplicate Values dialog box, make sure 'Duplicate' is selected.More items...

What is the profit formula?

Profit is revenue minus expenses. For gross profit, you subtract some expenses. For net profit, you subtract all expenses. Gross profits and operating profits are steps on the road to net profits.

How do you calculate stock gains?

Take the selling price and subtract the initial purchase price. The result is the gain or loss. Take the gain or loss from the investment and divide it by the original amount or purchase price of the investment. Finally, multiply the result by 100 to arrive at the percentage change in the investment.

How do you calculate selling shares?

Sale Price. The difference between the purchase price and the sale price represents the gain or loss per share. Multiplying this value by the number of shares yields the total dollar amount of the transaction.

How do you profit from stocks?

The primary reason that investors own stock is to earn a return on their investment. That return generally comes in two possible ways: The stock's price appreciates, which means it goes up. You can then sell the stock for a profit if you'd like.

Caalculate Profiit and Loss column for multiple buy and sell entries of similar stock

Hello Thankyou for help in advance. i am currently working on a work system for my trading and I'm stuck at this point. i have multiple buy entries of one stock ..comprising multiple quantities...and I'm calculating the profit/ loss by subtracting my entry point from the actual live market price.

Re: Caalculate Profiit and Loss column for multiple buy and sell entries of similar stock

Hi Riny, thankyou for your reply and effort. i was studying the excel sheet and i understood what you have done, however i can you help me address the following query

Where is refresh all in Excel?

You can also hit “Refresh All” in the Data part of the toolbar to force a refresh of the data. If you'd follow thus far, you now have a solid portfolio tracker in Excel and can continue to add information, add stocks, and leverage Excel to inform your stock picks.

Can you use Excel to track stocks?

Whether you want to track an existing portfolio, use Excel functions to inform selling, or track stocks on your watchlist to know when/if to buy, you can use Excel’s built-in “Stocks” feature to pull the information you’ll need. You can use basic Excel knowledge to create rules, spot trends, and compare stocks with the stock data pulled into Excel.

Using Excel To Track Your Stock Portfolio – Getting Some Data

Before we can do anything with Excel, we need to get some numbers! The information you use in excel is called “Data”. Some of it we will need to write down, some can be copied and pasted, and some we can download directly as an excel file.

Getting Your Historical Portfolio Values

To get your old portfolio values, you can copy and paste them out of the HTMW website..

Getting Historical Prices For Stocks (Copy And Pasting Data In To A Spreadsheet)

For this example, we want to get the historical prices for a stock so we can look at how the price has been moving over time. First, a new blank spreadsheet in Excel.

Getting Your Transaction History And Open Positions (Copying data from another spreadsheet)

If you want a copy of your open positions or transaction history in Excel, you can download it directly from HowTheMarketWorks.

Using Excel To Track Your Stock Portfolio – Graphing

Now that we have some data, let’s make some graphs with it! We will go over how to make line graphs of your daily portfolio value and your portfolio percentage change, plus a bar chart showing your open positions. This is usually the most fun part of using excel to track your stock portfolio.

Line Graph – Your Daily Portfolio Value

First, we want to make a line graph showing our daily portfolio value. First, open your spreadsheet that has your daily portfolio values:

Line Graph – Portfolio Percentage Changes

Next, we want to make a graph showing how much our portfolio has changed every day. To do this, first we need to actually calculate it.

Basic Information

Excel is well suited for tracking basic information about a stock. Using one line per type of stock, set up the following columns: stock name, ticker symbol, number of shares purchased, and buying price. Each cell should be easy to fill in based on easily accessible data provided by your brokerage firm.

Break-Even Point

Once you have your basic information input into Excel, it's time to begin to use the calculation power of the software to make investing decisions.

Dividends

In addition to profit or loss on a sale of stock, you may want to track over time dividends paid out by stocks. To do this, start a new worksheet with the following columns: ticker symbol, dividend percentage, dividend amount, and date of payment.

Capital Gains

When you sell your stock, you may wish to calculate the long-term and short-term gains for yourself, rather than trusting solely to the calculations of your brokerage firm. This is not complicated to do in Excel.

Prospective Stocks

Excel is also useful for listing stocks that you may wish to buy in the future. When a stock catches your eye, add it to your prospective stock list, keeping track of the stock name, ticker symbol, current selling price, and your target buy price.

Excel Facts

Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Similar threads

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

How many entries do you need to list when selling stock?

For example, if you sell 1,000 shares that you bought in four different purchases, you must list four entries on your tax forms. The IRS allows you to identify the shares you want to sell ...

How to keep records when buying stock?

Keep accurate records. When you buy a stock, your broker must send you a form showing relevant information about the trade, including the date of purchase, the number of shares you bought and the price you paid.

What is first in first out accounting?

Otherwise, the IRS requires "first-in, first-out" accounting, meaning the first shares you sold are the first ones you acquired.

Can you have multiple purchase prices?

If you have multiple purchase prices, you'll just have to treat your sales as if you made them individually, rather than all at once. As a result, you may have both gains and losses on a stock, even if you only made a single sale. Ultimately, you'll match up those individual gains and losses to come up with one total net gain or loss figure on your ...

Can you buy stock at two different times?

Buying stock at two different times doesn't fundamentally change how you'll account for your gains. Any time you calculate capital gains and losses, you match up your purchase price with your sales price. If you have multiple purchase prices, you'll just have to treat your sales as if you made them individually, rather than all at once.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9