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 / Worksheet Functions / August 2005

Tip: Looking for answers? Try searching our database.

vlookup help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JPriest - 31 Aug 2005 18:41 GMT
So i'm attempting this one more time because i haven't been able to ge
it to work for me yet.

Here's the situation:

I want to find the value in sheet1b2 in sheet2 col b and return th
value in sheet2 col a to an empty cell in sheet 1

here's the formula i have tried and gotten an NA# error
=vlookup(b2,'sheet2,a2:b940,1,false) I have also changed false to true
This formula i've gotten from the excel help file and doesn't work fo
me.

Can someone please help??!

Thanks in advance,
Jef
Alan - 31 Aug 2005 19:21 GMT
=vlookup(b2,'sheet2,a2:b940,1,false)

Try

=VLOOKUP(B2,Sheet2!A2:B490,1,FALSE)

Post back if that doesnt work,
Regards,
Alan.

> So i'm attempting this one more time because i haven't been able to get
> it to work for me yet.
[quoted text clipped - 13 lines]
> Thanks in advance,
> Jeff
Alan - 31 Aug 2005 19:26 GMT
or

=VLOOKUP(B2,Sheet2!A2:B940,1,FALSE)

"Alan" <alan111@ntlworld.com> wrote in message news:...
> =vlookup(b2,'sheet2,a2:b940,1,false)
>
[quoted text clipped - 25 lines]
>> Thanks in advance,
>> Jeff
pdberger - 31 Aug 2005 19:29 GMT
JPriest --

I think you need to change the '1' to a '2' in your vlookup statement.  That
number counts the columns over to the right, but '1' is the index column
itself.  The 'false' or 'true' has to do with whether you want an approximate
match or an exact match in the index column, and may not be necessary.  

Also, I think the statement you wrote in this e-mail has syntax errors.  You
have a starting apostrophe but no ending one, and I think you have to put an
'!' after the worksheet name.  Try:

=vlookup(b2,'sheet2'!a2:b940,2)

Use the 'true' or 'false' if you really need to.

hth

> So i'm attempting this one more time because i haven't been able to get
> it to work for me yet.
[quoted text clipped - 13 lines]
> Thanks in advance,
> Jeff
Alan - 31 Aug 2005 20:04 GMT
Using '1' as the column to display in a VLOOKUP does work, pointless, but it
works,
Regards,
Alan.
> JPriest --
>
[quoted text clipped - 34 lines]
>> Thanks in advance,
>> Jeff
kk - 31 Aug 2005 20:03 GMT
Hi JPriest,

> I want to find the value in sheet1b2 in sheet2 col b and return the
> value in sheet2 col a to an empty cell in sheet 1

From my understanding, Vlookup doesn't work this way.

The values you want to find has to be located in a column to the left of the
data that you want to return.

So you have to rearrange your data to in order to get your formula works.

Col A - The value you want to find
Col B - The value you want to return.

If due to certain reason you can't rearrange the data, try...

=Offset(Sheet2!$A$1,Match(B2,Sheet2!$B$2:$B$940,0),0)

Hope this help.

kk

So i'm attempting this one more time because i haven't been able to get
it to work for me yet.

Here's the situation:

I want to find the value in sheet1b2 in sheet2 col b and return the
value in sheet2 col a to an empty cell in sheet 1

here's the formula i have tried and gotten an NA# error
=vlookup(b2,'sheet2,a2:b940,1,false) I have also changed false to true.
This formula i've gotten from the excel help file and doesn't work for
me.

Can someone please help??!

Thanks in advance,
Jeff

Signature

JPriest
------------------------------------------------------------------------
JPriest's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=24695
View this thread: http://www.excelforum.com/showthread.php?threadid=400874

JPriest - 31 Aug 2005 21:08 GMT
Stumped!!

I've tried everything you guys through at me and nothing works, I ge
the error!

I hope I have explained everything correctly, but I will rephrase.
in colb of sheet 1 I have urls that I need to update. I would like t
search through sheet2 colb (contains the corresponding urls) and inser
the hit count (located in col a of sheet 2) into a cell in sheet1.
The hits are sorted into an ascending order. I can re-order the list i
i need to.

I have tried all of the suggestions that all of you have given me to n
avail.

Any suggestions?
Jef
Domenic - 01 Sep 2005 00:02 GMT
Try...

Sheet1!C1, copied down:

=INDEX(Sheet2!$A$1:$A$100,MATCH(B1,Sheet2!$B$1:$B$100,0))

Adjust the range accordingly.

Hope this helps!

> Stumped!!
>
[quoted text clipped - 13 lines]
> Any suggestions?
> Jeff
 
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.