Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Setting the cell number as a variable

Is there a way to set the number of a cell (A5) as a variable (A(variable))
so that I would be able to select different cells in column A by changing the
variable?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Setting the cell number as a variable

Let's say your variable number is located in cell A1, and you want to
reference somewhere in column B. Use this formula:

=INDIRECT("A"&A1)

You can see the help file for further details, if you need them.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Intern" wrote:

Is there a way to set the number of a cell (A5) as a variable (A(variable))
so that I would be able to select different cells in column A by changing the
variable?

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
Setting number in cell back to zero Mike[_3_] New Users to Excel 2 November 25th 07 05:55 AM
Setting a string variable as the file name [email protected] Excel Discussion (Misc queries) 1 March 28th 07 11:10 PM
variable number format in cell tina Excel Discussion (Misc queries) 2 November 7th 06 11:49 AM
Setting Cell Number Format With A Worksheet Function [email protected] Excel Worksheet Functions 1 December 16th 05 07:37 PM
Setting a variable cell address Hugh Jago Excel Discussion (Misc queries) 3 January 5th 05 03:45 PM


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