Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PrincessM
 
Posts: n/a
Default Please Help me with VLOOKUP function

i have a master data like this.
A B C D
E
Customer Bank Bank A/C No. Branch Address

and on the second sheet, i would like to just enter the Bank a/c on the first
col, and the details will come out.

Please help me on how to do that. I understand that i need to have the same
coloumn name and stuffs like that, right?

Thanks in advance.

Regards,
Merlina
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default Please Help me with VLOOKUP function

In this case the limitation may be in the layout, not on the column names.
The VLOOKUP formula looks at a column and return other columns on the right
of it, so in your case you will only be able to retrieve "Branch" and
"Address" with the formula.
With the example, if you have 100 rows of data, and the A/C to look is on
cell F1, you can use VLOOKUP this way:
Branch: =VLOOKUP(F1,$C$2:$E$100,2,FALSE)
Address: =VLOOKUP(F1,$C$2:$E$100,3,FALSE)
If you can move the A/C column to the column A you can retrieve all the
information, changing the range to $A100:$E100 third parameter to the column
desired (2 for column B, 3 for column C and so on)

Hope this helps,
Miguel.

"PrincessM" wrote:

i have a master data like this.
A B C D
E
Customer Bank Bank A/C No. Branch Address

and on the second sheet, i would like to just enter the Bank a/c on the first
col, and the details will come out.

Please help me on how to do that. I understand that i need to have the same
coloumn name and stuffs like that, right?

Thanks in advance.

Regards,
Merlina

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Larry S
 
Posts: n/a
Default Please Help me with VLOOKUP function

Vlookup would require the "key" or lookup value to be on the left side of
the table/array (left most column), in your case, the Account #. Look to use
the LOOKUP function.

"PrincessM" <u22004@uwe wrote in message news:60722cbe825c2@uwe...
i have a master data like this.
A B C D
E
Customer Bank Bank A/C No. Branch Address

and on the second sheet, i would like to just enter the Bank a/c on the
first
col, and the details will come out.

Please help me on how to do that. I understand that i need to have the
same
coloumn name and stuffs like that, right?

Thanks in advance.

Regards,
Merlina



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default Please Help me with VLOOKUP function

Assuming layout was changed (as per suggesting in previous posting)

Bank A/C No. Bank Customer Branch Address

Then:

in B2 of second sheet put:

=VLOOKUP($A2,Sheet1!$A$2:$E$20,COLUMN(),FALSE)

Copy across to column E.

Change range $A$2:$E$20 to suit your requirements.

To allow for errors and to copy down as required use:

=IF(ISERROR(VLOOKUP($A2,Sheet1!$A$2:$E$20,COLUMN() ,FALSE)),"",VLOOKUP($A2,Sheet1!$A$2:$E$20,COLUMN() ,FALSE))

This will leave cells blank until A/C no. is entered

HTH

"PrincessM" wrote:

i have a master data like this.
A B C D
E
Customer Bank Bank A/C No. Branch Address

and on the second sheet, i would like to just enter the Bank a/c on the first
col, and the details will come out.

Please help me on how to do that. I understand that i need to have the same
coloumn name and stuffs like that, right?

Thanks in advance.

Regards,
Merlina

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Please Help me with VLOOKUP function

INDEX and MATCH will perform the same function as a VLOOKUP, with the
advantage that the search column does not have to be on the extreme
left of the table.

Hope this helps.

Pete

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 worksheet function Antonis1234 Excel Worksheet Functions 3 November 6th 05 02:47 PM
Vlookup with function in table_array JoshuaEyer Excel Worksheet Functions 2 October 15th 05 03:49 PM
format cell based on results of vlookup function Edith F Excel Worksheet Functions 1 July 21st 05 07:39 PM
Vlookup w/Date Function cym Excel Worksheet Functions 1 March 25th 05 08:21 PM
Regarding IF function or vLOOKUP function wuwu Excel Worksheet Functions 2 November 13th 04 01:38 PM


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