+ Reply to Thread
Results 1 to 9 of 9

Replace Maiden Name with Married Name

  1. #1
    Registered User
    Join Date
    03-08-2023
    Location
    Folsom
    MS-Off Ver
    16
    Posts
    4

    Replace Maiden Name with Married Name

    Say I have a worksheet with sales listed by name. Some of the names have changed due to marriage, and I have a reference list of maiden and married names. How can I automatically change the maiden name to the married name based on my reference list?
    Attached Files Attached Files
    Last edited by kedzugan; 03-08-2023 at 05:48 PM.

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Replace Maiden Name with Married Name

    CTRL+H

    or

    REPLACE() or substitiute() function

    Provide an example workbook if you need more in depth answer
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    03-08-2023
    Location
    Folsom
    MS-Off Ver
    16
    Posts
    4

    Re: Replace Maiden Name with Married Name

    I understand how to use the find and replace function, but I don't want to have to do this for each individual name, as there are many of them. I want excel to look at an entire list of names and compare them to a list of married names. Then excel would update any name that has changed according to this reference list. I have uploaded a simplified example to my original post which hopefully makes my question clearer.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Replace Maiden Name with Married Name

    with Power Query
    Last edited by sandy666; 03-08-2023 at 06:45 PM.

  5. #5
    Registered User
    Join Date
    03-08-2023
    Location
    Folsom
    MS-Off Ver
    16
    Posts
    4

    Re: Replace Maiden Name with Married Name

    Thanks. This looks like what I want. I'm just going to have to spend some time figuring out how to actually do it. I've watched a few tutorials on Power Query, but I haven't been able to wrap my head around it yet.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,231

    Re: Replace Maiden Name with Married Name

    Option 1:
    =IFERROR(VLOOKUP(A2,I:J,2,FALSE),A2)

    Option 2:
    =IFERROR(VLOOKUP(A24,I:J,2,FALSE),"")

    see file.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Replace Maiden Name with Married Name

    Quote Originally Posted by kedzugan View Post
    Thanks. This looks like what I want. I'm just going to have to spend some time figuring out how to actually do it. I've watched a few tutorials on Power Query, but I haven't been able to wrap my head around it yet.
    here is almost everything about Power Query - Power Query documentation

  8. #8
    Registered User
    Join Date
    03-08-2023
    Location
    Folsom
    MS-Off Ver
    16
    Posts
    4

    Re: Replace Maiden Name with Married Name

    Thank you! I can apply this right away. I'm still planning on becoming familiar with power query, because I see the long range benefits.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,231

    Re: Replace Maiden Name with Married Name

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. [SOLVED] Find and Replace Macro to replace list of special characters
    By dcowiesmith in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-22-2021, 02:01 PM
  2. Replies: 0
    Last Post: 02-13-2021, 03:32 AM
  3. Replies: 1
    Last Post: 02-27-2018, 11:22 AM
  4. is there a way to use variables in "find " "married to *"
    By 20GT in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-23-2016, 08:54 PM
  5. Administrator gets married!!!!!
    By dominicb in forum The Water Cooler
    Replies: 6
    Last Post: 09-02-2008, 11:09 AM
  6. [SOLVED] find and replace - replace data in rows to separated by commas
    By msdker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 08:10 PM
  7. Calculat years married or age of someone on today's date
    By Chersie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2005, 04:06 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