Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2007

Tip: Looking for answers? Try searching our database.

how to set up a simple variable in Excel, but cell location independent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alberta K. - 18 Dec 2007 22:13 GMT
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.
RagDyer - 18 Dec 2007 23:18 GMT
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.
Signature

HTH,

RD

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

> 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
[quoted text clipped - 9 lines]
>
> Thank you.
Alberta K. - 19 Dec 2007 01:36 GMT
Great. Thank you very much.

> You might try a named formula.
>
[quoted text clipped - 20 lines]
> To change the value, just repeat the above procedure and change the value
> in the "Refers To" box.
RagDyeR - 19 Dec 2007 15:55 GMT
You're welcome, and thank you for the feed-back.
Signature


Regards,

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

Great. Thank you very much.

> You might try a named formula.
>
[quoted text clipped - 20 lines]
> To change the value, just repeat the above procedure and change the value
> in the "Refers To" box.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.