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 / December 2005

Tip: Looking for answers? Try searching our database.

Lookup (multiple variables)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stevenpwhite - 15 Dec 2005 14:43 GMT
I have two worksheets.  On one a name, date and amount (thousands of
records).  The other is a small sample containing just a name and date
which i require to match to records in the first sheet and return the
amount.

The are many duplicates of the name with various dates, so i need name
AND date to match for amount to be returned.

Help!  This is far beyond my puny Excell powers.

Signature

stevenpwhite

Vito - 15 Dec 2005 19:21 GMT
Insert a column before your lookup table and concatenate the name an
date columns.  ie. =X1&Y1, assuming your table, after the new colum
begins in X1.

Then use a vlookup formula with concatenated string.

e.g. =vlookup(A1&B1,$W$1:$Y$100,3,0), Where A1 contains the name t
lookup and B1 contains the corresponding date to lookup,  W1:Y100 i
the lookup table with column W containing the concatenated Name&Dat
columns.  Change references and ranges to match your situation.  The
copy down the formulas.

You can always hide column W
stevenpwhite - 16 Dec 2005 11:03 GMT
Top Drawer.

Cheers

Vito Wrote:
> Insert a column before your lookup table and concatenate the name and
> date columns.  ie. =X1&Y1, assuming your table, after the new column
[quoted text clipped - 17 lines]
> View this thread:
> http://www.excelforum.com/showthread.php?threadid=493887

Signature

stevenpwhite

 
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



©2009 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.