+ Reply to Thread
Results 1 to 2 of 2

Excel 2010: compare 2 sheets, replace a value in a cell

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    Ljubljana, Slovenia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel 2010: compare 2 sheets, replace a value in a cell

    Hi, all

    Can you please tell me the simplest way to solve my challenge:

    I have 2 sheets (let say named "OLD", "NEW", Excel 2010) in following format (both are same):

    Col.1 Col.2 Col.3
    ID Description Price

    I want to replace Column 3 (Price) value from "NEW" to Column 3 in "OLD".
    I can not use sorting, because "OLD" is structured in a bit different way (has extra rows, such as explanations, additional information, etc).

    So order of rows in NEW is different than in OLD. For example row 1 in OLD may be row 425 in NEW. Basiclly it is to match ID, which i same in OLD and NEW and then write corresponding Price value from NEW to OLD. What is the simplest way to do it?

    Can it be done with array of inbuilt functions or macro is needed?

    Thank you in advance. Marko

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Excel 2010: compare 2 sheets, replace a value in a cell

    Try the Vlookup function.
    http://www.contextures.com/xlfunctions02.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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