+ Reply to Thread
Results 1 to 3 of 3

Find specific value in a range of cells in a different workbook

  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    Milwaukee
    MS-Off Ver
    Excel 2007
    Posts
    3

    Find specific value in a range of cells in a different workbook

    I'm trying to write a program that searches for a specific value in a range of cells in a different workbook. If the value exists, I need to update a status in a different column of the found cell's row.

    For example, Column A in WB1 contains a small range of data (data in each cell is unique, but are all numbers). Column B contains a status update.

    Column A in WB2 contains a larger amount of data & may or may not contain matching values from Column A in workbook 1.

    If there are matching values in the two Column A's, Column B in WB2 needs to be updated by the corresponding value of Column B in WB1.

    Such as, Workbook1,A2 matches Workbook2,A19; thus, B19 in Workbook2 needs to be replaced what's in B2 in Workbook1.

    If the item in WB1 column A doesn't exist in WB2 column A, it should be ignored.

    Sure sounds confusing when I try to type it all out.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Find specific value in a range of cells in a different workbook

    you have to use vlookup function in wb2.

  3. #3
    Registered User
    Join Date
    06-03-2010
    Location
    Milwaukee
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Find specific value in a range of cells in a different workbook

    VLOOKUP will replace the status in column B with "N/A" if the value in column A is not in WB1

+ 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