Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data Validation/Macro Problem

Hi there,

In A2:A100 I have used data validation to insert drop downs of th
names of consultants. Is it possible to set up a macro so that when
consultant's name is selcted in column A, the same consultant's typ
will automatically selected in column B i.e. if Andrew is selected i
A2, New Business Consultant is automatically selected in B2 and s
forth??

Many thanks

And

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Data Validation/Macro Problem

Instead of a macro, set up a table, perhaps in another sheet:


A B
1 Andrew New Business Consultant
2 Lloyd Old Business Consultant
3 Harry Old Consultant
....

Then in your sheet with validation, use

B2: =IF(A2="","",VLOOKUP(A2,Sheet2!A:B,2,FALSE))





In article ,
andyp161 wrote:

Hi there,

In A2:A100 I have used data validation to insert drop downs of the
names of consultants. Is it possible to set up a macro so that when a
consultant's name is selcted in column A, the same consultant's type
will automatically selected in column B i.e. if Andrew is selected in
A2, New Business Consultant is automatically selected in B2 and so
forth??

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro Excel problem link cells with Data-Validation option [email protected] Excel Discussion (Misc queries) 3 March 26th 08 09:20 AM
Data Validation problem EdMac Excel Discussion (Misc queries) 0 August 21st 06 09:28 AM
Data validation problem xami Excel Worksheet Functions 2 March 6th 06 10:12 AM
data validation problem neowok[_61_] Excel Programming 2 May 5th 04 04:03 PM
Macro to delete record and validation problem Bob[_40_] Excel Programming 5 December 9th 03 01:35 PM


All times are GMT +1. The time now is 07:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Đ2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"