Z
Zerex71
Group,
I'm sure it must be, but is it possible to use some function which
returns not the contents of the specified cells, but the cells
themselves, as a reference or input to another function? The reason I
ask is that I need to be able to operate on a range of cells, but I
only want to get cells back which contain a certain value.
For example, let's say I have a 1D (or 2D, it doesn't matter)
list/array of cells in Excel with the following values (it's for a golf
spreadsheet):
FRONT
FRONT
BACK
BACK
BACK
FRONT
BACK
FRONT
FRONT
FRONT
etc.
I want to run a function over those cells and return only the ones
which say FRONT or BACK (remember, I want the cells as a range, not the
values FRONT or BACK, I know how to get those). Then, with the range
returned, I want to select a field in a column either to the right or
left of this column. Basically, I am trying to pick out some data
contained in rows, but I only want the data for certain rows.
This might not make sense but one thing I am sure of is that I want a
list of cells returned to me to operate over, not their contents.
Mike
I'm sure it must be, but is it possible to use some function which
returns not the contents of the specified cells, but the cells
themselves, as a reference or input to another function? The reason I
ask is that I need to be able to operate on a range of cells, but I
only want to get cells back which contain a certain value.
For example, let's say I have a 1D (or 2D, it doesn't matter)
list/array of cells in Excel with the following values (it's for a golf
spreadsheet):
FRONT
FRONT
BACK
BACK
BACK
FRONT
BACK
FRONT
FRONT
FRONT
etc.
I want to run a function over those cells and return only the ones
which say FRONT or BACK (remember, I want the cells as a range, not the
values FRONT or BACK, I know how to get those). Then, with the range
returned, I want to select a field in a column either to the right or
left of this column. Basically, I am trying to pick out some data
contained in rows, but I only want the data for certain rows.
This might not make sense but one thing I am sure of is that I want a
list of cells returned to me to operate over, not their contents.
Mike