Excel: Conditional Cell Input Based on Entered Data

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

dh134023

Thread Starter
Joined
Jun 21, 2007
Messages
3
I would like to know a method to solve an otherwise repetative task in Excel for me.

In my Excel spreadsheet, I have many columns relating to customer orders etc. Each customer (finite number (~40)) has its name (customer1, and customer2 etc) input to a cell, I then must fill out the customer account number (ac001, ac002 etc). The customer name and number already exist on another sheet.

How can I automate the process of when I input the customer name, excel then fills in the customer number in the next cell?

Many thanks
Dave
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Depending on how your Customer data is arranged, look at either Dlookup or Vlookup.
But Access is better for Customer databases. ;)
 

Keebellah

Trusted Advisor
Joined
Mar 27, 2008
Messages
6,611
First Name
Hans
Hi Dave,
You may have to write some VBA code and have it active under your right mouse button.
Like OBP said DLoopup and VLookup can be used too. I personally prefer VBA code that writes data to a particular cell thus avoiding erasures 'by mistake' by a user.
Hans
 
Joined
Jul 20, 2007
Messages
4,193
First Name
Jim
Typically after doing a vlookup or hlookup I will copy and paste special as values afterwards to alleviate the messing up a formula Keebelah. ;)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top