Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Vlookup: returning the value below the actual row
I have data in following format. col A B 1 aa ....bb 2 cc ....dd 3 ee ....ff I want to lookup value of say 2 in above data and return "dd" which is below the row in which 2 resides. what is the formula to do this and what if I want to return the value of 3rd row below the row the Vlookup value found in? regards -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=567782 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Vlookup: returning the value below the actual row
On the assumption that the number in column A only occurs once, then this
will find the next row down. If you want other "offsets" then change the "+1" to "+2" etc, =INDEX(B1:B9,MATCH(2,A1:A9,0)+1) HTH "starguy" wrote: I have data in following format. col A B 1 aa ....bb 2 cc ....dd 3 ee ....ff I want to lookup value of say 2 in above data and return "dd" which is below the row in which 2 resides. what is the formula to do this and what if I want to return the value of 3rd row below the row the Vlookup value found in? regards -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=567782 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Vlookup: returning the value below the actual row
starguy wrote: I have data in following format. col A B 1 aa ...bb 2 cc ...dd 3 ee ...ff I want to lookup value of say 2 in above data and return "dd" which is below the row in which 2 resides. what is the formula to do this and what if I want to return the value of 3rd row below the row the Vlookup value found in? regards -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=567782 Hi, Maybe you can use a combination of MATCH and INDEX. Something along the lines of: =INDEX(B1:B6,MATCH(2,A1:A6)+1) If you want the next row just type +2 Regards, Bondi |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Vlookup: returning the value below the actual row
Use activecell.offset(1).value -- RealRaven ------------------------------------------------------------------------ RealRaven's Profile: http://www.excelforum.com/member.php...o&userid=37058 View this thread: http://www.excelforum.com/showthread...hreadid=567782 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Vlookup: returning the value below the actual row
thank you all. -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=567782 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VLOOKUP not returning correct answer | Excel Worksheet Functions | |||
need help with a vlookup but returning a particular match? | Excel Worksheet Functions | |||
vlookup formulas returning no values | Excel Worksheet Functions | |||
Vlookup not returning correct value | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions |