+ Reply to Thread
Results 1 to 3 of 3

get corresponding values

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    3

    get corresponding values

    i want to automate getting corresponding values in excel.

    Ex: if i enter a student's name in column A, i want to get his birthday in column B. The names would be populated, but birth dates would be automated.

    i have looked into using macro (VBA). since I am beginner, the codes, and step-by-step directions would help, unless there is an easier way to do this.

    thanks!
    Last edited by NBVC; 02-03-2010 at 08:43 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: get corresponding values

    When you say birthdays are automated.. you mean they exist in a list somewhere?

    If so, then you can use a Vlookup() formula to get that data

    e.g. =Vlookup(A1,$X$1:$Y$100,2,FALSE) would look for name that is in A1 and find it in range X1:X100 and return date in B1:B100 at corresponding match point.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-02-2010
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: get corresponding values

    thanks a lot! It works!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1