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 7193737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:13:51+00:00 2026-05-28T20:13:51+00:00

I have two spreadsheets, one is a backup from an ecommerce store which contains

  • 0

I have two spreadsheets, one is a backup from an ecommerce store which contains data like product_id, name etc and another contains just a product name and a colour e.g:

Book 1:

product_id | name
     1       product one
     2       product two
     3       product three

Book 2:

name          | colour
product one     Red
product one     Green
product two     Red
product two     Purple

What I need to do is replace every product name in Book 2 with the corresponding product_id from Book 1

Is there a formula that would do this? Doing it manually is out of the question as there are 40000 lines in book 2!

  • 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-28T20:13:51+00:00Added an answer on May 28, 2026 at 8:13 pm

    In C2 of Book2 put this formula, replacing 1000 with the number of the last row in Book1. Drag down as far as needed:

    =INDEX([Book1]Sheet1!$A$2:$A$1000,MATCH(A2,[Book1]Sheet1!$B$2:$B$1000,0))
    

    Then copy column C and Paste Special > Values over column A (the name column).

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

Sidebar

Related Questions

I have two excel spreadsheets, one contains data on various persons, while the other
I have two spreadsheets where one ( beta ) contains a subset of rows
I have data from two spreadsheets where I need to compare the quantities of
I have two spreadsheets... when one gets modified in a certain way I want
Problem: I have two spreadsheets that each serve different purposes but contain one particular
I have two arrays of System.Data.DataRow objects which I want to compare. The rows
I have two spreadsheets of data saved in separate Google spreadsheets, Stores and Products.
I have a workbook with two spreadsheets. One is 'Daily Profit and Loss' and
I have an excel spreadsheet with two columns, one with a list of exercises
I have two identical tables and need to copy rows from table to another.

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.