Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

Vlookup Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Willco - 16 Aug 2006 14:10 GMT
I have a calendar that uses Vlookup functions to look up a persons DOB
or other date from a list and displays the persons name if their DOB or
other date coincides with the calendar date. I can't figure out how to
display more than one person in the same cell (merged cells) if they
have the same DOB or other date. I would really appreciate any help.

01/01/2006 08/05/2006  BEN
01/01/2006  08/05/2006 SAM
01/01/2006  08/05/2006 JAMES

The function will only display the person that it finds first (BEN).

Here is the formula im using

=IF(ISNA(VLOOKUP(B5,List1,3,FALSE)=TRUE),IF(ISNA(VLOOKUP(B5,list2,2,FALSE)=TRUE),"
",VLOOKUP(B5,list2,2,FALSE)),VLOOKUP(B5,List1,3,FALSE))

Signature

Willco

Marcelo - 16 Aug 2006 14:25 GMT
Hi Willco,

May a Pivot table could help you a lot
hth
Signature

regards from Brazil
Thanks in advance for your feedback.
Marcelo

> I have a calendar that uses Vlookup functions to look up a persons DOB
> or other date from a list and displays the persons name if their DOB or
[quoted text clipped - 12 lines]
> =IF(ISNA(VLOOKUP(B5,List1,3,FALSE)=TRUE),IF(ISNA(VLOOKUP(B5,list2,2,FALSE)=TRUE),"
> ",VLOOKUP(B5,list2,2,FALSE)),VLOOKUP(B5,List1,3,FALSE))
David McRitchie - 18 Aug 2006 20:25 GMT
You could use a filter instead,  start with "AutoFilter",  see
  http://www.contextures.com/tiptech.html
  http://www.datapigtechnologies.com/ExcelMain.htm
in order to use auto filer you would want to create helper columns
assuming that the date of birth is in A2
   F2:   =MONTH(A2)
   G2:  =DAY(A2)
Row 1 must have titles for the columns (column headers)
Data, Filter, Auto Filter
click on arrow on F1 and choose 8
click on arrow on G1 and chhose 5
you now have a filtered list.   Note use blue on arrows denoting filtered.

To eliminate filtered results, to do a different filter
   Data,  Filter,  Show All
Disqusted with filtering, don't need to restore the file, simply
   Data,  Filter,   uncheck  Autofilter
---
HTH,
David McRitchie, Microsoft MVP - Excel    [site changed  Nov. 2001]
My Excel Pages:  http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:        http://www.mvps.org/dmcritchie/excel/search.htm

> I have a calendar that uses Vlookup functions to look up a persons DOB
> or other date from a list and displays the persons name if their DOB or
[quoted text clipped - 12 lines]
> =IF(ISNA(VLOOKUP(B5,List1,3,FALSE)=TRUE),IF(ISNA(VLOOKUP(B5,list2,2,FALSE)=TRUE),"
> ",VLOOKUP(B5,list2,2,FALSE)),VLOOKUP(B5,List1,3,FALSE))
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.