PC Review


Reply
Thread Tools Rate Thread

Define a variable problem

 
 
Alex
Guest
Posts: n/a
 
      19th Jan 2004
Can anyway advise me on how to define a variable in Excel. I did basic
at school as a kid and I wanted to define a variable and name it at
the beginning of the spreadsheet and then use the formulas to alter
the variable as we move through the sheets. I'm modeling financial
spreadsheets, so I might want to add 100 to the variable sales at time
t+1 or something. Can anyone help or suggest how I might get started.

Many thanks in advance

Alex
 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      19th Jan 2004
You could name a cell, and enter the variable in that cell. For example:

Select cell A1
Click in the Name Box, to the left of the formula bar.
Type a name for the range, e.g. t
Press the Enter key

Select another cell, and enter a formula that includes the variable
name, e.g. =B1+t

As you change the value in cell A1, the formula result will change.

Alex wrote:
> Can anyway advise me on how to define a variable in Excel. I did basic
> at school as a kid and I wanted to define a variable and name it at
> the beginning of the spreadsheet and then use the formulas to alter
> the variable as we move through the sheets. I'm modeling financial
> spreadsheets, so I might want to add 100 to the variable sales at time
> t+1 or something. Can anyone help or suggest how I might get started.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 
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
Define Variable Name using VBA GTReferee Microsoft Excel Misc 2 21st Jan 2009 06:37 PM
RE: Define a Variable Jim Thomlinson Microsoft Excel Programming 0 18th Jun 2008 08:22 PM
Variable not define =?Utf-8?B?Snk=?= Microsoft Access 10 19th Jan 2006 05:38 PM
How to define variable kishore Microsoft Excel Programming 3 13th May 2005 10:22 AM
How to define void variable =?Utf-8?B?W1lvc2ld?= Microsoft C# .NET 1 14th Jun 2004 10:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:01 PM.