B
BrianO
I need to calculate the average of several columns in a worksheet, but
the location of these columns varies due to varying exported data from
an Access data base export. That is, if there are no values in a
certain field for an entire set of records, then no column is created
in the resulting excel worksheet, which results in the column for say,
field 26, being in the 26th column (at most) but often in an ealier
column because another column was not created.
The columns have the field name as text in the top row, and if I could
create a formula that wouild in essence calculate 'The average of the
column whose top cell ="field_name"', I'd be a happy guy. But I can't
figure it out.
Any ideas ?
Brian
the location of these columns varies due to varying exported data from
an Access data base export. That is, if there are no values in a
certain field for an entire set of records, then no column is created
in the resulting excel worksheet, which results in the column for say,
field 26, being in the 26th column (at most) but often in an ealier
column because another column was not created.
The columns have the field name as text in the top row, and if I could
create a formula that wouild in essence calculate 'The average of the
column whose top cell ="field_name"', I'd be a happy guy. But I can't
figure it out.
Any ideas ?
Brian