Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I have a sheet named "lookUp" that has 3 columns
emp No Name Mobile No. 11111 Bruce, Jack lincoln 0404 126 561 and I have been given this:- =VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) Which takes the info from the "LookUp" sheet to another sheet and puts the name in to a cell. But a new "LookUp1" sheet is laid out as emp No Surname First Name Mobile No. 11111 Bruce Jack lincoln 0404 126 561 How can I change the Vlookup to now put both the Surname PLUS a comma and then the First name all into the 1 cell in the sheet seeing that the new LookUp1 nows seperates the surname(bruce) from the first names ?? So want enter 1111 get Bruce, Jack lincoln Mike |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]() Hi Mike, I think you should use the & symbol to add two bits of text. Try this: =VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE)&", "&VLOOKUP(F9,LookUp1!$A$2:$B$1504,3,FALSE) What this will do is lookup 1111 and return Bruce from the 2nd column, then it will add ", " and then it will add Jack Lincoln from coloumn 3, so the result is Bruce, Jack Lincoln. Clive MikeR-Oz Wrote: I have a sheet named "lookUp" that has 3 columns emp No Name Mobile No. 11111 Bruce, Jack lincoln 0404 126 561 and I have been given this:- =VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) Which takes the info from the "LookUp" sheet to another sheet and puts the name in to a cell. But a new "LookUp1" sheet is laid out as emp No Surname First Name Mobile No. 11111 Bruce Jack lincoln 0404 126 561 How can I change the Vlookup to now put both the Surname PLUS a comma and then the First name all into the 1 cell in the sheet seeing that the new LookUp1 nows seperates the surname(bruce) from the first names ?? So want enter 1111 get Bruce, Jack lincoln Mike -- Clivey_UK ------------------------------------------------------------------------ Clivey_UK's Profile: http://www.excelforum.com/member.php...o&userid=32569 View this thread: http://www.excelforum.com/showthread...hreadid=525139 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using single cell reference as table array argument in Vlookup | Excel Worksheet Functions | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |