Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

result of formula in cell instead of formula itself...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cfortran - 20 Mar 2008 21:05 GMT
I've got a spreadsheet where I need to search a table and return a
value from a particular column in that table. Vlookup appears to be
exactly what I'm looking for, however the first argument I need to
pass it (the value to search for) is located in cell N2. Cell N2 is
itself a formula and it appears that it is making vlookup fail. Is
there a way I can tell the vlookup function to only use the result of
the formula in that cell instead of following the formula itself?

Thanks

--cfortran
cfortran - 20 Mar 2008 21:12 GMT
> I've got a spreadsheet where I need to search a table and return a
> value from a particular column in that table. Vlookup appears to be
[quoted text clipped - 7 lines]
>
> --cfortran

I apologize for replying to my own post like this, but I think I may
have misunderstood the way vlookup works. Apparently it will only
search the left column of a specified table.

Here is my function: =vlookup(N2,A6:B6006,1,FALSE)

What I want it to do is search column B and return the result for that
row in column A.

Any help will be greatly appreciated.

--cfortran
Dave Peterson - 20 Mar 2008 21:55 GMT
You can use =index(match())

=index(a:a,match(n2,b:b,0))

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

> > I've got a spreadsheet where I need to search a table and return a
> > value from a particular column in that table. Vlookup appears to be
[quoted text clipped - 20 lines]
>
> --cfortran

Signature

Dave Peterson

Gord Dibben - 20 Mar 2008 22:16 GMT
=vlookup(N2,$A$6:$B$6006,2,FALSE)

N2 will hold a value that can be found in A6:A6006 and return the appropriate
value from B6:B6006

Gord Dibben  MS Excel MVP

>=vlookup(N2,A6:B6006,1,FALSE)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.