Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Incorporating the first 40 out of 250 rows in column values

I have a stock ranking system based on Excel, Every week I download 250 daily
quotes from some 300 funds into one long row. I then have simple formulas in
the top column (starting at G2) with the weekly and montly price changes
(this week's divided by last week's price, etc), and then on the remaining
columns use the =INDIRECT(ADDRESS((((ROW()-3)*250)+1),2)) etc to give me
the full spreadsheet with the price performance of one fund on each column. I
then have this linked to a separate spreadsheet where I rank the funds
according to their 1-3-6 and 12 months performance.

I am now trying to incorporate the short-term volatility over 60 days into
my ranking system (given the recent volatitily of the market). I would do
this with the STDEVPA function (and have done so for the monthly volatility
on the price changes columns). For the first fund that would be
=STDEV(B1:B45). I then want to jump to the next fund, which starts at B251
and do the same =STDEV(B251:B295). Since I have more than 300 funds, it would
be extremely time-consuming to enter this manually. Would you guys know of
any function that would help me to jump 250 stocks for each fund column? It
seems I cannot do this with the =INDIRECT(ADDRESS((( function.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Incorporating the first 40 out of 250 rows in column values

Hi Hans,

Assume the first formula is in M1. Highlight M1:M250 and then drag the fill
handle down as far as necessary.
--
Cheers,
Shane Devenshire


"Hans Antlov" wrote:

I have a stock ranking system based on Excel, Every week I download 250 daily
quotes from some 300 funds into one long row. I then have simple formulas in
the top column (starting at G2) with the weekly and montly price changes
(this week's divided by last week's price, etc), and then on the remaining
columns use the =INDIRECT(ADDRESS((((ROW()-3)*250)+1),2)) etc to give me
the full spreadsheet with the price performance of one fund on each column. I
then have this linked to a separate spreadsheet where I rank the funds
according to their 1-3-6 and 12 months performance.

I am now trying to incorporate the short-term volatility over 60 days into
my ranking system (given the recent volatitily of the market). I would do
this with the STDEVPA function (and have done so for the monthly volatility
on the price changes columns). For the first fund that would be
=STDEV(B1:B45). I then want to jump to the next fund, which starts at B251
and do the same =STDEV(B251:B295). Since I have more than 300 funds, it would
be extremely time-consuming to enter this manually. Would you guys know of
any function that would help me to jump 250 stocks for each fund column? It
seems I cannot do this with the =INDIRECT(ADDRESS((( function.

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Incorporating the first 40 out of 250 rows in column values

Thanks for the answer, Shane, but it does not perform what I want. I have
tried the fill handle, but it will only jump 1 row down (thus from B1:B40 to
B2:B41). Let me explain a bit better what I am trying to do.

I import on columns A, B and C an approximatly 50.000 long list of fund
prices and names, with each fund having 250 rows (which is approximately 1
year of trading days). On columns to the right, I then use the
=INDIRECT(ADDRESS function to get the weekly and monthly prices, a total of
18 columns (1WK, 2WK, 3WK, etc up to 12MO). On a separate sheet, I then
divide today price with that of last week, 2WK, 3WK, etc , to get the same 18
columns of percentage change FOR EACH FUND in a separate row, 200 of them. I
have used the fill handle to do this.

What I cannot find is how to for each row (each fund) refer back to the
first 40 prices of the row of 250 prices (which would be approximatly 2
months of performance), and have this autotomacally filled in for the
remaining 200 rows (funds). When I copy or use the fill handle, it only moves
down 1 row, since the next fund indeed is on the next row. But I want to
refer to first 40 prices, jumping 250 rows for each separate fund, not 1.

I would be happy to post or send the Excel file, if that would help.

Hans

"ShaneDevenshire" wrote:

Hi Hans,

Assume the first formula is in M1. Highlight M1:M250 and then drag the fill
handle down as far as necessary.
--
Cheers,
Shane Devenshire


"Hans Antlov" wrote:

I have a stock ranking system based on Excel, Every week I download 250 daily
quotes from some 300 funds into one long row. I then have simple formulas in
the top column (starting at G2) with the weekly and montly price changes
(this week's divided by last week's price, etc), and then on the remaining
columns use the =INDIRECT(ADDRESS((((ROW()-3)*250)+1),2)) etc to give me
the full spreadsheet with the price performance of one fund on each column. I
then have this linked to a separate spreadsheet where I rank the funds
according to their 1-3-6 and 12 months performance.

I am now trying to incorporate the short-term volatility over 60 days into
my ranking system (given the recent volatitily of the market). I would do
this with the STDEVPA function (and have done so for the monthly volatility
on the price changes columns). For the first fund that would be
=STDEV(B1:B45). I then want to jump to the next fund, which starts at B251
and do the same =STDEV(B251:B295). Since I have more than 300 funds, it would
be extremely time-consuming to enter this manually. Would you guys know of
any function that would help me to jump 250 stocks for each fund column? It
seems I cannot do this with the =INDIRECT(ADDRESS((( function.

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Incorporating the first 40 out of 250 rows in column values

Hi Hans,

You can send me a sample at

--
Thanks,
Shane Devenshire


"Hans Antlov" wrote:

Thanks for the answer, Shane, but it does not perform what I want. I have
tried the fill handle, but it will only jump 1 row down (thus from B1:B40 to
B2:B41). Let me explain a bit better what I am trying to do.

I import on columns A, B and C an approximatly 50.000 long list of fund
prices and names, with each fund having 250 rows (which is approximately 1
year of trading days). On columns to the right, I then use the
=INDIRECT(ADDRESS function to get the weekly and monthly prices, a total of
18 columns (1WK, 2WK, 3WK, etc up to 12MO). On a separate sheet, I then
divide today price with that of last week, 2WK, 3WK, etc , to get the same 18
columns of percentage change FOR EACH FUND in a separate row, 200 of them. I
have used the fill handle to do this.

What I cannot find is how to for each row (each fund) refer back to the
first 40 prices of the row of 250 prices (which would be approximatly 2
months of performance), and have this autotomacally filled in for the
remaining 200 rows (funds). When I copy or use the fill handle, it only moves
down 1 row, since the next fund indeed is on the next row. But I want to
refer to first 40 prices, jumping 250 rows for each separate fund, not 1.

I would be happy to post or send the Excel file, if that would help.

Hans

"ShaneDevenshire" wrote:

Hi Hans,

Assume the first formula is in M1. Highlight M1:M250 and then drag the fill
handle down as far as necessary.
--
Cheers,
Shane Devenshire


"Hans Antlov" wrote:

I have a stock ranking system based on Excel, Every week I download 250 daily
quotes from some 300 funds into one long row. I then have simple formulas in
the top column (starting at G2) with the weekly and montly price changes
(this week's divided by last week's price, etc), and then on the remaining
columns use the =INDIRECT(ADDRESS((((ROW()-3)*250)+1),2)) etc to give me
the full spreadsheet with the price performance of one fund on each column. I
then have this linked to a separate spreadsheet where I rank the funds
according to their 1-3-6 and 12 months performance.

I am now trying to incorporate the short-term volatility over 60 days into
my ranking system (given the recent volatitily of the market). I would do
this with the STDEVPA function (and have done so for the monthly volatility
on the price changes columns). For the first fund that would be
=STDEV(B1:B45). I then want to jump to the next fund, which starts at B251
and do the same =STDEV(B251:B295). Since I have more than 300 funds, it would
be extremely time-consuming to enter this manually. Would you guys know of
any function that would help me to jump 250 stocks for each fund column? It
seems I cannot do this with the =INDIRECT(ADDRESS((( function.

Thanks in advance

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting rows on column values... kang New Users to Excel 6 July 25th 07 07:58 AM
Incorporating 2 different worksheets miteeka Charts and Charting in Excel 6 February 8th 07 06:08 PM
VBA to set AutoFilter to List all rows with same values in column? Dennis Excel Discussion (Misc queries) 2 June 24th 05 12:37 AM
Transpose unique values in one column/mult. rows into a single row Wil Excel Worksheet Functions 1 May 22nd 05 08:52 AM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"