Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve L
 
Posts: n/a
Default How do I use cell reference instead of name in a formula?

I have a spreadsheet I am using for financial statements. In one area, I have
to create sub-totals based on the rows above.

The problem is that some of the cells are set up as named ranges for use
elsewhere, and some are not. As a result, the formulas for my sub-totals
contain both names and cell references. When I try to copy these formulas to
adjacent cells for other months, some formula components change (eg. C35
becomes D35) while others don't (eg. Jan_Sales stays as Jan_Sales).

This makes a complicated edit, overly prone to errors. It is also not
something I am comfortable turning over to someone else to use on an ongoing
basis.

I could create names for the un-named cells, but this would result in a HUGE
number of names to set up. Is there any way to use the cell reference for the
named cells in the formulas I am creating?
  #4   Report Post  
Sanjeev
 
Posts: n/a
Default

Dear Steve,

You have to use cell address reference LIKE A1:A10 Instead of range name XYZ.

you have to change it manually from range name to cell ref. address

"Steve L" wrote:

I have a spreadsheet I am using for financial statements. In one area, I have
to create sub-totals based on the rows above.

The problem is that some of the cells are set up as named ranges for use
elsewhere, and some are not. As a result, the formulas for my sub-totals
contain both names and cell references. When I try to copy these formulas to
adjacent cells for other months, some formula components change (eg. C35
becomes D35) while others don't (eg. Jan_Sales stays as Jan_Sales).

This makes a complicated edit, overly prone to errors. It is also not
something I am comfortable turning over to someone else to use on an ongoing
basis.

I could create names for the un-named cells, but this would result in a HUGE
number of names to set up. Is there any way to use the cell reference for the
named cells in the formulas I am creating?

  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

There is no need to define a separate name for every range. You can create
dynamic named ranges, which use the target cell as one argument - the
returned range depends on cell, where it is used as function argument, or on
some other parameter.

An example how to create such named ranges you can find in my answer to
thread 'How to start a database' from yesterday in microsoft.public.excel
NG - ranges ResultArray, PointsArray, RaceTable etc.


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Steve L" <Steve wrote in message
...
I have a spreadsheet I am using for financial statements. In one area, I
have
to create sub-totals based on the rows above.

The problem is that some of the cells are set up as named ranges for use
elsewhere, and some are not. As a result, the formulas for my sub-totals
contain both names and cell references. When I try to copy these formulas
to
adjacent cells for other months, some formula components change (eg. C35
becomes D35) while others don't (eg. Jan_Sales stays as Jan_Sales).

This makes a complicated edit, overly prone to errors. It is also not
something I am comfortable turning over to someone else to use on an
ongoing
basis.

I could create names for the un-named cells, but this would result in a
HUGE
number of names to set up. Is there any way to use the cell reference for
the
named cells in the formulas I am creating?





  #6   Report Post  
alex
 
Posts: n/a
Default

hello,

perhaps you can help me with this:

in column A i have different values, for example:
A B
1 aa
2 bb
3 cc

in column B i want to define cells as reference to some named cells located
elsewhere. for example: cell B1: =aatotal and so on in other cells:
bbtotal, cctotal...
how can i define formulas in B column based on values in A in order not to
retype aa bb cc in all the cells. something like B1: =A1total ... ?

thanks,

Alex.

"R.VENKATARAMAN" wrote:

if use absolute addresses the address will not chane. for e.g. $C$35 will
remain as c35.

another function <indirect also will be usefu. see help

use some such method of using cell addresses instead of names of ranges.

====================
Steve L <Steve wrote in message
...
I have a spreadsheet I am using for financial statements. In one area, I

have
to create sub-totals based on the rows above.

The problem is that some of the cells are set up as named ranges for use
elsewhere, and some are not. As a result, the formulas for my sub-totals
contain both names and cell references. When I try to copy these formulas

to
adjacent cells for other months, some formula components change (eg. C35
becomes D35) while others don't (eg. Jan_Sales stays as Jan_Sales).

This makes a complicated edit, overly prone to errors. It is also not
something I am comfortable turning over to someone else to use on an

ongoing
basis.

I could create names for the un-named cells, but this would result in a

HUGE
number of names to set up. Is there any way to use the cell reference for

the
named cells in the formulas I am creating?





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
Tab name / reference cell? Maxwell-5000 Excel Worksheet Functions 0 August 8th 05 07:40 PM
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM
reference cell value from fixed column with variable row bob z Excel Discussion (Misc queries) 0 May 23rd 05 11:30 PM
Using a Text / Data output as a cell reference Jimboski Excel Discussion (Misc queries) 1 February 11th 05 07:31 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM


All times are GMT +1. The time now is 12:44 AM.

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"