ovinueza / Excel_VBA

Excel VBA for financial data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excel VBA script

Task

Create a VBA script to analyze stock market data.

Easy Level:

Create a script that will loop through one year of stock data for each run and return the total volume each stock had over that year.

You will also need to display the ticker symbol to coincide with the total stock volume.

Your result should look as follows (note: all solution images are for 2015 data).

Hard Level:

Create a script that will loop through all the stocks for one year for each run and take the following information.

The ticker symbol.

Yearly change from opening price at the beginning of a given year to the closing price at the end of that year.

The percent change from opening price at the beginning of a given year to the closing price at the end of that year.

The total stock volume of the stock.

You should also have conditional formatting that will highlight positive change in green and negative change in red.

Your solution will also be able to return the stock with the "Greatest % increase", "Greatest % Decrease" and "Greatest total volume".

Solution will look as follows.

Solutions

Easy Solution

Easy Solution

Hard Solution

Hard Solution

About

Excel VBA for financial data


Languages

Language:VBA 100.0%