Hi Gurus,
I've run into another thing I can't quite figure out. In the attached mini-sheet, there are columns with an example date, stock price and buy/sell that takes place.
The columns to the right are what I would like to achieve dynamically where,
Thanks for your help.
-Will
I've run into another thing I can't quite figure out. In the attached mini-sheet, there are columns with an example date, stock price and buy/sell that takes place.
The columns to the right are what I would like to achieve dynamically where,
- each buy/sell pair equals a trade which is incremented automatically (ie trade 1, 2, 3...) based on the range of input data.
- for each buy/sell pair the buy/sell date and price are captured all in a horizontal table.
Thanks for your help.
-Will
TradeSummaryExample.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Date | Price | Buy/Sell | Trade # | Buy Date | Sell Date | Buy Price | Sell Price | ||||
2 | 12/1/2020 | 12.35 | Buy | 1 | 12/1/2020 | 12/7/2020 | 12.35 | 14.68 | ||||
3 | 12/2/2020 | 12.21 | 2 | 12/9/2020 | 12/12/2020 | 13.84 | 15.99 | |||||
4 | 12/3/2020 | 12.85 | 3 | 12/15/2020 | 14.99 | |||||||
5 | 12/4/2020 | 12.01 | ||||||||||
6 | 12/5/2020 | 13.05 | ||||||||||
7 | 12/6/2020 | 13.55 | ||||||||||
8 | 12/7/2020 | 14.68 | Sell | |||||||||
9 | 12/8/2020 | 13.81 | ||||||||||
10 | 12/9/2020 | 13.84 | Buy | |||||||||
11 | 12/10/2020 | 15.22 | ||||||||||
12 | 12/11/2020 | 15.78 | ||||||||||
13 | 12/12/2020 | 15.99 | Sell | |||||||||
14 | 12/13/2020 | 15.25 | ||||||||||
15 | 12/14/2020 | 15.21 | ||||||||||
16 | 12/15/2020 | 14.99 | Buy | |||||||||
17 | 12/16/2020 | 14.11 | ||||||||||
18 | 12/17/2020 | 14.05 | ||||||||||
Sheet1 |