Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default How to "go to" cell referenced in another cell

Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)

A B C

1 4 1 100
2 2 106
3 3 112
4 4 118
5 5 121
6 X

I hope this is clear enough.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How to "go to" cell referenced in another cell

Try this in A6:

=VLOOKUP(A1,A$2:B$5,2,0)

Note that a formula cannot "push" data to a cell, it can only "pull"
it from a cell. In this case it will pull the data from B4.

Your description is confusing - where does column C come into it?

Hope this helps.

Pete

On May 26, 7:47*pm, BEEJAY wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)

* * * * A * * *B * * * * * * * *C

1 * * * 4 * * * 1 * * * 100
2 * * * 2 * * * 106
3 * * * 3 * * * 112
4 * * * 4 * * * 118
5 * * * 5 * * * 121
6 * * *X * * * * * * * *

I hope this is clear enough.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default How to "go to" cell referenced in another cell

Pete:
1: As I understand it, look-ups column has to be in ascending order.
My lists are not, and they are not static either.
2: My mistake in question.
Line 8 should read: Read cell reference indicated in A1
(this is where I manually entered the B4 cell reference)
SO, A1 "shows" the Value of B4.
But, I'm trying to get the cell reference (B4) out of A1, in order to be
able to get the value of the cell one column to the left of B4, and enter
that in A6.
I hope this is clearer.

"Pete_UK" wrote:

Try this in A6:

=VLOOKUP(A1,A$2:B$5,2,0)

Note that a formula cannot "push" data to a cell, it can only "pull"
it from a cell. In this case it will pull the data from B4.

Your description is confusing - where does column C come into it?

Hope this helps.

Pete

On May 26, 7:47 pm, BEEJAY wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)

A B C

1 4 1 100
2 2 106
3 3 112
4 4 118
5 5 121
6 X

I hope this is clear enough.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to "go to" cell referenced in another cell

As responded in the other branch,
Try in A6: =OFFSET(INDIRECT(A1),,1)
where A1 contains the cell ref: B4
(not "+B4", btw)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How to "go to" cell referenced in another cell

The lookup column does not need to be in ascending order if you use
the fourth optional parameter set to FALSE (or 0).

Did you try to amend my formula to suit your latest example?

Put this in A6:

=VLOOKUP(A1,B$1:C$5,2,0)

Your example is misleading - I think you want to enter 4 in A1 to
indicate the row number, not the value that matches with A1 in column
B. If that is the case, then you could try this in A6:

=INDIRECT("C"&A1)

Hope this helps.

Pete

On May 27, 11:19*am, BEEJAY wrote:
Pete:
1: As I understand it, look-ups column has to be in ascending order.
* *My lists are not, and they are not static either.
2: My mistake in question.
* * * Line 8 should read: Read cell reference indicated in A1
* * * (this is where I manually entered the B4 cell reference)
SO, A1 "shows" *the Value of B4.
But, I'm trying to get the cell reference (B4) out of A1, in order to be
able to get the value of the cell one column to the left of B4, and enter
that in A6.
I hope this is clearer.



"Pete_UK" wrote:
Try this in A6:


=VLOOKUP(A1,A$2:B$5,2,0)


Note that a formula cannot "push" data to a cell, it can only "pull"
it from a cell. In this case it will pull the data from B4.


Your description is confusing - where does column C come into it?


Hope this helps.


Pete


On May 26, 7:47 pm, BEEJAY wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)


* * * * A * * *B * * * * * * * *C


1 * * * 4 * * * 1 * * * 100
2 * * * 2 * * * 106
3 * * * 3 * * * 112
4 * * * 4 * * * 118
5 * * * 5 * * * 121
6 * * *X * * * * * * * *


I hope this is clear enough.- Hide quoted text -


- Show quoted text -




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default How to "go to" cell referenced in another cell

Greetings:
I've perhaps made this un-necessarily cumbersome.
The #'s shown in column B match the row #'s inadvertently. There is no
relation between the two.

Due to the complexity of the complete sheet, I'm very limited.
IF I use VLookUps, I would need to use more "IF" statements than the system
will allow.
I did get the OFFSET(INDIRECT) to work by inputing B4 as text.
However, I DO NEED, in Cell A1, the VALUE of B4, for calculation purposes.
In Cell A6 I need to "access" the Cell Reference used in A1.

In its simplest terms:
Cell A1: I Enter B4 - It Reads "4"
Cell A6: "Extract" the CELL REFERENCE in A1 to use in a formula in A6?

I hope I haven't muddied the waters further.

"Pete_UK" wrote:

The lookup column does not need to be in ascending order if you use
the fourth optional parameter set to FALSE (or 0).

Did you try to amend my formula to suit your latest example?

Put this in A6:

=VLOOKUP(A1,B$1:C$5,2,0)

Your example is misleading - I think you want to enter 4 in A1 to
indicate the row number, not the value that matches with A1 in column
B. If that is the case, then you could try this in A6:

