+ Reply to Thread
Results 1 to 4 of 4

Replace values from another spreadsheet?

  1. #1
    Registered User
    Join Date
    05-07-2018
    Location
    sweden
    MS-Off Ver
    365
    Posts
    10

    Replace values from another spreadsheet?

    Hi,
    I have absolutely no idea about the nomenclature so I explain it with an image and my own words...

    I have an excel file with two columns; ID and Name. A name belongs to an ID but since the names were entered manually there are some different spellings which results in wrong quantities. In my example the "322-1 Milk is good" results in the quantity zero since both instances are wrongly spelled. "322-1 Ham is nice" counts as one but should be two etcetera.

    I have a correct spreadsheet and I want to compare the faulty tables with the correct one and the faulty names should be corrected for every instance.

    I assume it would work something like: grab code from faulty, find corresponding code in correct and if names doesn't match replace from correct.

    I hope my explanation is ok and I'm very thankful if I could get som help on this issue.

    Best regards,
    Mats
    Attached Images Attached Images

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

    Re: Replace values from another spreadsheet?

    If you created a list of names in a sheet, then used data validation in the name column, then the names would always be correct.

    Check it out
    http://www.contextures.com/xlDataVal01.html

  3. #3
    Registered User
    Join Date
    05-07-2018
    Location
    sweden
    MS-Off Ver
    365
    Posts
    10

    Re: Replace values from another spreadsheet?

    Hi Dave,
    The data comes from a 3D CAD prorgam so we can't do anything about it.
    /Mats

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

    Re: Replace values from another spreadsheet?

    You could use a vlookup formula, that will find the code and show the name next to it.

+ 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. Replies: 1
    Last Post: 02-27-2018, 11:22 AM
  2. [SOLVED] VBA Code replace old values to new values depends upon column values
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2015, 08:19 AM
  3. How to replace goal seek in my spreadsheet
    By ruzzler1 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-30-2014, 07:21 PM
  4. How to replace opening hours on spreadsheet
    By willywazza in forum Excel General
    Replies: 3
    Last Post: 08-27-2014, 09:56 PM
  5. [SOLVED] Replace cell values in one spreadsheet from another
    By geddes_3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2013, 03:05 PM
  6. search for value in one spreadsheet from a table in another spreadsheet and replace
    By mlhend2002 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 01:48 PM
  7. Replies: 4
    Last Post: 02-27-2011, 03:58 PM

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