Clean and Extract Text the EASY Way - Pro Tip!

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • With Power Query we can quickly and easily extract text strings, whether it's letters, either upper or lower case, or numbers, and even special characters. Download the sample Excel file here: bit.ly/3okDqDa
    0:16 Introduction
    0:42 Text.Select Lower Case Letters
    1:28 Text.Select Upper Case Letters
    1:48 Text.Select Numbers
    2:12 Text.Select Letters and Numbers
    2:52 Text.Remove Lower Case Letters
    3:42 Text.Remove Upper Case Letters
    3:51 Text.Remove Numbers
    4:06 Text.Remove Letters and Numbers
    4:28 Text.Remove Special Characters
    5:35 Unicode Trick
    View our comprehensive courses: www.myonlinetr...

КОМЕНТАРІ • 126

  • @JimFikes
    @JimFikes 3 роки тому +3

    Excellent tutorial. I really appreciate how clearly everything is explained and demonstrated.

  • @barbaraharris1212
    @barbaraharris1212 3 роки тому +2

    Thanks! I use your videos as a part of my weekly personal business training. You have taught me so much! Thank you!!!

  • @elbadlis
    @elbadlis 2 роки тому

    Thank you for sharing such a valuable knowledge. The unicode trick is gold. Thanks, Mynda and Phil!

  • @sandyrgregory
    @sandyrgregory 9 місяців тому

    I have been looking for this for a long time.. Thanks for this tutorial...

  • @thapashanu56
    @thapashanu56 2 роки тому

    Was searching for some other solution and stumbled upon this video. Helped me solve a problem I was banging my head around for the last three days.

  • @MrDexter337
    @MrDexter337 3 роки тому

    It is so crazy that this video just came out. I kid you not I just started a project that needed this as a solution. Thank you!

  • @drewbbc7074
    @drewbbc7074 2 роки тому +1

    Unicode tip was very helpful

  • @RoeGabriel_i_EMPOWER
    @RoeGabriel_i_EMPOWER Рік тому

    oh man this is awesome!!! Thanks for tying in the explanation with ASCII - it TOTALLY makes more sense now.

  • @juja2819
    @juja2819 2 роки тому

    You are awesome! It looks like game when you present it : )

  • @ryanbartlett672
    @ryanbartlett672 Рік тому

    Well done. Thank you.

  • @masterboxxx
    @masterboxxx 2 роки тому

    really amaaaaaaaaaaaaaaaaazin ,, thanks a lot ,, quite voice ,, striate forward without more intro pulse many many info in few minutes ,, really thanks

  • @gloriasancho6332
    @gloriasancho6332 2 роки тому

    Hi Mynda/Phil! Thanks for the video. It really helped me with a special project.

  • @katarzynarozanska6199
    @katarzynarozanska6199 3 роки тому

    Very nice, thank you !!

  • @apamwamba
    @apamwamba 3 роки тому

    Cool...Thats what utilities like ASAP UTILITIES do so i can do this on my own now using Power Query....Very Cool indeed!! Thanks for the Knowledge!!!

  • @wayneedmondson1065
    @wayneedmondson1065 3 роки тому

    Awesome Mynda and Phil! Thanks for the tips and the explanation of the underlying unicode logic for Text.Select and Text.Remove. Very useful! Thumbs up :))

  • @shrikantbadge3978
    @shrikantbadge3978 11 місяців тому

    Thanks

  • @cesarsaldana3429
    @cesarsaldana3429 Місяць тому

    Amazing!!

  • @vikranttyagi5232
    @vikranttyagi5232 3 роки тому

    Thanks alot for all these great lessons.

  • @Luciano_mp
    @Luciano_mp 3 роки тому

    Fantastic tip, great. Thank you Mynda!

  • @datascientistoflife8550
    @datascientistoflife8550 3 роки тому

    Great so easy ...to seprate the int and string...

  • @joeparris
    @joeparris 3 роки тому

    Super useful for so many scenarios. Thanks!

  • @meniporat3527
    @meniporat3527 3 роки тому

    Thanks a lot, Mynda & Philip
    Excel-lent, as usual.

  • @samyruiz3516
    @samyruiz3516 2 роки тому

    Great explanation! Super useful!

  • @arturoguzman5230
    @arturoguzman5230 2 роки тому

    Fantastic!

  • @darrylmorgan
    @darrylmorgan 3 роки тому

    Hi Mynda/Phil!Great Tutorial From Phil Really Well Explained...Thank You Both :)

  • @chrism9037
    @chrism9037 3 роки тому

    Very helpful Mynda, thanks!

  • @MonirulIslam-nc4kn
    @MonirulIslam-nc4kn 3 роки тому

    Really like the way you explain things. I have learnt a lot from your tutorials but in one situation which I am not able to solve. Can you help please?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Great to hear! Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 роки тому

    Very useful video! Thank you so much! 😊👍

  • @SonuPandey-me4fs
    @SonuPandey-me4fs 3 роки тому

    super again it's very informative and useful to clean data.

  • @shoryaarora1464
    @shoryaarora1464 3 роки тому

    Wow love it

  • @missyrobert7000
    @missyrobert7000 3 роки тому

    SO helpful! Thank you!!

  • @GordonWood235
    @GordonWood235 3 роки тому

    Great tip. Thanks

  • @rogermartinez9366
    @rogermartinez9366 3 роки тому

    Amazing, thank you.

  • @mueez89
    @mueez89 2 роки тому

    Awesome!

  • @joaquimcosta952
    @joaquimcosta952 8 місяців тому

    Amazing..

  • @briandennehy6380
    @briandennehy6380 3 роки тому

    Awesome video so useful thanks!

  • @FEBear1
    @FEBear1 3 роки тому

    Fantastic tip, thanks so much

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Our pleasure 😊

    • @FEBear1
      @FEBear1 3 роки тому

      @@MyOnlineTrainingHub Mynda, can you recommend the right book for me to learn the M language? I tend to use the column from examples rather than coding it myself but I'd like to be able to

  • @hamidsh4789
    @hamidsh4789 3 роки тому

    Awesome. Thanks.🙏

  • @hajeraabdullah9157
    @hajeraabdullah9157 3 роки тому

    pure genius!

  • @gauravgupta7263
    @gauravgupta7263 3 роки тому

    Thanks! wonderful tutorial, How can I get only text (Upper and Lower in the same sequence). I just want to remove the numbers and the special characters? Really appreciate your explanations

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Thanks Gaurav. You can use this to extract only letters: Text.Select([Text], { "a".."z", "A".."Z" })

  • @realpulsecoin
    @realpulsecoin 3 роки тому

    This helps alot! Great!

  • @labully3626
    @labully3626 11 місяців тому

    Thank you for this. It's very helpful. Are you able to please suggest a solution for an alphanumeric string that I need to clean up and convert to number. It's a banking record. It has a "C" at the end to represent a credit. For instance, 800.00C is meant to be -800.00 on the bank statement. (900.00 is as stated (i.e., debit 900.00). So in this instance, I would like to keep the 900.00 as is and convert all numbers that have a C at the end to a negative number. Thanks for any assistance you can provide.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  11 місяців тому

      Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

    • @labully3626
      @labully3626 11 місяців тому

      @@MyOnlineTrainingHub Thank you. I have just done so.

  • @carmenangosto819
    @carmenangosto819 3 роки тому

    This is lit.

  • @mycanont3i
    @mycanont3i 2 роки тому

    HI ..How can I remove a particular text from the column from query editor. For instance if I want to remove the word" city "from the text San Juan city

  • @justyclacky
    @justyclacky 3 роки тому

    Great Content!

  • @carlosbastos9755
    @carlosbastos9755 2 роки тому

    Great tips. I really think that a native regular expression formula would be nice. I managed to use regular expression in PQ through JavaScript but it is very slow. Do you have any tips?

    • @philiptreacy714
      @philiptreacy714 2 роки тому

      Hi Carlos, I haven't really used RegEx through JS, maybe if you provide an example I can see how it performs for me.

  • @sireeshatammineni3851
    @sireeshatammineni3851 7 місяців тому

    Hi, if there number rows also included - I want to show only number rows not included alphanumeric rows.. what will be the code we have to write

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  7 місяців тому

      Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

  • @JenMayB
    @JenMayB Рік тому

    Thank you very much. I am trying to extract a specific character string of seven characters that starts with a six that is in a text field the size of a large paragraph. I cannot figure out the code to extract when it is starts with a six and those seven characters.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому +1

      Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

    • @JenMayB
      @JenMayB Рік тому

      @@MyOnlineTrainingHub thank you for replying. I work with gov data and do not feel comfortable trying to turn it into sample data. I will continue looking for the answer.

  • @deborahrose1965
    @deborahrose1965 3 роки тому

    can you do a video on concatenation. I want to know how to create a text base template. I want to be able to build a template that my students fill in and then the summary of the text appear in another cell, only once the first set of cells have been completed.....could you do a tutorial like that please....thanks

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Hi Deborah, it's probably quicker if you post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @kiler40
    @kiler40 3 роки тому

    Great Video! Can this technique be used if desired text is in another sheet? and is a table? Thanks!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Thanks, Andrey! Yes, the text can be in another sheet and is a table.

    • @kiler40
      @kiler40 3 роки тому

      Thanks for the replay. Maybe forgive my english, but my question is if the desired text {"search 1"... "Seatch 10"} is not in brackets but is a table in another sheet. I do not know the syntaxis but something like {Sheet1!Table_desired_search}

  • @bn_ln
    @bn_ln 2 роки тому

    I don't have intellisense when adding custom columns, is this just due to my old excel version (2016) or is there a way to enable it?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 роки тому +1

      Yes, it's due to your version. You can't enable it as such. You have to upgrade to a later version of Excel.

    • @bn_ln
      @bn_ln 2 роки тому

      @@MyOnlineTrainingHub thanks

  • @JohnRenfrow
    @JohnRenfrow 3 роки тому

    Is there no power query editor on mac?

  • @chetanrane8191
    @chetanrane8191 2 роки тому

    Ma'am in power query, How to solve the problem of 1000 rows limit reached in filter option as I filtered my data but it was applied only on 1000 rows & not working on after 1000 rows.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 роки тому

      The filters are applied to the entire dataset upon Close & Load, so it sounds like there's another issue. If you need to see more items in the filter drop down in Power Query, you can click the link at the bottom of the filter drop down to show more.

  • @tlsrinivasan
    @tlsrinivasan 2 роки тому

    Hi I have a question : I have a huge list of customers names that start with A to Z and I would like to filter those customers names starting from A to L and only show me other customers names starting with M to Z. Customer names starting from A to L is handled by Group A and Customers names starting from M to Z is handled by group B. How do I filter that using power query?
    Thanks in advance..

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 роки тому

      Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @angelav7999
    @angelav7999 Рік тому

    How to remove only first for ex 3 characters?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      There's a button on the Transform and Add Column ribbon to Extract the first n characters.

  • @thomasscariav
    @thomasscariav 3 роки тому

    Hi, Thanks for this video! In the last example to extract number how to convert the column to number datatype in the same step?

  • @mayorsd_wise7
    @mayorsd_wise7 Рік тому

    Please, which version of excel is this?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      It's Microsoft 365, but this should work in earlier versions of Excel too..

    • @mayorsd_wise7
      @mayorsd_wise7 Рік тому

      @@MyOnlineTrainingHub Appreciate it. Still got a problem getting the from table/range menu. After i click on the cell, then go t o the data, i don't see the from table/range. Need a way around this please.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      Please post your question and screenshot of your menu on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @18hourscold87
    @18hourscold87 10 місяців тому

    how to remove or extract duplicate text in a string? 'dog, fish cat, dog cat/fish cat dog'

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +1

      Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

  • @user-tl7yh2zy7t
    @user-tl7yh2zy7t 3 роки тому

    Amazing!Thank you a lot!