PC Review


Reply
Thread Tools Rate Thread

cell formulas

 
 
Fan924
Guest
Posts: n/a
 
      26th Feb 2009
I would like to use cell A1 as a constant for use on formulas. When I
copy and paste the formula down column C, it no longer points to A1.
Any way to assign A1 a variable name for use in formulas?
 
Reply With Quote
 
 
 
 
OssieMac
Guest
Posts: n/a
 
      26th Feb 2009
Two ways you can do this.

1. Make it absolute in the formula like the following $A$1. Example =$A$1

2. Name the cell.
In xl2007 Select the cell and then the Formulas ribbon and then Define Name
(In the middle of the Formulas ribbon)

Pre xl2007 Select the cell then menu item Insert -> Name -> Define.

Use your chosen name for the cell like MyConstant. (Avoid reserved words
that are used for formulas etc.)

Use the name in formulas like =MyConstant in lieu of =A1

--
Regards,

OssieMac


"Fan924" wrote:

> I would like to use cell A1 as a constant for use on formulas. When I
> copy and paste the formula down column C, it no longer points to A1.
> Any way to assign A1 a variable name for use in formulas?
>

 
Reply With Quote
 
OssieMac
Guest
Posts: n/a
 
      26th Feb 2009
A little extra information on absolute addressing. You can place the $ sign
just in front of the column like this $A1 and then you can copy the formula
right across to any column and it will always address column A. However, when
you copy the formula down in the other columns, while it always addresses
column A you will find that the row number changes.

The above is handy to know if you have a value that is always in column A
for the formulas across the worksheet but it is a different value for each
row.

The same with the row numbers. You can use A$1 and copy a formula down and
it will always address row 1. If you copy the formula across then the column
id changes but it will still always address row 1.

Hope this little bit of info helps.

--
Regards,

OssieMac


"OssieMac" wrote:

> Two ways you can do this.
>
> 1. Make it absolute in the formula like the following $A$1. Example =$A$1
>
> 2. Name the cell.
> In xl2007 Select the cell and then the Formulas ribbon and then Define Name
> (In the middle of the Formulas ribbon)
>
> Pre xl2007 Select the cell then menu item Insert -> Name -> Define.
>
> Use your chosen name for the cell like MyConstant. (Avoid reserved words
> that are used for formulas etc.)
>
> Use the name in formulas like =MyConstant in lieu of =A1
>
> --
> Regards,
>
> OssieMac
>
>
> "Fan924" wrote:
>
> > I would like to use cell A1 as a constant for use on formulas. When I
> > copy and paste the formula down column C, it no longer points to A1.
> > Any way to assign A1 a variable name for use in formulas?
> >

 
Reply With Quote
 
Fan924
Guest
Posts: n/a
 
      26th Feb 2009
Nice! And so simple.Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two formulas in on cell based on two numbers in another cell? Melody Microsoft Excel Misc 5 19th Mar 2010 07:51 PM
Carrying formulas over to new cell when old cell is deleted: possi Karl Microsoft Excel Worksheet Functions 0 24th Jun 2008 01:10 PM
Copying formulas from cell to cell to cell to....... Tom Hardy Microsoft Excel Misc 3 15th Jun 2006 03:29 PM
change cell value greater than another cell value using formulas =?Utf-8?B?VW5zdXJlPw==?= Microsoft Excel Worksheet Functions 2 2nd Apr 2006 10:24 PM
Please help..activating array formulas in a range of cells without going cell by cell Karenna Microsoft Excel Worksheet Functions 3 1st Mar 2004 03:45 AM


Features
 

Advertising
 

Newsgroups
 


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