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 / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Macro to add name on a cell based on the data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CAM - 25 Feb 2008 02:14 GMT
Hello,

I am using Excel 2003 and I need help to do a macro.  I copy and paste data
into a worksheet call "Table"    In the worksheet I want to put a specialist
name in the column called "Specialist"  beside a column called "STATE"  the
specialist name will be based on what the state is.  For example

If the state contains "CA"  I want the specialist name to be "Anna"
or the state of "OR" I again want the specialist name to be "Anna"

Now if we get a different state  "UT"  I want the specialist name to be
"Cindy"

The table may have 3,000 records for one month or maybe 4,000 another month.
Table size can vary.  How do I code it.  Any tips or website to visit will
be appreciated.  Thank you in advance.

Cheers
Gary''s Student - 25 Feb 2008 10:40 GMT
Use =VLOOKUP().  This function is well documented in Excel Help and can
return the analyst fro each state from a small table.
Signature

Gary''s Student - gsnu2007d

> Hello,
>
[quoted text clipped - 14 lines]
>
> Cheers
CAM - 25 Feb 2008 16:41 GMT
Thanks

> Use =VLOOKUP().  This function is well documented in Excel Help and can
> return the analyst fro each state from a small table.
[quoted text clipped - 22 lines]
>>
>> Cheers
 
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.