+ Reply to Thread
Results 1 to 6 of 6

Need IF and REPLACE function--I guess

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    NJ
    MS-Off Ver
    2013
    Posts
    9

    Need IF and REPLACE function--I guess

    I have two worksheets (A and B). Each worksheet has an ID# in the first column and a Last Name in the second column. I need both worksheets to look at each other and if the Last Name in the second column from B matches with A then I need the ID# in the first column of worksheet A to replace the ID# in the first column of worksheet B. There has to be a way to do this.

    Any help is much appreciated.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need IF and REPLACE function--I guess

    with index / match.

    you get better help if you add a small excel file, without confidential information.

    please also add the expected result in your file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Need IF and REPLACE function--I guess

    Does this work?
    Please Login or Register  to view this content.
    The formula would have to be in the whole column. Otherwise you will need to look for a VBA solution.
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  4. #4
    Registered User
    Join Date
    06-24-2015
    Location
    NJ
    MS-Off Ver
    2013
    Posts
    9

    Re: Need IF and REPLACE function--I guess

    Here is an example.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-24-2015
    Location
    NJ
    MS-Off Ver
    2013
    Posts
    9

    Re: Need IF and REPLACE function--I guess

    That looks like it might work

  6. #6
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Need IF and REPLACE function--I guess

    This may also work as a VBA solution for you.
    Please Login or Register  to view this content.

+ 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. I guess it's time .... Thank you all
    By JP Romano in forum The Water Cooler
    Replies: 11
    Last Post: 06-18-2014, 07:51 PM
  2. [SOLVED] Accounting i guess
    By Duggie06 in forum Excel General
    Replies: 10
    Last Post: 04-17-2012, 12:40 PM
  3. Have a guess
    By pike in forum The Water Cooler
    Replies: 4
    Last Post: 01-18-2012, 11:05 AM
  4. Excel 2007 : IF function guess the number
    By bdiplastica in forum Excel General
    Replies: 2
    Last Post: 01-13-2011, 09:58 AM
  5. [SOLVED] IRR Guess Problem
    By Dkline in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2005, 09:40 AM

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