PARCEL 1. I buy 1000 shares in company AAA at $1. The brokerage is $20
PARCEL 2. I buy a further 2000 shares in AAA at $2. The brokerage is $30
PARCEL 3. I sell 2600 in AAA at $3. The brokerage is $40.
Hmm this is trickier than I thought. pixel you're right, the column I want to sort are all calculated values and they won't sort. I actually want the other columns to shift along with my original sorting, if that makes sense, because one of the columns is "stock code".
Jeff can u explain how to do that without mucking up the calculations, and also getting the stock code to move as well? I'm a total noob at excel sorry.
That's even easier, GBHmm this is trickier than I thought. pixel you're right, the column I want to sort are all calculated values and they won't sort. I actually want the other columns to shift along with my original sorting, if that makes sense, because one of the columns is "stock code".
Jeff can u explain how to do that without mucking up the calculations, and also getting the stock code to move as well? I'm a total noob at excel sorry.
Hmm this is trickier than I thought. pixel you're right, the column I want to sort are all calculated values and they won't sort. I actually want the other columns to shift along with my original sorting, if that makes sense, because one of the columns is "stock code".
Jeff can u explain how to do that without mucking up the calculations, and also getting the stock code to move as well? I'm a total noob at excel sorry.
... and ?? Did they work ??? That would be really interesting to knowHave tried each of those methods!
The Round function might be the one GB.
Excel user tips:
https://encrypted.google.com/url?sa...svG3Dw&usg=AFQjCNEs_xSqleZpIJz6g2oI6ZXDNqZD8g
- Round values to the nearest fraction
multiply by 20, round the result - if you do want to round, otherwise use trunc - and then divide by 20 again.Me again.
I have a column of numbers, and I want to round them to the nearest 0.05, so that;
36.2 => 36.0
36.7 => 36.5
36.8 => 37.0
Anyone know a formula for this?
Thanks
yes, you can say =if(a1<=0.1,a1,round(a1*20,0)/20))Thanks Logique, I ended up using "=round(B1/0.05,1)*0.05" and that worked nicely. A variation of what pixel says, the same thing done differently by the looks.
As a follow up, if the value in my original column is <.1, I don't want to apply any rounding. Does excel have if/then/else type statements?
Did you know that you can "open" any web page in Excel?Whats the best external website to import data from?
Currently using yahoo finance, but they only go down to 2 decimal places.
Which really isnt good enough as alot of my shares need 3.
Any other sites that are compatible with excel?
Did you know that you can "open" any web page in Excel?
Simply plug any URL into an "Open" macro, and Excel will read it as a "spreadsheet".
Then you simply need to do a "find" that navigates you to the cell range that has the data you're after.
I've been using that method for years and get my data from a wide range of sources - ASX, BigCharts, LME, NSX, Yahoo, ... pick the most appropriate "horses for courses"
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?