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.

look for multiple entries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DC - 24 Aug 2006 19:29 GMT
Hi: I have a worksheet with these columns:

D = first name
E= last name
F = sandwich order
G= date
There are many duplicate D and E entries: that person may have come in many
times, and ordered many different sandwiches.

I've pasted my entire customer list into A, B, and C:
A= customer number
B= first name
C=last name

There are both duplicates and non-matches: many customers haven't been in,
or ever ordered a sandwich.

How do I attach the correct customer number to the D/E record? In other
words, i need it to read through columns, A, B, and C, match the names to D
and E, and then enter the customer number from A into some new column, H, so
I can delete A, B, and C, and have my info with correct customer numbers.  If
they were the same line, I'd certainly know how to carry over if names were
equal, but the fact that the match may be on any line confuses me.

Seems like this should be easy. Help?
Thanks.
Toppers - 24 Aug 2006 20:35 GMT
in column H:

=INDEX(Sheet2!$C$2:$C$1000,MATCH(1,(Sheet1!$D2=Sheet2!$A$2:$A$1000)*(Sheet1!$E2=Sheet2!$B$2:$B$1000),0))

Enter with Ctrl+Shift+Enter and copy down as required.

Sheet2 contains your A,B and C columns, starting row 2

Change ranges to your requirements.

HTH

> Hi: I have a worksheet with these columns:
>
[quoted text clipped - 22 lines]
> Seems like this should be easy. Help?
> Thanks.
DC - 24 Aug 2006 20:54 GMT
Awesome. I got it to work for  the first row. How do i get it in the rest.
"Fill" and "copy/paste" don't seemt o work.

Thanks!

>  in column H:
>
[quoted text clipped - 34 lines]
> > Seems like this should be easy. Help?
> > Thanks.
Toppers - 24 Aug 2006 21:00 GMT
Select cell in first row, place cursor on black square on bottom right (wiil
change to cross) and drag down as far as required.

> Awesome. I got it to work for  the first row. How do i get it in the rest.
> "Fill" and "copy/paste" don't seemt o work.
[quoted text clipped - 39 lines]
> > > Seems like this should be easy. Help?
> > > Thanks.
DC - 25 Aug 2006 15:05 GMT
Yay! It worked!  Thank you!

> Select cell in first row, place cursor on black square on bottom right (wiil
> change to cross) and drag down as far as required.
[quoted text clipped - 42 lines]
> > > > Seems like this should be easy. Help?
> > > > Thanks.
 
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.