PC Review


Reply
Thread Tools Rate Thread

assign file numbers to names

 
 
NeSchw6G
Guest
Posts: n/a
 
      14th Dec 2007
There are about 500 managers, when I choose a manager's name from a drop down
(in a form) I want excel to insert the manager's file number in an adjacent
cell.

i.e. Joe Button - 1875
Sally Field - 1745
Carl Redding - 1590

 
Reply With Quote
 
 
 
 
Flick Olmsford
Guest
Posts: n/a
 
      14th Dec 2007
Try this:

Say you have the list feeding the drop down in A5:A7 and the manager file
numbers in B5:B7

In column D put the drop down list letting the users pick the manager
In column E, next to the managers name, put the following formula

=IF(ISBLANK(D5),"",VLOOKUP(D5,$A$5:$B$7,2,FALSE))

The ISBLANK function is used to prevent error indicators from appearing when
a cell in column D is empty

Perhaps add protection for the data in column E





"NeSchw6G" wrote:

> There are about 500 managers, when I choose a manager's name from a drop down
> (in a form) I want excel to insert the manager's file number in an adjacent
> cell.
>
> i.e. Joe Button - 1875
> Sally Field - 1745
> Carl Redding - 1590
>

 
Reply With Quote
 
NeSchw6G
Guest
Posts: n/a
 
      14th Dec 2007
It worked! Thank you!

"Flick Olmsford" wrote:

> Try this:
>
> Say you have the list feeding the drop down in A5:A7 and the manager file
> numbers in B5:B7
>
> In column D put the drop down list letting the users pick the manager
> In column E, next to the managers name, put the following formula
>
> =IF(ISBLANK(D5),"",VLOOKUP(D5,$A$5:$B$7,2,FALSE))
>
> The ISBLANK function is used to prevent error indicators from appearing when
> a cell in column D is empty
>
> Perhaps add protection for the data in column E
>
>
>
>
>
> "NeSchw6G" wrote:
>
> > There are about 500 managers, when I choose a manager's name from a drop down
> > (in a form) I want excel to insert the manager's file number in an adjacent
> > cell.
> >
> > i.e. Joe Button - 1875
> > Sally Field - 1745
> > Carl Redding - 1590
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
numbers mysteriously appended to mp3 file names brunetto Windows XP Music 2 22nd Jul 2008 09:12 PM
How to randomly assign numbers to names? =?Utf-8?B?RW1wcmVzcw==?= Microsoft Excel Misc 6 10th Sep 2006 10:27 AM
change my file names from numbers,letters to original one =?Utf-8?B?cHJvYmxlbSBpbiBmaWxlIG5hbWVz?= Microsoft Access Form Coding 1 17th Aug 2006 01:36 PM
HELP - File Names are being changed to numbers Nik Microsoft Excel Discussion 1 12th Jan 2006 02:26 PM
Numbers at the beginning of file names =?Utf-8?B?UGlwcGE=?= Windows XP Customization 2 3rd Aug 2004 04:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.