T
Terra S.
I have Stock Market quotes that gets stored in Excel intra-day
When every 30 minutes passes, the data is automatically updated and
archived in the next row up and the new update begins.
EXAMPLE:
C2 9:30 D2 25
C3 10:00 D3 25.5
C4 10:30 D4 25.10
C5 11:00 D5 26
After 30 mins the data looks like this:
C2 10:00 D2 25.5
C3 10:30 D3 25.10
C4 11:00 D4 26
C5 11:30 D5 26.25
This process keeps going on.
I can archive as many periods I want, in any timeframe.
I currently store 100 rows of 30 minute periods.
Everytime a new peiod begins all the data is shifted up one row and
the very last period drops off.
Here's what i want to do and the problem I'm having
OBJECTIVE: I need to tell Excel to find the highest value in the data
begining from a certain time. i.e, I only want it to consider part of
the data starting from a fixed time. Since that fixed time gets
shifted to another cell wwhen the quotes update, the formula needs to
dynamically change the cell address in which to begin it's anaysis.
PROBLEM: I can't use the MAX formula because the table of data being
analyed for the highest value is constantly changing. i.e., I want
Excel to start in cell D32 and go down to D131 and tell me the highest
value. But after 30 minutes goes by, it now needs to look in cell D31
down to D131
I tried using =ADDRESS(VLOOKUP(J6,D32:F131,3,FALSE),4) inside the MAX
formula. This formula above gave me the cell address I wanted MAX to
start from and it changed dynamically when Excel moved the data to the
next row dowm. But when I tried nesting it inside like :
Max(ADDRESS(VLOOKUP(J6,D32:F131,3,FALSE),4)
131) it says i have an
error in the formula.
I dont understand why since the =ADDRESS(VLOOKUP part of the formula
returns the cell address if put into a seperate cell all by it's self.
I'm really stumped on this one. I dont understand why Excel lets me
write a formula that returns a cell address when i cant use the result
inside another formula.
QUESTION: Why cant I use a formula inside MAX that returns a cell
address when all that MAX wants is two cell addresses to look for the
highest value in an array?
Is there any way around this problem to look for the highest value in
an array that keeps changing where in Excel it's starts and ends?
By the way, the Ending value is always static since the data drops
off. I just need to dynamically update the begining cell address of
the data array I'm working with.
It seems as tho it shouldnt be this difficult yet I'm out of ideas.
Hope someone can help,
TIA,
Terra S.
When every 30 minutes passes, the data is automatically updated and
archived in the next row up and the new update begins.
EXAMPLE:
C2 9:30 D2 25
C3 10:00 D3 25.5
C4 10:30 D4 25.10
C5 11:00 D5 26
After 30 mins the data looks like this:
C2 10:00 D2 25.5
C3 10:30 D3 25.10
C4 11:00 D4 26
C5 11:30 D5 26.25
This process keeps going on.
I can archive as many periods I want, in any timeframe.
I currently store 100 rows of 30 minute periods.
Everytime a new peiod begins all the data is shifted up one row and
the very last period drops off.
Here's what i want to do and the problem I'm having
OBJECTIVE: I need to tell Excel to find the highest value in the data
begining from a certain time. i.e, I only want it to consider part of
the data starting from a fixed time. Since that fixed time gets
shifted to another cell wwhen the quotes update, the formula needs to
dynamically change the cell address in which to begin it's anaysis.
PROBLEM: I can't use the MAX formula because the table of data being
analyed for the highest value is constantly changing. i.e., I want
Excel to start in cell D32 and go down to D131 and tell me the highest
value. But after 30 minutes goes by, it now needs to look in cell D31
down to D131
I tried using =ADDRESS(VLOOKUP(J6,D32:F131,3,FALSE),4) inside the MAX
formula. This formula above gave me the cell address I wanted MAX to
start from and it changed dynamically when Excel moved the data to the
next row dowm. But when I tried nesting it inside like :
Max(ADDRESS(VLOOKUP(J6,D32:F131,3,FALSE),4)

error in the formula.
I dont understand why since the =ADDRESS(VLOOKUP part of the formula
returns the cell address if put into a seperate cell all by it's self.
I'm really stumped on this one. I dont understand why Excel lets me
write a formula that returns a cell address when i cant use the result
inside another formula.
QUESTION: Why cant I use a formula inside MAX that returns a cell
address when all that MAX wants is two cell addresses to look for the
highest value in an array?
Is there any way around this problem to look for the highest value in
an array that keeps changing where in Excel it's starts and ends?
By the way, the Ending value is always static since the data drops
off. I just need to dynamically update the begining cell address of
the data array I'm working with.
It seems as tho it shouldnt be this difficult yet I'm out of ideas.
Hope someone can help,
TIA,
Terra S.