Average weighted price - checking broker data

madeye89

New Member
Joined
Jan 28, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Good morning everyone,

I am seeking your assistance as I have been struggling for days to practice calculating the average cost basis displayed by my broker for an ETF stock quote. The challenge I'm facing is that there have been various sales over time, and as a result, I am unable to revert to the original value using the simple weighted average method.

Specifically, I have attempted both the FIFO and LIFO methodologies, but I am uncertain of the value obtained as the result provided by my broker is 30.82411. As a precaution, I would also like to highlight the commissions charged by the broker, which, to my understanding, should not impact the average cost basis.

Should this not be feasible, I will consider investigating directly with the broker.

This is the input data:

DateTypeQuantityPriceGross ValueNet valueCommission
19/01/2024B
76,00​
33,27500​
2.547,902.528,9019,00
15/12/2023B
76,00​
32,95500​
2.507,532.504,582,95
15/11/2023B
80,00​
31,34000​
2.510,152.507,202,95
23/10/2023S
350,00​
30,01000​
10.484,5010.503,50(19,00)
15/09/2023B
78,00​
32,12660​
2.508,822.505,872,95
16/08/2023B
79,00​
31,29500​
2.475,262.472,312,95
15/06/2023B
79,00​
31,38500​
2.482,372.479,422,95
15/05/2023B
81,00​
30,79630​
2.497,452.494,502,95
17/04/2023B
82,00​
30,31500​
2.488,782.485,832,95
15/03/2023B
86,00​
29,11000​
2.506,412.503,462,95
15/02/2023B
82,00​
30,27110​
2.485,182.482,232,95
17/01/2023B
84,00​
29,80780​
2.506,812.503,862,95
20/12/2022S
319,00​
28,81500​
9.191,999.191,990,00
20/12/2022S
1,00​
28,85000​
18,9028,85(9,95)
16/11/2022B
82,00​
29,69500​
2.453,992.434,9919,00
17/10/2022B
88,00​
28,44770​
2.506,352.503,402,95
15/09/2022B
83,00​
29,53000​
2.453,942.450,992,95
15/07/2022B
63,00​
29,07000​
1.833,551.831,412,14
15/06/2022B
64,00​
28,26900​
1.811,361.809,222,14
16/05/2022B
85,00​
29,42500​
2.520,132.501,1319,01
19/04/2022B
26,00​
31,05360​
809,13807,391,74
15/03/2022B
28,00​
29,18740​
818,99817,251,74
15/02/2022B
27,00​
30,56900​
827,10825,361,74
18/01/2022B
27,00​
30,68440​
830,22828,481,74
15/12/2021B
26,00​
30,98390​
807,32805,581,74
15/11/2021B
27,00​
30,70000​
830,64828,901,74
15/10/2021B
29,00​
28,86000​
838,68836,941,74

Additionally, it would be a bonus to acquire a simple logic in Excel, without scripts or macros, to replicate this calculation for other securities.

Thank you all for your support!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I am seeking your assistance as I have been struggling for days to practice calculating the average cost basis displayed by my broker for an ETF stock quote. The challenge I'm facing is that there have been various sales over time, and as a result, I am unable to revert to the original value using the simple weighted average method.
There can be two discrepancies

  1. One is broker may or may not be including commission(s) paid by you
  2. Other is generally Broker's system calculate various factors for different decimal points, varying between 2 to 4, but show you a rounded figure. They may seems small but effect calculations significantly.
It's best to coordinate with your broker and understand the difference.
 
Upvote 0
Thank you for your insights.

I will indeed reach out to my broker for further clarification. However, given that the results are already at hand, I am interested in exploring with the forum's assistance, the possible methodology my broker might be applying. Any insights or similar experiences shared by any forum members would be greatly appreciated in better understanding this situation!
 
Upvote 0
Hello, I'm wondering if anyone is available to offer assistance? It seems my case has not yet attracted any attention.

Thank you so much!
 
Upvote 0
the possible methodology my broker might be applying
You need to ask what methodology your broker is applying... We can't guess it...

It's almost impossible to believe that your post has not gone through the eyes of experts in the forum...
 
Upvote 0
Thank you for your prompt response. Indeed, I have already forwarded the issue to my broker, who is not known for its swift replies.

My primary aim was to seek assistance on the Excel help forum to address a problem I believe possesses all the necessary and sufficient information for resolution, including dependent and independent variables. Thus, to also verify the potential calculations made by the broker, I asked for support from Excel experts. Please note, my intention is not to create controversy, but I am concerned that my query has not garnered the necessary interest here.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,109
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top