+ Reply to Thread
Results 1 to 2 of 2

Need to align 2 id numbers across files and then fill in corresponding column

  1. #1
    Registered User
    Join Date
    07-16-2019
    Location
    Dallas, TX
    MS-Off Ver
    15.32
    Posts
    1

    Question Need to align 2 id numbers across files and then fill in corresponding column

    I have student numbers in 2 separate files that I need to use to fill in whether or not they were absent which is in another column.

    What is a formula I can use to ask Excel to find the same student id number from one file in another and then fill in another column?

    For example,

    H1 has my student id #. I need Excel to find this exact student id # in another file and fill in the corresponding row line from column S.

  2. #2
    Registered User
    Join Date
    01-18-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    5

    Re: Need to align 2 id numbers across files and then fill in corresponding column

    There are two functions to use: Vlookup and combined Index/Match. My preference in Index/Match: here's how it works. (1) Index the column that contains the information you need. Then match the unique identifier for the output with the unique identifier of the data set. Assuming the data you want to output is in column S, the student ID for the new data set is cell H1 and the student ID in the data set is in column A (cells 1 - 15), the formula would be:

    =index(s$1:s$15,match(H1,A$1:A$15,0))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Fill Series of Sequential Numbers in Column A Based on Last Value in Column B - VBA
    By CC268 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2017, 01:09 PM
  2. Fill cell column with numbers
    By phlprinting in forum Excel General
    Replies: 4
    Last Post: 01-02-2014, 12:48 AM
  3. align data by ID# from two different files combined
    By daveazey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2013, 08:59 PM
  4. align numbers in a column to centre
    By arashin in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-20-2010, 12:50 PM
  5. [SOLVED] Macro to align multiple files by rowdates
    By Larry M in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-19-2006, 12:55 PM
  6. [SOLVED] Fill a column with sequential numbers
    By GISDude in forum Excel General
    Replies: 4
    Last Post: 05-01-2006, 09:45 AM
  7. Left align '$' and right align numbers?
    By skeetley in forum Excel General
    Replies: 1
    Last Post: 10-21-2005, 03:12 AM

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