由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - EXCEL VBA in real world
相关主题
how to access VBA code in another Excel workbook[合集] Monte Carlo 如何把Matlab的控制结构转换成Excel程序?
借个人气问一下, vba vs C#[合集] 问个Excel+VBA的问题
Pivot table SOS (转载)zt: Modeling without Programming
Excel VBA help!!!请教一下BRETT版主
count unique values in file with 1 million rows (转载)excel 问题
VBA code sos请推荐一本用EXCEL VBA做financial model的书
C++里面实现类似Excel的Pivot Table[合集] Excel中的问题
Hedge Fund Software Programmer and/or Network Administrator请教VBA(macro 跟 user defined function)
相关话题的讨论汇总
话题: vba话题: excel话题: sheet话题: month话题: data
进入Quant版参与讨论
1 (共1页)
w*******1
发帖数: 3
1
A zip file includs 10 monthly data sets and it is about 100 stocks each
month covering 5 countries. Some columns are date, sector, country, month
return ....I have import the data from text file into a workbook. Please
help with the following request:
1. How to write code that will caluculate and write out into a sheet the
sector return for each month by country. Should I generate a separate sheet
to loop through all the cells?
- New to VBA
c********g
发帖数: 54
2
why not sort by country and then use subtotal?

sheet

【在 w*******1 的大作中提到】
: A zip file includs 10 monthly data sets and it is about 100 stocks each
: month covering 5 countries. Some columns are date, sector, country, month
: return ....I have import the data from text file into a workbook. Please
: help with the following request:
: 1. How to write code that will caluculate and write out into a sheet the
: sector return for each month by country. Should I generate a separate sheet
: to loop through all the cells?
: - New to VBA

p******a
发帖数: 23
3
You can do it in Excel Pivot table. This is more straight.
Also, you canfollow your original idea, loop through each row and create
functions to process each row. You probably need to create data structure to
hold the intemediate result, more loops are needed when you aggregate the
data by country. month and sector. Then you need to write data to a seperate
sheet, in a loop. It's doable. y'll get solid VBA experience though this
excercise.
T*C
发帖数: 14
4
This is a piece of cake.
How could you find this job without knowing anything about VB.
If you run into anyone in wall st, ask for help.
1 (共1页)
进入Quant版参与讨论
相关主题
请教VBA(macro 跟 user defined function)count unique values in file with 1 million rows (转载)
谁有Option Pricing Models & Volatility Using Excel-VBA 的CDVBA code sos
Help plz (45 baozi)C++里面实现类似Excel的Pivot Table
Anyone knows about Clone function in EXCEL VBA?Hedge Fund Software Programmer and/or Network Administrator
how to access VBA code in another Excel workbook[合集] Monte Carlo 如何把Matlab的控制结构转换成Excel程序?
借个人气问一下, vba vs C#[合集] 问个Excel+VBA的问题
Pivot table SOS (转载)zt: Modeling without Programming
Excel VBA help!!!请教一下BRETT版主
相关话题的讨论汇总
话题: vba话题: excel话题: sheet话题: month话题: data