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.
Advertisement
  1. dh134023

    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
     
  2. OBP

    OBP Trusted Advisor

    Joined:
    Mar 8, 2005
    Messages:
    19,671
    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

    Joined:
    Mar 27, 2008
    Messages:
    6,533
    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
     
  4. jimr381

    jimr381

    Joined:
    Jul 20, 2007
    Messages:
    4,189
    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. ;)
     
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!

Loading...
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