1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel: Conditional Cell Input Based on Entered Data

Discussion in 'Business Applications' started by dh134023, Mar 30, 2008.

Thread Status:
Not open for further replies.
  1. dh134023

    dh134023 Thread Starter

    Jun 21, 2007
    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
  2. OBP

    OBP Trusted Advisor

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

    Keebellah Trusted Advisor

    Mar 27, 2008
    First Name:
    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.
  4. jimr381


    Jul 20, 2007
    First Name:
    Typically after doing a vlookup or hlookup I will copy and paste special as values afterwards to alleviate the messing up a formula Keebelah. ;)
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 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/698744

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice