How to replace single cell references with row names?

D

Dima

Hello!
How to appy a thousand new row names to formulas which use corresponding
single cells in the rows? or How to replace thousands of single cell
references (for example, A1) with row names? The formulas and its precidents
are in same columns.
For example:
row name: rowName = $1:$1
The formula in D1000 =D1
How to replace =D1 with =rowName in cell D1000 automatically?
There are thousands of cells like D1000 and row names like the rowName.
Insert->Name->Apply would apply the row names (rowName, in my example) to
the rows (first row, in my example) only. Insert->Name->Apply does not apply
the row names (rowName, in my example) instead of the single cell references
(=D1 in D1000 cell in my example).
Regards,
Dmitry
 
D

Dima

Thanks Joel for replying!
Is the
Rows(1) = D1.value
a VBA code? Does the code replace the D1 reference with a name of the first
row?
How to replace all single cell references with names of rows (in which the
cells are) on a sheet at once?
Regards,
Dmitry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top