Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default how to set up a simple variable in Excel, but cell location independent

Can you please show me how to set up a simple variable in Excel, but this
variable must be cell location independent. Because this worksheet will be
sorted and cell location re-arranged and moved. That mean for example,

In one worksheet, I set variable numb = 5
other cell at different location value display will have function such as
numb*2 = 5*2 = 10

Then, other time, I set this same variable numb = 12
then, the call value will display
numb*2 = 12*2 = 24

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default how to set up a simple variable in Excel, but cell location independent

You might try a named formula.

From the Menu Bar,
<Insert <Name <Define
In the "Names In Workbook: box, type
numb

*Change*whatever's in the "Refers To" box to,
=5
Then <OK

Now, in any cell enter,
=numb
And you'll get a return of 5.

So,
=10*numb
Will return 50.

=numb/2
Will return 2.5

To change the value, just repeat the above procedure and change the value in
the "Refers To" box.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Alberta K." wrote in message
...
Can you please show me how to set up a simple variable in Excel, but this
variable must be cell location independent. Because this worksheet will be
sorted and cell location re-arranged and moved. That mean for example,

In one worksheet, I set variable numb = 5
other cell at different location value display will have function such as
numb*2 = 5*2 = 10

Then, other time, I set this same variable numb = 12
then, the call value will display
numb*2 = 12*2 = 24

Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default how to set up a simple variable in Excel, but cell location independent

Great. Thank you very much.

"RagDyer" wrote in message
...
You might try a named formula.

From the Menu Bar,
<Insert <Name <Define
In the "Names In Workbook: box, type
numb

*Change*whatever's in the "Refers To" box to,
=5
Then <OK

Now, in any cell enter,
=numb
And you'll get a return of 5.

So,
=10*numb
Will return 50.

=numb/2
Will return 2.5

To change the value, just repeat the above procedure and change the value
in the "Refers To" box.
--
HTH,

RD

  #4   Report Post  
Posted to microsoft.public.excel.newusers,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default how to set up a simple variable in Excel, but cell location independent

You're welcome, and thank you for the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Alberta K." wrote in message
...
Great. Thank you very much.

"RagDyer" wrote in message
...
You might try a named formula.

From the Menu Bar,
<Insert <Name <Define
In the "Names In Workbook: box, type
numb

*Change*whatever's in the "Refers To" box to,
=5
Then <OK

Now, in any cell enter,
=numb
And you'll get a return of 5.

So,
=10*numb
Will return 50.

=numb/2
Will return 2.5

To change the value, just repeat the above procedure and change the value
in the "Refers To" box.
--
HTH,

RD



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 set up a simple variable in Excel, but cell location independent Alberta K. New Users to Excel 3 December 19th 07 03:55 PM
Excel 2003 Regression using more than 1 independent variable ALEX Excel Discussion (Misc queries) 2 February 1st 07 06:29 AM
CELL LOCATION!! SIMPLE QUESTION!!!! HERNAN Excel Discussion (Misc queries) 3 October 18th 06 06:55 PM
add a second independent variable, doing regression in excel? cheeks Excel Discussion (Misc queries) 1 April 3rd 06 12:03 AM
Two Independent Variable Correlation MillerK Excel Discussion (Misc queries) 1 April 21st 05 03:50 AM


All times are GMT +1. The time now is 08:57 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"