=INDIRECT("C"&A1)

Hope this helps.

Pete

On May 27, 11:19 am, BEEJAY wrote:
Pete:
1: As I understand it, look-ups column has to be in ascending order.
My lists are not, and they are not static either.
2: My mistake in question.
Line 8 should read: Read cell reference indicated in A1
(this is where I manually entered the B4 cell reference)
SO, A1 "shows" the Value of B4.
But, I'm trying to get the cell reference (B4) out of A1, in order to be
able to get the value of the cell one column to the left of B4, and enter
that in A6.
I hope this is clearer.



"Pete_UK" wrote:
Try this in A6:


=VLOOKUP(A1,A$2:B$5,2,0)


Note that a formula cannot "push" data to a cell, it can only "pull"
it from a cell. In this case it will pull the data from B4.


Your description is confusing - where does column C come into it?


Hope this helps.


Pete


On May 26, 7:47 pm, BEEJAY wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)


A B C


1 4 1 100
2 2 106
3 3 112
4 4 118
5 5 121
6 X


I hope this is clear enough.- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to "go to" cell referenced in another cell

Try in A6: =OFFSET(INDIRECT(A1),,1)

If A1 contains the cell ref in text: B4 (not "+B4", btw)
then A6 will return what's in C4 (ie 1 col to the right)
which appears to be what you seek
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"BEEJAY" wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)

A B C

1 4 1 100
2 2 106
3 3 112
4 4 118
5 5 121
6 X

I hope this is clear enough.

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default How to "go to" cell referenced in another cell

Max:
I tried your sample but could not get it to return the value of C4.
(I changed A1 to Text).
Sorry that the sample came out so poorly.
I'm quite sure you understood my question properly, in spite of my entry
mistake and the poor chart provided, but, to be safe, let me try again.
Left most column is row numbers.

........A.....B..... C

1.....4..... 1......100
2............ 2......106
3.............3......112
4............ 4......118
5.............5......121
6.... X

I NEED the VALUE in A1, in this case, since I need "4", I enter +B4, in Cell
A1.
Then I'm looking to "read" the cell name referenced in A1, (which is B4),
and use that reference in my formula in A6.
So A6 would read something like OFFSET(INDIRECT(A1),,1)
Is this making any sense?
Or, assuming my explanation is better this time, is there another way to
accomplish this?


"Max" wrote:

Try in A6: =OFFSET(INDIRECT(A1),,1)

If A1 contains the cell ref in text: B4 (not "+B4", btw)
then A6 will return what's in C4 (ie 1 col to the right)
which appears to be what you seek
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"BEEJAY" wrote:
Greetings:
Excel 2003:
Using example below:
A1 is manually entered - in this case, as +B4
Need a formula in cell A6, that would "go to" the cell referenced in A4,
then select the data from column C, ( 118 ).
In other words, Cell A6 should:
Read cell reference indicated in A4,
Then "go to" B4,
then enter value one column to right.
I'm trying variations of:
=Range("A1").offset(0,1)

A B C

1 4 1 100
2 2 106
3 3 112
4 4 118
5 5 121
6 X

I hope this is clear enough.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to "go to" cell referenced in another cell

Sorry for the miscommunication
.. (I changed A1 to Text).

I meant that you should simply enter in A1: B4
(don't enter the "+" sign)

It works ok here, just re-tested. Try it again
Place in A6: =OFFSET(INDIRECT(A1),,1)
Then enter into A1: B4
A6 should return what's in C4, ie: 118
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"BEEJAY" wrote:
Max:
I tried your sample but could not get it to return the value of C4.
(I changed A1 to Text).
Sorry that the sample came out so poorly.
I'm quite sure you understood my question properly, in spite of my entry
mistake and the poor chart provided, but, to be safe, let me try again.
Left most column is row numbers.

.......A.....B..... C

1.....4..... 1......100
2............ 2......106
3.............3......112
4............ 4......118
5.............5......121
6.... X

I NEED the VALUE in A1, in this case, since I need "4", I enter +B4, in Cell
A1.
Then I'm looking to "read" the cell name referenced in A1, (which is B4),
and use that reference in my formula in A6.
So A6 would read something like OFFSET(INDIRECT(A1),,1)
Is this making any sense?
Or, assuming my explanation is better this time, is there another way to
accomplish this?


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
Need formula like ISBLANK that returns "no value" even if there is aformula in referenced cell insitedge Excel Worksheet Functions 1 May 7th 08 01:27 PM
"Disk is Full" add-on question to "Can't reset last cell" post tod [email protected] Excel Discussion (Misc queries) 0 January 22nd 07 02:32 AM
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! [email protected] Excel Discussion (Misc queries) 3 January 5th 07 02:18 PM
convert "15000" to "Fifteen thousand" in excel cell? anurag Excel Worksheet Functions 1 May 4th 06 07:58 AM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM


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