Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JBS JBS is offline
external usenet poster
 
Posts: 11
Default Vlookup and ranges

I have a list of bank branch codes
Worksheet one
Lower bound Upper Bound Name
0 6611600 Bank A
6611601 7000000 Bank B
7000001 750699 Bank C

I have a list of bank details per employee
Emp No Bank Branch code
001 0045000
002 6611609
003 750601

How do I use the employee's bank branch code to return the bank name from
the other worksheet?

Thanks
JBS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Vlookup and ranges

JBS,

With code in cell B2,

=VLOOKUP($B2,'Sheet with Bank Names'!$A$2:$C$XXXX,3)

where XXXX is the row of the las entry in your data table.
Assumes that the data table is sorted by lower bound, with lower bound in column A and Bank ID in
column C.

HTH,
Bernie
MS Excel MVP


"JBS" wrote in message
...
I have a list of bank branch codes
Worksheet one
Lower bound Upper Bound Name
0 6611600 Bank A
6611601 7000000 Bank B
7000001 750699 Bank C

I have a list of bank details per employee
Emp No Bank Branch code
001 0045000
002 6611609
003 750601

How do I use the employee's bank branch code to return the bank name from
the other worksheet?

Thanks
JBS



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 WITH RANGES LOTLITA64 Excel Worksheet Functions 3 January 25th 08 09:07 PM
vlookup for 4 different ranges hitesh Excel Discussion (Misc queries) 1 November 12th 07 04:41 PM
vlookup for different ranges hitesh Excel Discussion (Misc queries) 4 September 21st 07 09:16 AM
VLOOKUP & TWO DIFFERENT RANGES SSJ New Users to Excel 5 September 8th 07 01:12 PM
vlookup ranges steve alcock Links and Linking in Excel 3 May 3rd 05 02:57 PM


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