Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default How can I refer to a row

I want to refer to a fixed row in the spreadsheet, but to the column
that matches the column that the reference is in, but I want to
use a name for the fixed row.

for example, Row 2 has the multipliers that I need in the formula, so
I now have in cell F10
+F$2*{etc}

For clarity, and perhaps for moving things around, instead of using $2
as part of the cell reference, I'd like to be able to use a
"Row label".
and have something similar to:
+F${Row label}{etc}
in cell F10

Does this concept exist?

I tried Insert Name Label
but it seemed like I could only name a part of a row or a column, not
define something to be a row number.

I thought about:
1. insert a column,
2. label the cell in that column and that row as
MultiplierRowNumber,
3. put +ROW() in the cell MultiplierRowNumber.

I then might be able to get the value that I am interested in by using
the ADDRESS function, MultiplierRowNumber, and the number of the
current cell, but that seemed like it was too complicated to be the
right way to do things.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 833
Default How can I refer to a row

On Jul 5, 5:57*pm, Mark F wrote:
I want to refer to a fixed row in the spreadsheet, but to the column
that matches the column that the reference is in, but I want to
use a name for the fixed row.

for example, Row 2 has the multipliers that I need in the formula, so
I now have in cell F10
* * +F$2*{etc}

For clarity, and perhaps for moving things around, instead of using $2
as part of the cell reference, I'd like to be able to use a
"Row label".
and have something similar to:
* * +F${Row label}{etc}
in cell F10

Does this concept exist?

I tried Insert Name Label
but it seemed like I could only name a part of a row or a column, not
define something to be a row number.

I thought about:
1. insert a column,
2. label the cell in that column and that row as
* * *MultiplierRowNumber,
3. put +ROW() in the cell MultiplierRowNumber.

I then might be able to get the value that I am interested in by using
the ADDRESS function, MultiplierRowNumber, and the number of the
current cell, but that seemed like it was too complicated to be the
right way to do things.


EXCEL 2007
Click, for example, the number 2 in row 2 so that the entire row is
highlighted.

Formulas tab / Defined Names group / click on Name Manager.

The Name Manager should open.

Click:-

New . . .

- in top left hand corner.

Enter, say:-

row_2

- in the:-

Name:

- field

Click OK then Close.

You can now refer to row 2 as:-

row_2

Hope the above helps.





  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default How can I refer to a row

On Tue, 5 Jul 2011 13:21:40 -0700 (PDT), trip_to_tokyo
wrote:

On Jul 5, 5:57*pm, Mark F wrote:
I want to refer to a fixed row in the spreadsheet, but to the column
that matches the column that the reference is in, but I want to
use a name for the fixed row.

for example, Row 2 has the multipliers that I need in the formula, so
I now have in cell F10
* * +F$2*{etc}

For clarity, and perhaps for moving things around, instead of using $2
as part of the cell reference, I'd like to be able to use a
"Row label".
and have something similar to:
* * +F${Row label}{etc}
in cell F10

Does this concept exist?

I tried Insert Name Label
but it seemed like I could only name a part of a row or a column, not
define something to be a row number.

I thought about:
1. insert a column,
2. label the cell in that column and that row as
* * *MultiplierRowNumber,
3. put +ROW() in the cell MultiplierRowNumber.

I then might be able to get the value that I am interested in by using
the ADDRESS function, MultiplierRowNumber, and the number of the
current cell, but that seemed like it was too complicated to be the
right way to do things.


EXCEL 2007
Click, for example, the number 2 in row 2 so that the entire row is
highlighted.

Formulas tab / Defined Names group / click on Name Manager.

The Name Manager should open.

Click:-

New . . .

- in top left hand corner.

Enter, say:-

row_2

- in the:-

Name:

- field

Click OK then Close.

You can now refer to row 2 as:-

row_2

Hope the above helps.

The syntax was a little different in Excel 2003 (I selected the row
then did Insert Name Define...)

However I think I need something more.

I defined things so SpecialRowA Refers to: =Sheet1!$1:$1.
When I moved the row to row 9 the definition (correctly) changed to
Refers to: =Sheet1!$9:$9

However I now find that I don't know the syntax put an entry in a cell
and refer to the corresponding cell in the named row.

I'd like to put something like this in a cell:
+{SpecialRowA,this column}

If I didn't want to be able to use a name to refer to the a special
row that I might want to move, I would:
1. select the cell to make the reference in
2. type "="
3. select the corresponding cell in the special row.
This would put the cell in the special row in the formula,
so it might read:
=E3
4. I would now change the name to E$3. I could copy the cell
elsewhere on the sheet and the copy operation would automatically
change the "E" to correspond to each cell's column and leave the
"$3" part fixed.

However, I want the formulas in all the cells so use SpecialRowA
instead of 3, so that I can move the special row elsewhere.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refer to tab names? Rj Excel Discussion (Misc queries) 1 December 21st 09 08:31 AM
refer to text Lowan Chan Excel Discussion (Misc queries) 9 October 20th 09 05:46 AM
How to refer a name in VBA clara Excel Discussion (Misc queries) 4 June 26th 08 12:27 AM
Refer to value strikeuk Excel Discussion (Misc queries) 8 May 17th 06 08:42 AM
refer JE McGimpsey Excel Discussion (Misc queries) 2 November 28th 05 06:55 PM


All times are GMT +1. The time now is 06:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"