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 / March 2008

Tip: Looking for answers? Try searching our database.

Embedded vlookup?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PeteJ - 12 Mar 2008 17:19 GMT
I have a worksheet of data that is auto-generated and can't be modified. It
has names of accounts, along with contact types and contact names.

Acct1      Sales       Fred
Acct1      Support    Ralph
Acct1      Other       Sam
Acct2      Sales        Tim
etc..

I want to do a vlookup into that spreadsheet, knowing the account name and
contact type, and return the contact name. I can't seem to figure out how to
do an embedded vlookup to do this. Any suggestions? Based on other threads in
this forum, I've thought of using an "IF" statement, but there can be and
unlimited number of contact types, so I would not know how many times to
recurse the "IF". There was also the thought of adding a column to the table
data, concatenating the two fields, but I can't modify the spreadsheet.

Any other ideas?

Thanks,

- Pete
Pete_UK - 12 Mar 2008 17:38 GMT
You might not want to amend the original file, but can't you open it
and then do File | Save As and give it a different name? That way you
are working on a copy of it, so any amendments you do will not affect
the original. If you insert a new column C and concatenate columns A
and B together with:

=A1&B1

copied down, then you can perform your lookup on column C.

Hope this helps.

Pete

> I have a worksheet of data that is auto-generated and can't be modified. It
> has names of accounts, along with contact types and contact names.
[quoted text clipped - 18 lines]
>
> - Pete
 
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.