Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default reference with variable row number ?

I'm trying to lookup a vector ( Bx:Sx )
in which x is a number stored in another cell, say Cell A1..

I was trying something like: LOOKUP ( 1, B(A1):S(A1), B1:S1)
which, of course does not work...^___^

So can I ask how can I reference a cell with the row number being a variable?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default reference with variable row number ?

See if this screencap helps:

http://img320.imageshack.us/img320/6161/lookup1dx4.jpg

Biff

"Arc_K" wrote in message
...
I'm trying to lookup a vector ( Bx:Sx )
in which x is a number stored in another cell, say Cell A1..

I was trying something like: LOOKUP ( 1, B(A1):S(A1), B1:S1)
which, of course does not work...^___^

So can I ask how can I reference a cell with the row number being a
variable?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default reference with variable row number ?

Biff,

For the benefit of all and the excel archives, why not include the core text
descripts of your suggestion? Your image link can be a complement to that.
Perhaps, like other silent readers of the newsgroups around the world
travelling in the same boat, I'm unfortunately not able to view the link
from where I'm accessing the newsgroups. If you were to include the core
text descripts, think that'll definitely be visible.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Biff" wrote in message
...
See if this screencap helps:

http://img320.imageshack.us/img320/6161/lookup1dx4.jpg

Biff



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default reference with variable row number ?

Well, there wasn't enough detail in the post so I basically took a WAG as to
what they wanted and it goes like this:

.......A.....B.....C.....D
1...X1...X2...X3...X4
2....5......8......7.....6
3....1......4......7.....2
4....0......6......1.....3
5....9......2......8.....4
6....8......4......1.....7

Return column header based on the (relative) user selected row that contains
the lookup value.

A10 = lookup value = 1
A11 = row number = 5

=INDEX(A1:D1,MATCH(A10,INDEX(A2:D6,A11,),0))

Returns: X3

Biff

"Max" wrote in message
...
Biff,

For the benefit of all and the excel archives, why not include the core
text descripts of your suggestion? Your image link can be a complement to
that. Perhaps, like other silent readers of the newsgroups around the
world travelling in the same boat, I'm unfortunately not able to view the
link from where I'm accessing the newsgroups. If you were to include the
core text descripts, think that'll definitely be visible.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Biff" wrote in message
...
See if this screencap helps:

http://img320.imageshack.us/img320/6161/lookup1dx4.jpg

Biff





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default reference with variable row number ?

Thanks, Biff !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Biff" wrote in message
...
Well, there wasn't enough detail in the post so I basically took a WAG as
to what they wanted and it goes like this:

......A.....B.....C.....D
1...X1...X2...X3...X4
2....5......8......7.....6
3....1......4......7.....2
4....0......6......1.....3
5....9......2......8.....4
6....8......4......1.....7

Return column header based on the (relative) user selected row that
contains the lookup value.

A10 = lookup value = 1
A11 = row number = 5

=INDEX(A1:D1,MATCH(A10,INDEX(A2:D6,A11,),0))

Returns: X3

Biff





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default reference with variable row number ?

You're welcome, Max!

Biff

"Max" wrote in message
...
Thanks, Biff !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Biff" wrote in message
...
Well, there wasn't enough detail in the post so I basically took a WAG as
to what they wanted and it goes like this:

......A.....B.....C.....D
1...X1...X2...X3...X4
2....5......8......7.....6
3....1......4......7.....2
4....0......6......1.....3
5....9......2......8.....4
6....8......4......1.....7

Return column header based on the (relative) user selected row that
contains the lookup value.

A10 = lookup value = 1
A11 = row number = 5

=INDEX(A1:D1,MATCH(A10,INDEX(A2:D6,A11,),0))

Returns: X3

Biff





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default reference with variable row number ?

Oh Now I can get my assighment done~~~

Thanks a lot !


"Biff" wrote:

See if this screencap helps:

http://img320.imageshack.us/img320/6161/lookup1dx4.jpg

Biff

"Arc_K" wrote in message
...
I'm trying to lookup a vector ( Bx:Sx )
in which x is a number stored in another cell, say Cell A1..

I was trying something like: LOOKUP ( 1, B(A1):S(A1), B1:S1)
which, of course does not work...^___^

So can I ask how can I reference a cell with the row number being a
variable?




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default reference with variable row number ?

You're welcome. Thanks for the feedback!

Biff

"Arc_K" wrote in message
...
Oh Now I can get my assighment done~~~

Thanks a lot !


"Biff" wrote:

See if this screencap helps:

http://img320.imageshack.us/img320/6161/lookup1dx4.jpg

Biff

"Arc_K" wrote in message
...
I'm trying to lookup a vector ( Bx:Sx )
in which x is a number stored in another cell, say Cell A1..

I was trying something like: LOOKUP ( 1, B(A1):S(A1), B1:S1)
which, of course does not work...^___^

So can I ask how can I reference a cell with the row number being a
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
Pulling Data off Web - Need Function Help patfergie44 Excel Worksheet Functions 9 June 22nd 06 03:27 AM
Hyperlink function fails when using variable row number Balex Excel Worksheet Functions 5 April 8th 06 06:35 AM
How do I extract a date as text not the 1900 reference number Adam Excel Discussion (Misc queries) 3 March 23rd 05 05:04 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM


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"