A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Next Row



 
 
Thread Tools Display Modes
  #1  
Old October 7th, 2003, 01:56 PM
Jay Easley
external usenet poster
 
Posts: n/a
Default Next Row

I am using a vlookup to find a value in a list and then
directly below that I would like to find the value beneath
the value found in the list. For example:

1
2
3

I am given a 1.2, the volookkup returns 1 and then I would
like to return a 2 below that.

thanks for any and all help,
Jay Easley
  #2  
Old October 7th, 2003, 02:09 PM
Bernard Liengme
external usenet poster
 
Posts: n/a
Default Next Row

Hi Jay,
With the number to be looked up (1.2 in your example) in A1, use
=INDEX(myList,MATCH(A1,myList,1)+1)
where myList is the array {1,2,3} in your example.

Match finds what row it is in and Index returns a value from a given row. SO
adding one does the trick.
Bernard

"Jay Easley" wrote in message
...
I am using a vlookup to find a value in a list and then
directly below that I would like to find the value beneath
the value found in the list. For example:

1
2
3

I am given a 1.2, the volookkup returns 1 and then I would
like to return a 2 below that.

thanks for any and all help,
Jay Easley



  #3  
Old October 7th, 2003, 02:20 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default Next Row

If your vlookup looks like this

=VLOOKUP(A1,B2:C100,2,FALSE)

try this instead

=INDEX(C2:C100,MATCH(A1,B2:B100,0)+1)

--

Regards,

Peo Sjoblom


"Jay Easley" wrote in message
...
I am using a vlookup to find a value in a list and then
directly below that I would like to find the value beneath
the value found in the list. For example:

1
2
3

I am given a 1.2, the volookkup returns 1 and then I would
like to return a 2 below that.

thanks for any and all help,
Jay Easley



  #4  
Old October 7th, 2003, 07:22 PM
Jay Easley
external usenet poster
 
Posts: n/a
Default Next Row

Thanks for the help!!
-----Original Message-----
Hi Jay,
With the number to be looked up (1.2 in your example) in

A1, use
=INDEX(myList,MATCH(A1,myList,1)+1)
where myList is the array {1,2,3} in your example.

Match finds what row it is in and Index returns a value

from a given row. SO
adding one does the trick.
Bernard

"Jay Easley" wrote in message
...
I am using a vlookup to find a value in a list and then
directly below that I would like to find the value

beneath
the value found in the list. For example:

1
2
3

I am given a 1.2, the volookkup returns 1 and then I

would
like to return a 2 below that.

thanks for any and all help,
Jay Easley



.

  #5  
Old October 7th, 2003, 07:22 PM
Jay Easley
external usenet poster
 
Posts: n/a
Default Next Row

Thanks for your help!
-----Original Message-----
If your vlookup looks like this

=VLOOKUP(A1,B2:C100,2,FALSE)

try this instead

=INDEX(C2:C100,MATCH(A1,B2:B100,0)+1)

--

Regards,

Peo Sjoblom


"Jay Easley" wrote in message
...
I am using a vlookup to find a value in a list and then
directly below that I would like to find the value

beneath
the value found in the list. For example:

1
2
3

I am given a 1.2, the volookkup returns 1 and then I

would
like to return a 2 below that.

thanks for any and all help,
Jay Easley



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.