LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 519
Default Surname and First names formula

Hello from Steved ( I'm not thinking straight. )

=IF(ISNUMBER(MATCH(B4,Staff!$A$2:$C$2000,0)),VLOOK UP(B4,Staff!$A$2:$C$2000,2,0)&""&VLOOKUP(B4,Staff! $A$2:$C$2000,3,0),"")

I've a sheet Named Staff it has Employee No, Surname and First names.

On Sheet1 I have the above formula and employee No. in Col B.

My objective is to lookup in Staff the employee from the number ie 10022 in B4
Ok now look in Sheet named Staff find 10022 in column A and then copy the
Surname in Col B and The first Names in Col C to Sheet1

What Have I missed in the above formula please or in my state have I got it
completley wrong.

Thankyou.

 
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



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