#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Client number to

I am creating a spreadsheet that uses our 7 digit client number to track who
the client actually belongs to depending on the first 2 digits of the number.
For example, the number could be 10-50000 where the 10 designates that it is
Jane's client or 12-50000 in which the 12 designates that it is Mary's
client. I'd like to be able to only enter the client # in one cell, then
have the name auto fill in the next cell. Any tips on a formula that will
get that done for me? Thanks!
Mellissa
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Client number to

You can achieve this by using VLOOKUP

Create the list of names. Assume that ColA contains the number and B the name
ColA ColB
10 Jane
12 Mary

Now try
D1 = 12
E1 Enter formula
=VLOOKUP(D1,A:B,2,FALSE)

If this post helps click Yes
---------------
Jacob Skaria


"MellissaD" wrote:

I am creating a spreadsheet that uses our 7 digit client number to track who
the client actually belongs to depending on the first 2 digits of the number.
For example, the number could be 10-50000 where the 10 designates that it is
Jane's client or 12-50000 in which the 12 designates that it is Mary's
client. I'd like to be able to only enter the client # in one cell, then
have the name auto fill in the next cell. Any tips on a formula that will
get that done for me? Thanks!
Mellissa

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Client number to

MellissaD wrote:
I am creating a spreadsheet that uses our 7 digit client number to track who
the client actually belongs to depending on the first 2 digits of the number.
For example, the number could be 10-50000 where the 10 designates that it is
Jane's client or 12-50000 in which the 12 designates that it is Mary's
client. I'd like to be able to only enter the client # in one cell, then
have the name auto fill in the next cell. Any tips on a formula that will
get that done for me? Thanks!
Mellissa



You could use INDEX MATCH

In this example the Client Owner is entered in E2 and Client Number in F2

12-1000 AB 13 1000 CD
13-1000 CD
12-1001 EF
13-1001 GH




=INDEX($D$2:$D$5,MATCH(E2&"-"&F2,$C$2:$C$5,FALSE))

<
edvwvw

--
Message posted via http://www.officekb.com

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Client number to

Thank you. It works if I enter the client number in two seperate rows. One
cell for the "10" or incharge and one cell for the remaining 5 digits rather
than entering the whole number like this 10-50000. This is definitely
useable but is it possible to do it all with one?

"Jacob Skaria" wrote:

You can achieve this by using VLOOKUP

Create the list of names. Assume that ColA contains the number and B the name
ColA ColB
10 Jane
12 Mary

Now try
D1 = 12
E1 Enter formula
=VLOOKUP(D1,A:B,2,FALSE)

If this post helps click Yes
---------------
Jacob Skaria


"MellissaD" wrote:

I am creating a spreadsheet that uses our 7 digit client number to track who
the client actually belongs to depending on the first 2 digits of the number.
For example, the number could be 10-50000 where the 10 designates that it is
Jane's client or 12-50000 in which the 12 designates that it is Mary's
client. I'd like to be able to only enter the client # in one cell, then
have the name auto fill in the next cell. Any tips on a formula that will
get that done for me? Thanks!
Mellissa

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
Discount to Client mda19652 Excel Discussion (Misc queries) 1 June 5th 07 07:47 AM
Each client to be identified into segment Mat Excel Discussion (Misc queries) 2 March 15th 07 03:59 PM
Too many client tasks? rml Excel Discussion (Misc queries) 0 July 19th 06 05:41 PM
Report to client - how to do? Braza Excel Discussion (Misc queries) 2 June 28th 06 02:56 PM
Client to Server southpaw3229 Excel Discussion (Misc queries) 0 December 1st 05 03:12 PM


All times are GMT +1. The time now is 01:19 PM.

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

About Us

"It's about Microsoft Excel"