#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default using vlookup

I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.

thanks in advance

PD

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default using vlookup

Are the first and last names in separate cells on both sheets?

Sheet1
A1 = John
B1 = Smith

Sheet2
Column A = first names
Column B = last names
Column C = user names

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))

Or, normally entered (not an array):

=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)

Biff

"Rick" wrote in message
ups.com...
I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.

thanks in advance

PD



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default using vlookup

On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?

Sheet1
A1 = John
B1 = Smith

Sheet2
Column A = first names
Column B = last names
Column C = user names

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))

Or, normally entered (not an array):

=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)

Biff

"Rick" wrote in message

ups.com...



I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


yes they are in seperate columns, I've did this before years ago and
forgot that array function part. thanks I'll give it a shot.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default using vlookup

On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?

Sheet1
A1 = John
B1 = Smith

Sheet2
Column A = first names
Column B = last names
Column C = user names

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))

Or, normally entered (not an array):

=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)

Biff

"Rick" wrote in message

ups.com...



I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


Biff, I get N/A when I try your calculation , the result I'm looking
for is to populate the username in sheet1 i.e.column C
with the username from sheet 2 based on matching sheet 2 and sheet 1
firstname and lastname columns.

thanks again
Rick

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default using vlookup

Which formula did you use?

The INDEX formula needs to be entered as an array formula. That is, type the
formula, then, instead of hitting ENTER like you normally would you need to
use the key combination of CTRL,SHIFT,ENTER. Hold down both the CTRL key and
the SHIFT key then hit ENTER. When done properly Excel will enclose the
formula in squiggly brackets { }. You *can't* just type these brackets in.
You must use the key combination to produce them. Also, if you ever edit an
array formula it must be re-entered using the key combo.

The LOOKUP formula is not an array formula and can be entered normally by
just hitting ENTER.

Biff

"Rick" wrote in message
oups.com...
On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?

Sheet1
A1 = John
B1 = Smith

Sheet2
Column A = first names
Column B = last names
Column C = user names

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):

=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))

Or, normally entered (not an array):

=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)

Biff

"Rick" wrote in message

ups.com...



I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


Biff, I get N/A when I try your calculation , the result I'm looking
for is to populate the username in sheet1 i.e.column C
with the username from sheet 2 based on matching sheet 2 and sheet 1
firstname and lastname columns.

thanks again
Rick





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default using vlookup

On Mar 15, 2:46 am, "T. Valko" wrote:
Which formula did you use?

The INDEX formula needs to be entered as an array formula. That is, type the
formula, then, instead of hitting ENTER like you normally would you need to
use the key combination of CTRL,SHIFT,ENTER. Hold down both the CTRL key and
the SHIFT key then hit ENTER. When done properly Excel will enclose the
formula in squiggly brackets { }. You *can't* just type these brackets in.
You must use the key combination to produce them. Also, if you ever edit an
array formula it must be re-entered using the key combo.

The LOOKUP formula is not an array formula and can be entered normally by
just hitting ENTER.

Biff

"Rick" wrote in message

oups.com...



On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?


Sheet1
A1 = John
B1 = Smith


Sheet2
Column A = first names
Column B = last names
Column C = user names


Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):


=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))


Or, normally entered (not an array):


=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)


Biff


"Rick" wrote in message


roups.com...


I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


Biff, I get N/A when I try your calculation , the result I'm looking
for is to populate the username in sheet1 i.e.column C
with the username from sheet 2 based on matching sheet 2 and sheet 1
firstname and lastname columns.


thanks again
Rick- Hide quoted text -


- Show quoted text -


sorry, I was using the index and after I entered the formula I had to
do the CTRL,SHIFT,ENTER , that populated the field with the user name.
I tried copying that cell down the column, but it copies the result,
not the formula. also, is this formula actually matching the first and
last names from both sheets?

thanks again
Rick

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default using vlookup

On Mar 15, 2:46 am, "T. Valko" wrote:
Which formula did you use?

The INDEX formula needs to be entered as an array formula. That is, type the
formula, then, instead of hitting ENTER like you normally would you need to
use the key combination of CTRL,SHIFT,ENTER. Hold down both the CTRL key and
the SHIFT key then hit ENTER. When done properly Excel will enclose the
formula in squiggly brackets { }. You *can't* just type these brackets in.
You must use the key combination to produce them. Also, if you ever edit an
array formula it must be re-entered using the key combo.

The LOOKUP formula is not an array formula and can be entered normally by
just hitting ENTER.

Biff

"Rick" wrote in message

oups.com...



On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?


Sheet1
A1 = John
B1 = Smith


Sheet2
Column A = first names
Column B = last names
Column C = user names


Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):


=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))


Or, normally entered (not an array):


=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)


Biff


"Rick" wrote in message


roups.com...


I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


Biff, I get N/A when I try your calculation , the result I'm looking
for is to populate the username in sheet1 i.e.column C
with the username from sheet 2 based on matching sheet 2 and sheet 1
firstname and lastname columns.


thanks again
Rick- Hide quoted text -


- Show quoted text -


figured it all out, thanks for all the help
Rick

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default using vlookup

Glad you got it working. Thanks for the feedback!

Biff

"Rick" wrote in message
ups.com...
On Mar 15, 2:46 am, "T. Valko" wrote:
Which formula did you use?

The INDEX formula needs to be entered as an array formula. That is, type
the
formula, then, instead of hitting ENTER like you normally would you need
to
use the key combination of CTRL,SHIFT,ENTER. Hold down both the CTRL key
and
the SHIFT key then hit ENTER. When done properly Excel will enclose the
formula in squiggly brackets { }. You *can't* just type these brackets
in.
You must use the key combination to produce them. Also, if you ever edit
an
array formula it must be re-entered using the key combo.

The LOOKUP formula is not an array formula and can be entered normally by
just hitting ENTER.

Biff

"Rick" wrote in message

oups.com...



On Mar 14, 2:37 pm, "T. Valko" wrote:
Are the first and last names in separate cells on both sheets?


Sheet1
A1 = John
B1 = Smith


Sheet2
Column A = first names
Column B = last names
Column C = user names


Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):


=INDEX(Sheet2!C1:C10,MATCH(1,(Sheet2!A1:A10=A1)*(S heet2!B1:B10=B1),0))


Or, normally entered (not an array):


=LOOKUP(2,1/(Sheet2!A1:A10=A1)*(Sheet2!B1:B10=B1),Sheet2!C1:C1 0)


Biff


"Rick" wrote in message


roups.com...


I have one worksheet with user fist name and last name. I have a
second sheet with users first name and last name and username . I
want
to match up the second sheets user name with the first sheets first
\last name and insert it to a new column in the first worksheet i
was
trying to use vlookup but could not get it to work. is there another
function to do this. all the date are strings no numbers.


thanks in advance


PD- Hide quoted text -


- Show quoted text -


Biff, I get N/A when I try your calculation , the result I'm looking
for is to populate the username in sheet1 i.e.column C
with the username from sheet 2 based on matching sheet 2 and sheet 1
firstname and lastname columns.


thanks again
Rick- Hide quoted text -


- Show quoted text -


figured it all out, thanks for all the help
Rick



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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 11:20 AM.

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"