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 Vlookup for Column b

I have a very complicated exercise but I am changing it around so it is easier
What I have been using is the formula
=VLOOKUP(1,A1:O10, 2, FALSE)

This is looking up 1 in column a
What I want to do is be able to look up say 1 in column b
How would I do this
Also this is for a list of values would I be able to put a cell reference
say b2 instead of the 1 so I can copy the formula all the way down
thanks

--
Natalie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Vlookup for Column b

If you want to bring back a value that's in a column to the right of column B,
you can still use =vlookup().

=vlookup(1,b1:o10,2,false)
will bring back the value in column C if there's a match.

If you wanted to bring back any column (including column A), you could use
=index(match()):

=index(a1:a10,match(1,b1:b10,0))
to bring back a value from column A

or
=index(x1:x10,match(1,b1:b10,0))
to bring back a value from column X

Debra Dalgleish has lots of notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://www.contextures.com/xlFunctions03.html (for =index(match()))
and
http://contextures.com/xlFunctions02.html#Trouble


nataliemarylang8 wrote:

I have a very complicated exercise but I am changing it around so it is easier
What I have been using is the formula
=VLOOKUP(1,A1:O10, 2, FALSE)

This is looking up 1 in column a
What I want to do is be able to look up say 1 in column b
How would I do this
Also this is for a list of values would I be able to put a cell reference
say b2 instead of the 1 so I can copy the formula all the way down
thanks

--
Natalie


--

Dave Peterson
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
vlookup 1st column time 2nd column text Kathl Excel Worksheet Functions 12 August 12th 08 05:30 AM
VLookup - Column name? Jennifer Excel Discussion (Misc queries) 5 July 10th 08 08:05 PM
VLOOKUP using Fifth Column RoadKill Excel Worksheet Functions 3 April 22nd 08 05:54 PM
vlookup a value in column B but return value in Column A Ken Excel Discussion (Misc queries) 4 July 17th 07 06:22 PM
VLookup & Column Sum ddate Excel Worksheet Functions 1 March 8th 06 11:48 PM


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