Formula for Stock Market

ivanbss

New Member
Joined
Feb 26, 2018
Messages
1
Im working on a spreadsheet for B3 (Bovespa, brazilian stock market) opening auction.

I use my trading platform to export all the trades and then i filter the opening and the first 1 hour of 143 stocks, will show an example of what i get in the end:

ont9O
ont9O
ont9O
https://imgur.com/a/ont9O

I want to:
-Stock name (wege3 on the picture) make an wieght average ((YellowX*orangeX)//sum(orange)) up until green = leilao - This will be VWAP
-Get Leilao value (they are all the same) - this will be LEILAO
-Get the first price (first line), it mens the last price up untill 11:00 (already filtered as the first line of a stock) - This will be FINAL

Then print thoose 3 values in a new tab as:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]LEILAO[/TD]
[TD]VWAP[/TD]
[TD]FINAL[/TD]
[TD]GAP LEILAO[/TD]
[TD]GAP VWAP[/TD]
[/TR]
[TR]
[TD]Stock 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]=(FINAL-LEILAO)[/TD]
[TD]=(FINAL-VWAP)[/TD]
[/TR]
[TR]
[TD]Stock 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Sorry for my poor english and I appreciate any support.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,819
Messages
6,181,153
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