ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to replace single cell references with row names? (https://www.excelbanter.com/excel-worksheet-functions/198340-how-replace-single-cell-references-row-names.html)

Dima

How to replace single cell references with row names?
 
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

joel

How to replace single cell references with row names?
 
Rows(1) = D1.value



"Dima" wrote:

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


Dima

How to replace single cell references with row names?
 
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
"Joel" wrote:

Rows(1) = D1.value



"Dima" wrote:

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



All times are GMT +1. The time now is 11:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com