M
mangier
I would like to automatically convert a text string into a formula's
range address which will allow me to avoid using database functions
and a criterial table to summarize data between two dates in a list.
I have used concatenation and a Match function to generate a text
string which represents a range address. Now I want to take that text
string and insert it into a Sum or Average formula and have it act
like a range address and not a text string. How can I do that.
Example:
A1 = 06/01/04
..
..
..
A30 = 06/30/04
B31 = B
A32 = 06/04/04 (the user defined start date)
B32 = 06/24/04 (the user defined end date)
C32 = B31&Match(A32,A1:A30,0)&":"&B31&Match(B32,A1:A30,0)
This creates a text string in C32 of "B4:B24" which I want to insert
into a Sum or Average formula. Is there any way to do this?
Also, is there a more straight forward way to get the address of a
cell based on its contents rather than the approach I used?
range address which will allow me to avoid using database functions
and a criterial table to summarize data between two dates in a list.
I have used concatenation and a Match function to generate a text
string which represents a range address. Now I want to take that text
string and insert it into a Sum or Average formula and have it act
like a range address and not a text string. How can I do that.
Example:
A1 = 06/01/04
..
..
..
A30 = 06/30/04
B31 = B
A32 = 06/04/04 (the user defined start date)
B32 = 06/24/04 (the user defined end date)
C32 = B31&Match(A32,A1:A30,0)&":"&B31&Match(B32,A1:A30,0)
This creates a text string in C32 of "B4:B24" which I want to insert
into a Sum or Average formula. Is there any way to do this?
Also, is there a more straight forward way to get the address of a
cell based on its contents rather than the approach I used?