Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SCOTT
 
Posts: n/a
Default how do I refer to a cell using information from other cells

I would like to be able to use the information from a cell to determine which
cell is referenced to

It could be either a name or a number
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default how do I refer to a cell using information from other cells

On Wed, 21 Jun 2006 16:49:01 -0700, SCOTT
wrote:

I would like to be able to use the information from a cell to determine which
cell is referenced to

It could be either a name or a number


Perhaps the INDIRECT worksheet function is what you need?
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
SCOTT
 
Posts: n/a
Default how do I refer to a cell using information from other cells

I wasn't able to get that to work

What I would like to do is shown in the following example

if a cell reads 9 I would like to be able to use that cell to direct a
formula to that position

for example I want to go to J9

but if the cell reads 4 I want to go to J4

thanks allot
  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default how do I refer to a cell using information from other cells

On Wed, 21 Jun 2006 19:46:02 -0700, SCOTT
wrote:

I wasn't able to get that to work

What I would like to do is shown in the following example

if a cell reads 9 I would like to be able to use that cell to direct a
formula to that position

for example I want to go to J9

but if the cell reads 4 I want to go to J4

thanks allot


If your "cell" is A1, then:

=INDEX(J:J,A1)

is one way of doing what you describe.


--ron
  #5   Report Post  
Posted to microsoft.public.excel.misc
Ragdyer
 
Posts: n/a
Default how do I refer to a cell using information from other cells

Say the cell that you use to enter the row number is A1.

Then, try this:

=INDIRECT("J"&A1)

--
HTH,

RD

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

"SCOTT" wrote in message
...
I wasn't able to get that to work

What I would like to do is shown in the following example

if a cell reads 9 I would like to be able to use that cell to direct a
formula to that position

for example I want to go to J9

but if the cell reads 4 I want to go to J4

thanks allot




  #6   Report Post  
Posted to microsoft.public.excel.misc
SCOTT
 
Posts: n/a
Default how do I refer to a cell using information from other cells


Hey Thanks heaps that was really helpful
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
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Is there a way to hide worksheets and/or rows/columns based on information enter into a particular cell of range of cells? Marc New Users to Excel 1 March 10th 06 05:10 PM
Can I paste information (from several cells) into a cell comment? eli Excel Discussion (Misc queries) 0 January 12th 06 11:47 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"