#1   Report Post  
Posted to microsoft.public.excel.misc
Darts via OfficeKB.com
 
Posts: n/a
Default Vlookup

When using the vlookup I can get it to work. this is the formula I have.

=VLOOKUP(C3,'Family - Pay Cycle'!$B$2:$E$20,4

C3= Last Name
'Family - Pay Cycle'!$B$2:$E$20,4=My look up table.

Now the last name can represent 3 different familys. How can program so if
the last name has three different familys i can also pick up the First name.
To make sure I capture the correct family

ps(D3=First Name)

thanks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default Vlookup

so you search by the surname which is column 1 so that means the first name
must be column 2,try =VLOOKUP(C3,'Family - Pay
Cycle'!$B$2:$E$20,4,false)&"-"&VLOOKUP(C3,'Family - Pay
Cycle'!$B$2:$E$20,2,False).In your return cell you will have whatever the
value in column 4 with the first name,seperated by a -
--
paul
remove nospam for email addy!



"Darts via OfficeKB.com" wrote:

When using the vlookup I can get it to work. this is the formula I have.

=VLOOKUP(C3,'Family - Pay Cycle'!$B$2:$E$20,4

C3= Last Name
'Family - Pay Cycle'!$B$2:$E$20,4=My look up table.

Now the last name can represent 3 different familys. How can program so if
the last name has three different familys i can also pick up the First name.
To make sure I capture the correct family

ps(D3=First Name)

thanks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1

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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
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 06:11 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"