Find and Replace Multiple Values in Excel - ALL AT ONCE!

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 224

  • @HandimanFix
    @HandimanFix  4 ปีที่แล้ว +3

    🙏Thanks for all the feedback! Honored!
    Please note I don't offer any troubleshooting beyond what the video illustrates.

    • @shivakumarcm9369
      @shivakumarcm9369 4 ปีที่แล้ว +1

      life savior (y)

    • @theerputr5123
      @theerputr5123 2 ปีที่แล้ว

      How to color replaced cells following replacement

  • @EvanC0912
    @EvanC0912 4 ปีที่แล้ว +6

    Great trick!
    UPDATE: Hey, I managed to do the replacement using Excel formulas SUBSTITUTE and VLOOKUP.
    Here's how: (I'm using the example at 1:02). At cell L4, type =IFERROR(SUBSTITUTE(K4,VLOOKUP(K4,N:O,1,FALSE),VLOOKUP(K4,N:O,2,FALSE)),K4) and then copy the formula down the table and you'll have it.

    • @fractalencrypt2818
      @fractalencrypt2818 4 ปีที่แล้ว

      That's pretty slick! worked perfectly. But Can you explain what is going on in the Formula here - (K4,N:O,1,FALSE) - what are the 1 and the FALSE?

    • @TheEnemiesEnemy
      @TheEnemiesEnemy 4 ปีที่แล้ว

      Excellent.

    • @stavrosbatsaktsis8698
      @stavrosbatsaktsis8698 2 ปีที่แล้ว

      You, sir, are my hero for the day! Thank you very much!

    • @mskam4717
      @mskam4717 ปีที่แล้ว

      Thank you SOOOOO much. I couldn't figure out how to get he macros to work on my mac but this formula is fool proof!

    • @sumarnimg
      @sumarnimg หลายเดือนก่อน

      You're a genius. Thanks

  • @RichardPlow
    @RichardPlow 3 หลายเดือนก่อน +1

    This was big time help, makes look like a genius =) THANK YOU 7yrs later

  • @zeusobotic
    @zeusobotic 5 ปีที่แล้ว +11

    3 MONTHS! You turned 3 MONTHS of agonizing pain into a 4:56 min video, I don't know you, but you are a GOD!

  • @SC-ee6yd
    @SC-ee6yd 5 ปีที่แล้ว

    I Started with absolutely NO knowledge of what a VBA is...Once I figured that out and then how to find the developers tab in excel, I followed the directions and IT WORKED! So simple. THANK YOU!!!!!

  • @larrykay6606
    @larrykay6606 4 ปีที่แล้ว +1

    Thank you!!! This was beyond helpful for a project I am working on for work right now. Over a thousand customer numbers need to be updated to new numbers in one spreadsheet and my client is only going to give me a different spreadsheet with the old number and new number. Now I can simply add their two columns to my spreadsheet and use this method to update the original customer number column!

    • @HandimanFix
      @HandimanFix  3 ปีที่แล้ว

      Glad it was helpful!

  • @gopikarthickngu2740
    @gopikarthickngu2740 3 ปีที่แล้ว +3

    Thank you for this dude. You saved me a week worth of work

    • @HandimanFix
      @HandimanFix  3 ปีที่แล้ว

      Wow! Glad we crossed paths!

  • @sandyrgregory
    @sandyrgregory 3 ปีที่แล้ว +1

    One of the most useful tips for Excel!!

    • @HandimanFix
      @HandimanFix  3 ปีที่แล้ว

      Thanks Sandy, I’m glad it was useful!

  • @tg9479
    @tg9479 4 ปีที่แล้ว

    Thanks so much, the code listed in other websites did not work for me for some reason, but yours did! Took several hours of trial and error before I came across your video

  • @kborkholder
    @kborkholder 6 หลายเดือนก่อน +1

    this video saves my life so often. my notes on mac: Open visual basic in excel > developer tab
    Insert model is the button that looks like a dna

    • @kborkholder
      @kborkholder 6 หลายเดือนก่อน

      used this 4 times now in the last 10 days

    • @kborkholder
      @kborkholder 6 หลายเดือนก่อน

      and again

    • @kborkholder
      @kborkholder 5 หลายเดือนก่อน

      Again!

  • @ruhanvanhuyssteen6665
    @ruhanvanhuyssteen6665 ปีที่แล้ว +1

    I found a workaround if you would like to change the formatting(colour/bold ex). For your key use the original data(eg. 154 /style you want to replace in the first column and in the second column use the concatenate function to add a unique suffix or prefix (xx154xx). After running the script use conditional formatting to edit the data containing your suffix (xx).

  • @chadpaul3942
    @chadpaul3942 5 ปีที่แล้ว +5

    BRILLIANT!! I've been looking for this for days and you set it up so simply

  • @abdulmuqeet6905
    @abdulmuqeet6905 5 ปีที่แล้ว

    Cannot thank you enough... I barely like videos and commenting for me is way too exceptional, Thanks A TON!!

  • @qumasha.alrasasi
    @qumasha.alrasasi ปีที่แล้ว

    Thank you so much its very helpful after spending hours and hours to find a solution for replacing values

    • @HandimanFix
      @HandimanFix  ปีที่แล้ว

      You’re welcome! Glad you found help for your project.

  • @andytownman1916
    @andytownman1916 6 ปีที่แล้ว +1

    Works great. Tip: make a copy of your original column so you don't lose those values.

  • @rajesshmech
    @rajesshmech หลายเดือนก่อน

    Very useful. I learned from your videos. Thanks for the information sir.

  • @valenting4926
    @valenting4926 4 ปีที่แล้ว

    Worked perfectly for me! Used this 'key' method to replace several texts across multiple columns. Using Excel 2016.

  • @aaronshields7637
    @aaronshields7637 4 ปีที่แล้ว +1

    This worked like a charm and saved me so much time. THANK YOU!

  • @robfrankel5956
    @robfrankel5956 5 ปีที่แล้ว

    Thanks Handiman... Works like a dream. You're a machine

  • @massofexcel7899
    @massofexcel7899 4 ปีที่แล้ว

    Contents is appreciated for common users. Keep continuing....

  • @cubeone6024
    @cubeone6024 4 หลายเดือนก่อน +1

    thanks man really helped me

  • @MrChapimex
    @MrChapimex 5 ปีที่แล้ว

    You, my friend, are a genius. THANK YOU. Worked like a charm. Can't tell you how much time this will save me moving forward with a work responsibility!

  • @m.almotawaqtr4843
    @m.almotawaqtr4843 5 ปีที่แล้ว +1

    thanks a lot you saved my life it worked like magic on 200k rows :)

  • @sawadeeka1
    @sawadeeka1 3 ปีที่แล้ว

    sir i want to say a huge thank you from the bottom of my heart, you just saved my life😭 i made a mistake coding a data on my google form questionaire and i have to change it all to the correct ones. I was hopeless because i have 291 respondents but with this video i can solve it in less than a minute! I owe you lots, thank you once again😭🙏
    btw you deserve more subs. i just subscribed

    • @HandimanFix
      @HandimanFix  ปีที่แล้ว

      Wow... I'm glad you found this video, @qisthiaryani6612. Thanks for the feedback!

  • @husseinbasbous7687
    @husseinbasbous7687 3 ปีที่แล้ว

    Excellent Idea. This is what I was exactly looking for. Great handy video. It saves a lot of time especially when you have a great bunch of excel sheets.

    • @HandimanFix
      @HandimanFix  3 ปีที่แล้ว

      Glad it was helpful!

  • @nonoobott8602
    @nonoobott8602 2 หลายเดือนก่อน

    Really insightful video. Howeved, for the second case involving numbers, can't we just do a simple lookup. And for the first case, we can use a combination of REDUCE, SUBSTITUTE and OFFSET I believe. Nevertheless, great tutorial. Thanks for sharing!

  • @OnLyhereAlone
    @OnLyhereAlone 2 ปีที่แล้ว

    Thanks. It still works in 2022. As a few people have mentioned, keep a copy of the original data as undo/cntrlZ would not undo the replacements.

  • @adekunleomotoso650
    @adekunleomotoso650 3 ปีที่แล้ว

    Thank you for this... Indeed, no University like TH-cam.

  • @daniew502
    @daniew502 ปีที่แล้ว

    Hi there, this worked perfectly first time, but I had to save my excel as a macro enabled one first. I did this on an excel saved on teams, which is linked to a MS form (where the data is coming from). 2 questions, how do I keep the MS form linked to my new 'macro enabled' excel, and how do you make the formula/macro automatic, or do you have to keep re-running it? I am trying to automate the answers I receive from my MS form, so that strings of text are automatically replaced by numbers (my key). thanks.

  • @mkomko83
    @mkomko83 6 ปีที่แล้ว

    I don't know who you are but god bless you, sir.

  • @mathisprange6555
    @mathisprange6555 5 ปีที่แล้ว

    Worked like a charm and is very flexible. Thx a lot!

  • @yusufpolat228
    @yusufpolat228 4 ปีที่แล้ว

    Bruh, you're a gem! Thanks a lot for this incredibly cool tip. Saved a lot of time for me.

  • @junsobreo3070
    @junsobreo3070 4 ปีที่แล้ว +1

    is the kutools needed for this?

  • @samplumbe3288
    @samplumbe3288 5 หลายเดือนก่อน

    Will this work on items of text within a wider range of text and cells? Ie change bananas to oranges even if an individual cell has say 'bananas are great' so that it changes to oranges are great?

  • @exikoz
    @exikoz 6 ปีที่แล้ว +4

    Truly, handyman, this was a blessing!!!!

  • @majeedpanahi5783
    @majeedpanahi5783 5 ปีที่แล้ว

    Excellent procedure and helpful when you have huge data to replace. Thank you.

  • @james24vamsi
    @james24vamsi 6 ปีที่แล้ว

    its works like awesome.. is there any parameter for case ?

  • @TOUNISIAN
    @TOUNISIAN 5 ปีที่แล้ว +1

    BIG THANKS, YOU'VE SAVED MY LIFE !

  • @aneeshraghavan4423
    @aneeshraghavan4423 4 ปีที่แล้ว

    You saved ton of my time buddy. Thank you so much and subscribed.

  • @TUBORGLOVING
    @TUBORGLOVING 5 ปีที่แล้ว

    This is fantastic, great work. Works so well on anything that I have used it on. Thank you.

  • @alerek
    @alerek 4 ปีที่แล้ว

    Wow! I hope this will do the trick. Maybe you can answer that for me. Will this find and replace all values if the select range is Only 1 cell with a Wall of text? Specifically a Wall of Html code, and I want to find and replace values acording to the key?

  • @davidhansz6339
    @davidhansz6339 ปีที่แล้ว

    This is great! Thank you! How would you change the code to not match the entire cell contents? Each of your examples were single words in the cell. I am trying to replace names within full sentences. Thanks again!

    • @davidhansz6339
      @davidhansz6339 ปีที่แล้ว

      @yorkebt1 posted below to change "Lookat:=xlWhole" to "Lookat:=xlPart". That worked for me...

  • @ryanfrancis9665
    @ryanfrancis9665 5 ปีที่แล้ว +1

    Thanks for the help... saved me loads of time...

  • @danglyreprap4206
    @danglyreprap4206 2 ปีที่แล้ว

    Can this be used to change the format of the cell as well?

  • @ruhanvanhuyssteen6665
    @ruhanvanhuyssteen6665 ปีที่แล้ว

    Hi is there a way to do this for styling only ?

  • @Hussein-zb1kr
    @Hussein-zb1kr 6 ปีที่แล้ว

    Dude are you a magican? excel wizard!

  • @amandar8699
    @amandar8699 3 ปีที่แล้ว

    Worked for me! Many thanks!

  • @ppreity08
    @ppreity08 2 ปีที่แล้ว

    This works and is excellent. Saves a lot of time and efforts. Thank you for this share

  • @lidonini3369
    @lidonini3369 2 ปีที่แล้ว

    Anyway I could do it on google sheets? Thanks!

  • @xcwoodsonman136
    @xcwoodsonman136 4 ปีที่แล้ว +1

    Is there a way to make this run with cells that have a character length over 255?

  • @mrstephenrobb
    @mrstephenrobb 5 ปีที่แล้ว +1

    Does this work on 1 sheet (it seems this way since you select the range), or through the entire workbook? If it is only on 1 sheet, is there a way to make it through the entire workbook?

  • @MrsEepie
    @MrsEepie 4 ปีที่แล้ว

    This is just awesome and will safe me a lot of time. Thanks a lot!

  • @yorkebt1
    @yorkebt1 5 ปีที่แล้ว +1

    Is there a way to do the same thing when there are multiple items within a single cell that should be replaced? In your first example if you started in a cell that contained "Apples, Bananas" and you wanted to change it to "Algerian Apples, Mexican Bananas".Thanks very much for the great video!

    • @marcelmansfeld7287
      @marcelmansfeld7287 4 ปีที่แล้ว +1

      In VBA, try replacing "Lookat:=xlWhole" (at the bottom on the right-hand side) by "Lookat:=xlPart"

    • @esmeralda2604
      @esmeralda2604 4 ปีที่แล้ว

      @@marcelmansfeld7287 Thanks so much! This worked perfectly for me!

  • @Brandon-dx6mm
    @Brandon-dx6mm 4 ปีที่แล้ว

    This saved my life....Thanks a Ton . Do you have any official website of yours. Would love to join in there

  • @ramsah8458
    @ramsah8458 3 ปีที่แล้ว

    i have to replace multiple text in visio as per excel data please suggest for this

  • @wisam6103
    @wisam6103 ปีที่แล้ว

    Can we do the same but without using visual basic

  • @kripalrathod5796
    @kripalrathod5796 2 ปีที่แล้ว

    Most amazing functionality Thanks A TON

  • @UmeshYadav-sj4gj
    @UmeshYadav-sj4gj 4 ปีที่แล้ว

    Thanks buddy.. it's very helpful.

  • @sebastianolivieri5964
    @sebastianolivieri5964 4 ปีที่แล้ว

    Many many thanks!!! Great Job, it saved a lot of editing time

  • @jeanettebrocious9308
    @jeanettebrocious9308 4 ปีที่แล้ว

    You are a life saver!!
    This works great thanks :)

  • @Turbotomeek
    @Turbotomeek 5 ปีที่แล้ว

    You have saved me so much time in my workflow!!!! Thank you! I do have 1 question, is it possible to do this to partial text? Such as "Mrs Smith" to change to "Ms Smith" while having 1000 different names? Thanks!

    • @flomokokro7330
      @flomokokro7330 5 ปีที่แล้ว

      Did you ever find an answer to this question?

    • @hishamali251
      @hishamali251 5 ปีที่แล้ว +1

      This code is not working with replacing partial text, did u find one?

    • @marcelmansfeld7287
      @marcelmansfeld7287 4 ปีที่แล้ว +1

      In VBA, try replacing "Lookat:=xlWhole" (at the bottom on the right-hand side) by "Lookat:=xlPart"

    • @TomasIgnatavicius
      @TomasIgnatavicius 4 ปีที่แล้ว

      @@marcelmansfeld7287 Can confirm this works. Thanks dude!

  • @ememjay2
    @ememjay2 4 ปีที่แล้ว

    Thank you so much!! Saved me so much time! :)

  • @sanuwa20
    @sanuwa20 6 ปีที่แล้ว

    Your learning is very good

  • @dariomargeli
    @dariomargeli 5 ปีที่แล้ว

    Thanks it worked

  • @simeonotu8218
    @simeonotu8218 6 ปีที่แล้ว +1

    Wow! works fine, but is there a way to make it search for a particular keyword in a sentence and replace, like "I am Simeon" is part of the list and I want to replace just Simeon from that sentence. thanks

    • @arvisingh6613
      @arvisingh6613 6 ปีที่แล้ว +1

      Do you find an answer to your question? I am looking for the same.

    • @yorkebt1
      @yorkebt1 5 ปีที่แล้ว

      @@arvisingh6613 Same. :(

    • @yorkebt1
      @yorkebt1 5 ปีที่แล้ว +1

      @@arvisingh6613 Change "Lookat:=xlWhole" to "Lookat:=xlPart". That worked for me.

    • @yorkebt1
      @yorkebt1 5 ปีที่แล้ว

      Change "Lookat:=xlWhole" to "Lookat:=xlPart". That worked for me.

  • @sandropereira4804
    @sandropereira4804 4 ปีที่แล้ว

    Amazingly easy and effective !!! Thank you much for sharing :)

  • @rexalex09
    @rexalex09 4 ปีที่แล้ว

    Thanks alot man. you saved my life

  • @LuisEnrique_Bernal_Consultant
    @LuisEnrique_Bernal_Consultant 4 ปีที่แล้ว

    AWESOME!!! Thanks for sharing. Very useful. Subscribed now.

  • @arashj666666
    @arashj666666 2 ปีที่แล้ว

    Awesome help, Thank you for sharing

  • @georgecartertheIII
    @georgecartertheIII 4 ปีที่แล้ว

    You are amazing. Thank you Ken

  • @danielhartjes2479
    @danielhartjes2479 ปีที่แล้ว

    This is cool and you obviously know what you're doing, I think the issue I have is that I don't know how you put together the VBAS code, and therefore I don't feel like I learned anything here. Plus if you're going to set up the file the way you did with a key, then why not use an Xlookup to change the values? I bet that would be even quicker than the solution you provided. Again, not disrespecting your work, just didn't feel it had any value for me. Thanks.

    • @HandimanFix
      @HandimanFix  ปีที่แล้ว

      Ah, thanks for the feedback Daniel.

  • @dusanradakovic8161
    @dusanradakovic8161 5 ปีที่แล้ว

    hvala puno. radi perfektno...thank you very much it work perfect

  • @bhaskariganesh1234
    @bhaskariganesh1234 2 ปีที่แล้ว

    works only with specific cells not with the cell data merged with other containts.can you please help on it.

  • @meseleawulachew8059
    @meseleawulachew8059 6 หลายเดือนก่อน

    Thank you. you are my solution

  • @miramarebd2557
    @miramarebd2557 3 ปีที่แล้ว

    This was Awesome!

  • @augiux321
    @augiux321 4 ปีที่แล้ว

    Thank you very much!!! It is so perfect!!!

  • @shadbhowmik7
    @shadbhowmik7 4 ปีที่แล้ว

    It replaces when "Match Entire Case" is true. Is it possible to replace without matching entire case?

  • @elakeyaudhaya4767
    @elakeyaudhaya4767 2 ปีที่แล้ว

    When I hit F5, my keyboard light is turning on. I cannot open kutools for excel. What to do, please help!

  • @Luke-uz9tw
    @Luke-uz9tw 4 ปีที่แล้ว

    Lifesaver...THANK YOU

  • @darshilagarwal3669
    @darshilagarwal3669 2 ปีที่แล้ว

    really helpful you can trust it

  • @shankarweld
    @shankarweld 5 ปีที่แล้ว

    Amazing, solved my problem...thanks a lot

  • @oscararagon2711
    @oscararagon2711 5 ปีที่แล้ว

    Great video, It is very useful.

  • @GriffinGoes
    @GriffinGoes 8 หลายเดือนก่อน

    Can you automat this using Macros? I tried, but it didn't work.

  • @Bee_Jaye
    @Bee_Jaye 5 ปีที่แล้ว

    How do you complete this for column C in the entire workbook with sheet names ranging from KB1 to KB300?

  • @miseryloveco
    @miseryloveco 4 ปีที่แล้ว

    Wow. Thank you for this tutorial. A+

    • @HandimanFix
      @HandimanFix  3 ปีที่แล้ว

      You're very welcome!

  • @1234kande
    @1234kande 2 ปีที่แล้ว

    Worked out thank you 👍🏻

  • @jttrk
    @jttrk 4 ปีที่แล้ว

    why its replacing 23 with some like 43892 instead of what I want, which is 2-3?

  • @White-mt4hx
    @White-mt4hx 6 ปีที่แล้ว +1

    It's only changing the cell that match exactly the case?
    Can you please adjust the code so it can change any letter or word in a cell that match the citeria?
    My case when a cell has multiple value like this Jack, John, Jeremy, Jane the code just skip this cell

    • @devildogtrevor
      @devildogtrevor 5 ปีที่แล้ว

      No he probably can't as he didn't write the code as it is copied from a company called ExtendOffice.com that makes an Excel add-in called KuTools that he references at the end of the video, you can get the code and some more info on mulit find and replace at their link here: www.extendoffice.com/documents/excel/1873-excel-find-and-replace-multiple-values-at-once.html Nice video on how to use the code.

    • @yorkebt1
      @yorkebt1 5 ปีที่แล้ว

      Change "Lookat:=xlWhole" to "Lookat:=xlPart". That worked for me.

  • @antukriqona9195
    @antukriqona9195 3 ปีที่แล้ว

    How to replace with format only like the words colour?

  • @nagag5405
    @nagag5405 2 ปีที่แล้ว

    Awesome AWeome. Thank you very much

  • @PochoNieves
    @PochoNieves 5 ปีที่แล้ว +1

    BEST THING EVER!!!!

  • @michaeljhickey
    @michaeljhickey 6 ปีที่แล้ว

    Thanks for the code, worked great!

  • @orayqt
    @orayqt 4 ปีที่แล้ว

    thanks my dear , its working fine

  • @sandragrooteartley1356
    @sandragrooteartley1356 6 ปีที่แล้ว

    This is a great time saver!!! Thank you

  • @risharodrigues6525
    @risharodrigues6525 6 ปีที่แล้ว

    It worked!! Thanks so much:)

  • @swapnaayt
    @swapnaayt 6 ปีที่แล้ว

    It works perfectly. The input boxes that pop up don't specify the question, so I found that I had to blindly select the original values first, click ok, select the replacement values next, and click ok. Perhaps this might help those who found that it doesn't work?

  • @jochemaalders
    @jochemaalders 6 ปีที่แล้ว +1

    Nice if you want to replace full values, however partially isn't possible.
    E.g: people fill in 1:30 or 1:45 or 1:15 for time.
    I would like to replace :30 with .5 and :45 with .75 and :15 with .25.
    This script won't allow this, maybe with some minor changes?

    • @TomasIgnatavicius
      @TomasIgnatavicius 4 ปีที่แล้ว

      In VBA, replace "Lookat:=xlWhole" (at the bottom on the right-hand side) by "Lookat:=xlPart"

  • @Ryan-tk
    @Ryan-tk 6 ปีที่แล้ว +1

    I hit run and I get a Compile error: Syntax error
    For Each Rng In ReplaceRng.Columns(1).Cells InputRng.Replace what:=Rng.Value, replacement:=Rng.Offset(0, 1).Value, Lookat:=xlWhole

  • @bhumikaj7543
    @bhumikaj7543 2 ปีที่แล้ว +1

    I am getting a runtime error 13
    Please help

  • @christineash6999
    @christineash6999 4 ปีที่แล้ว

    any idea why I get a syntax error for this line?For Each Rng In ReplaceRng.Columns(1).Cells InputRng.Replace what:=Rng.Value, replacement:=Rng.Offset(0, 1).Value, Lookat:=xlWhole

    • @EvanC0912
      @EvanC0912 4 ปีที่แล้ว

      I managed to do it with Excel formulas only. Using the example at 1:02 , type at Cell L4 =IFERROR(SUBSTITUTE(K4,VLOOKUP(K4,N:O,1,FALSE),VLOOKUP(K4,N:O,2,FALSE)),K4) and then copy the formula down the entire table.