Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6729085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:14:48+00:00 2026-05-26T10:14:48+00:00

I have one Excel spreadsheet which has the following columns: Surname / First Name

  • 0

I have one Excel spreadsheet which has the following columns:
Surname / First Name / e-mail / gender / info 1 / info 2 / info 3 / info 4
This is a master spreasheet with everyone’s details.

I have another spreadsheet containing just the e-mail addresses of a handful of people. All of them are in the master spreadsheet.
The columns are as follows: Surname / First Name / e-mail / Project / gender / info 2 / info 3 / info 4 / info 1

Is there a way of asking Excel to look in the e-mail column of the master spreadsheet and search for the e-mail mentioned in the other spreadsheet. When the matching e-mail is found, look up data in master spreadsheet for that person, and transpose them into appropriate columns in the other spreadsheet.

I’m happy to clarify anything that doesn’t make much sense.

Cheers!

EDIT: changed title from “Importing data from another Excel spreadsheet based on specific values” to “Looking up Excel data when the key column (one with reference values) is not leftmost”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:14:49+00:00Added an answer on May 26, 2026 at 10:14 am

    In your case, you want to perform a lookup on a data table where the key column is not the leftmost column – which means you cannot use Excel’s prime contender for such a lookup, the VLOOKUP formula. The following ways will work:

    If the emails in the master spreadsheet are sorted in ascending order

    Use Excel’s LOOKUP function. Assuming that in both your spreadsheets the “Surname” is column A and that you have named all columns in the correct order in your question, the lookup for Surname in row 1 would be:

    =LOOKUP(C1,'[Master.xls]TableName'!$C$1:$C$100,'[Master.xls]TableName'!$A$1:$A$100)
    

    with the other columns adjusted accordingly. The second parameter never changes ; the third takes whatever column index the values you want to lookup has in the master table (i.e. B for First Name, D for gender etc.).

    Note this assumes your master spreadsheet as 100 rows of data to look up (adjust accordingly – LOOKUP does not work with entire columns, and you cannot use VLOOKUP, which does).

    … and if they are not

    Use a combination of INDEX and MATCHfunctions. Assuming the same layout as above, the lookup for Surname in row 1 would be:

    =INDEX([Master.xls]TableName'!$A:$H,MATCH(C1,[Master.xls]TableName'!$C:$C,0),1)
    

    Note this fails if the address is not matched exactly – be wary of capitalization differences, trailing and leading whitespace, and differing cell data formats.

    Note for both variants

    “Master.xls” and “TableName” are just placeholders for the sake of demonstration – they need to be replaced by the correct file and table names. The easiest way to create inter-file references is to open both files and fill the formula per point and click – Excel will create the correct references for you. However, be warned that linking to another file inside a formula relies on that file not changing its path, ever.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an excel spreadsheet with 15 columns, one of which is EmailAddress and
I have an excel spreadsheet with two columns, one with a list of exercises
I have a Excel Spreadsheet with lab data which looks like this: µg/L (ppb)
I have an excel spreadsheet, with one of the columns in form of hyperlinks
I have an Excel file with one column which is filled with numbers. I
I have an excel spreadsheet which contains a calendar control (Microsoft Calendar Control 2007,
I have an Excel spreadsheet which is being used to specify filesystem build information
We have an Excel workbook which has c# VSTO code in it and two
We have an existing Traceability Matrix in Excel that has columns like: Project Business
I have the following data in an Excel Spreadsheet: A B C 1 b

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.