Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
lcks via OfficeKB.com
 
Posts: n/a
Default Trouble with vLookup

Not sure if I am using the right formula however this is what I want to
achieve.

On "Main" spreadsheet I have a long list of Names in column (B:B) - not in
assending order and a separate workbook i will call "Data" with similiar
names however this list is shorter and does not all included the names in
the MAIN spreadsheet - this sheet I have in alphabetical order.

vlookup(B:B,C3:F30,4,false) - this didn't work - vlookup(B:B,C3:F30,4) -this
worked when B:B was smaller then the array and with both in assending.

I want to look up the name in column B "main spreadsheet" I can reference to
a single cell if need to, I want to go and search in my "Data" workbook array
B3:E30 the name is in the "B" once find the match, I want to return the value
in the 4 column in the array on my Main spreadsheet and if the name is not
found than enter "0" in my "Main" spreadsheet.

Thank you

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200606/1
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Roger Govier
 
Posts: n/a
Default Trouble with vLookup

Hi

Try
In workbook Data
=IF(ISERROR(VLOOKUP(B1,[Main.xls]Sheet1!$B$3:$E$30,4,0)),0,
VLOOKUP(B1,[Main.xls]Sheet1!$B$3:$E$30,4,0))
copy down as far as required

This assumes you do have a separate workbook called Main.xls and that
your data is on sheet - change accordingly.
If they are not separate workbooks, but separate sheets in the same
workbook, then change
[Main.xls]Sheet1!$B$3:$E$30 to Main!$B$3:$E$30

--
Regards

Roger Govier


"lcks via OfficeKB.com" <u22747@uwe wrote in message
news:61667fa08b643@uwe...
Not sure if I am using the right formula however this is what I want
to
achieve.

On "Main" spreadsheet I have a long list of Names in column (B:B) -
not in
assending order and a separate workbook i will call "Data" with
similiar
names however this list is shorter and does not all included the
names in
the MAIN spreadsheet - this sheet I have in alphabetical order.

vlookup(B:B,C3:F30,4,false) - this didn't work -
vlookup(B:B,C3:F30,4) -this
worked when B:B was smaller then the array and with both in
assending.

I want to look up the name in column B "main spreadsheet" I can
reference to
a single cell if need to, I want to go and search in my "Data"
workbook array
B3:E30 the name is in the "B" once find the match, I want to return
the value
in the 4 column in the array on my Main spreadsheet and if the name is
not
found than enter "0" in my "Main" spreadsheet.

Thank you

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200606/1



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 Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Trouble with a VLOOKUP formula WhytheQ Excel Worksheet Functions 9 March 14th 06 02:27 AM
Having trouble with vlookup and match ADiscrete1 Excel Worksheet Functions 8 November 17th 05 02:09 AM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
VLOOKUP trouble .. HELP! Dylan Moran Excel Worksheet Functions 2 December 7th 04 07:25 AM


All times are GMT +1. The time now is 11:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"