PC Review


Reply
Thread Tools Rate Thread

Data From A List

 
 
Steve
Guest
Posts: n/a
 
      20th Feb 2008
WHat I am trying to do is Type in a name of a Client in a cell and have the
adjacent cell automatically enter a specific client number....

For example.... if on cell A2 I type in "Smith" I want A3 to read "100".

I have a list of names and client numbers..... I have tried LookUp... but to
no avail.

Any help?

Thanks
 
Reply With Quote
 
 
 
 
Tyro
Guest
Posts: n/a
 
      20th Feb 2008
Well, you need to show us your formula, for starters.

Tyro

"Steve" <(E-Mail Removed)> wrote in message
news:E977F61D-B06C-4E81-9D1F-(E-Mail Removed)...
> WHat I am trying to do is Type in a name of a Client in a cell and have
> the
> adjacent cell automatically enter a specific client number....
>
> For example.... if on cell A2 I type in "Smith" I want A3 to read "100".
>
> I have a list of names and client numbers..... I have tried LookUp... but
> to
> no avail.
>
> Any help?
>
> Thanks



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      21st Feb 2008
Use VLOOKUP.

Pete

On Feb 20, 11:33*pm, "Tyro" <T...@hotmail.com> wrote:
> Well, you need to show us your formula, for starters.
>
> Tyro
>
> "Steve" <St...@discussions.microsoft.com> wrote in message
>
> news:E977F61D-B06C-4E81-9D1F-(E-Mail Removed)...
>
>
>
> > WHat I am trying to do is Type in a name of a Client in a cell and have
> > the
> > adjacent cell automatically enter a specific client number....

>
> > For example.... if on cell A2 I type in "Smith" I want A3 to read "100".

>
> > I have a list of names and client numbers..... I have tried LookUp... but
> > to
> > no avail.

>
> > Any help?

>
> > Thanks- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      21st Feb 2008
I have used If(A1="Joe",100,if(A1="Bob",101)) BUT that only works for 7 or 8
entries...... I have 30 Plus so I need the equivalent function on a grander
scale.

Thanks for any input.

"Tyro" wrote:

> Well, you need to show us your formula, for starters.
>
> Tyro
>
> "Steve" <(E-Mail Removed)> wrote in message
> news:E977F61D-B06C-4E81-9D1F-(E-Mail Removed)...
> > WHat I am trying to do is Type in a name of a Client in a cell and have
> > the
> > adjacent cell automatically enter a specific client number....
> >
> > For example.... if on cell A2 I type in "Smith" I want A3 to read "100".
> >
> > I have a list of names and client numbers..... I have tried LookUp... but
> > to
> > no avail.
> >
> > Any help?
> >
> > Thanks

>
>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      21st Feb 2008
You need a couple of things for a VLOOKUP formula.

A table with the values and a cell with the value to lookup.

On Sheet2 in A1 you have a title Client Name then a list of names below that to
A100........in B1 you have a title Client Number and a list of numbers to B100

In Sheet1B1 enter this formula =VLOOKUP(A1,Sheet2!$A$2:$B$100,2,FALSE)

Enter a name in A1 and see the number come to B1

If not too many names perhaps look at creating a Data Validation dropdown
selection list for the names.


Gord Dibben MS Excel MVP

On Wed, 20 Feb 2008 15:25:01 -0800, Steve <(E-Mail Removed)>
wrote:

>WHat I am trying to do is Type in a name of a Client in a cell and have the
>adjacent cell automatically enter a specific client number....
>
>For example.... if on cell A2 I type in "Smith" I want A3 to read "100".
>
>I have a list of names and client numbers..... I have tried LookUp... but to
>no avail.
>
>Any help?
>
>Thanks


 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      21st Feb 2008
Thanks Gord!!

"Gord Dibben" wrote:

> You need a couple of things for a VLOOKUP formula.
>
> A table with the values and a cell with the value to lookup.
>
> On Sheet2 in A1 you have a title Client Name then a list of names below that to
> A100........in B1 you have a title Client Number and a list of numbers to B100
>
> In Sheet1B1 enter this formula =VLOOKUP(A1,Sheet2!$A$2:$B$100,2,FALSE)
>
> Enter a name in A1 and see the number come to B1
>
> If not too many names perhaps look at creating a Data Validation dropdown
> selection list for the names.
>
>
> Gord Dibben MS Excel MVP
>
> On Wed, 20 Feb 2008 15:25:01 -0800, Steve <(E-Mail Removed)>
> wrote:
>
> >WHat I am trying to do is Type in a name of a Client in a cell and have the
> >adjacent cell automatically enter a specific client number....
> >
> >For example.... if on cell A2 I type in "Smith" I want A3 to read "100".
> >
> >I have a list of names and client numbers..... I have tried LookUp... but to
> >no avail.
> >
> >Any help?
> >
> >Thanks

>
>

 
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
Use VBA to reset data validation (=list) value to first value in that list (list is a named range) ker_01 Microsoft Excel Programming 7 27th Oct 2008 03:13 PM
data validation list: how do i 'force' a user to enter data from the list? showsomeidnow Microsoft Excel Misc 4 1st May 2007 05:49 PM
data validation list: how do i 'force' a user to enter data from the list? showsomeidnow Microsoft Excel Misc 2 29th Apr 2007 11:09 PM
converting vertical data list to horizontal data list =?Utf-8?B?dGpi?= Microsoft Excel Worksheet Functions 2 15th Jul 2006 02:17 AM
Excel Data List - why does it delete the data below the list? ryanlillywhite Microsoft Excel Misc 1 14th Jun 2004 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 AM.