Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default formula on link and drop down list details

Hi everyone,

Let's say i have a spreadsheet with a column of:
NAME SURNAME PASSPORT NO.
kelly
cheryl

i then have another spreadsheet containing the details:

SURNAME PASSPORT NO.
lim 123456
liew 789123

i then create a drop down list from another spreadsheet consisting of
"kelly" & "cheryl", what ways can i do or link?? when i select on "kelly" and
on the first spreadsheet, the next column would appear the details itself-
lim (surname) 123456 (passport no.)

Hope to hear from you soon.
Thank you

Warmest Regards,
Kelly


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default formula on link and drop down list details

I think that you'd need a unique identifier in both sheets. And first names
usually aren't enough. (Last names may not be enough either--your list will
have to have no duplicates in that unique identifier field.)

But say you used the Lastname as the id.

Then you could use a formula like this to retrieve the values:

=if(a2="","",vlookup(a2,sheet2!a:c,2,false)
and
=if(a2="","",vlookup(a2,sheet2!a:c,3,false)

Excel will bring back the corresponding value in column B for the first match it
finds--that's why it has to be unique.

And you could use Data|Validation to choose that unique identifier.

See Debra Dalgleish's site for some nice notes:
http://contextures.com/xlDataVal01.html
and
http://contextures.com/xlFunctions02.html




Kelly Lim wrote:

Hi everyone,

Let's say i have a spreadsheet with a column of:
NAME SURNAME PASSPORT NO.
kelly
cheryl

i then have another spreadsheet containing the details:

SURNAME PASSPORT NO.
lim 123456
liew 789123

i then create a drop down list from another spreadsheet consisting of
"kelly" & "cheryl", what ways can i do or link?? when i select on "kelly" and
on the first spreadsheet, the next column would appear the details itself-
lim (surname) 123456 (passport no.)

Hope to hear from you soon.
Thank you

Warmest Regards,
Kelly


--

Dave Peterson
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
How do I link a drop down list to other worksheets Kelly Excel Worksheet Functions 1 October 23rd 06 01:40 PM
how do I link a drop down list entry to a new drop down cell? lmunzen Excel Discussion (Misc queries) 1 August 15th 06 04:59 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
link email to drop down list Mike L. Excel Discussion (Misc queries) 3 May 5th 05 10:50 PM
link to result from drop down list dcruickshank Links and Linking in Excel 1 January 20th 05 10:57 PM


All times are GMT +1. The time now is 09:58 AM.

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"