Excel Challenge - Extract special characters Excel (Gsheets)

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 31

  • @LeilaGharani
    @LeilaGharani 4 месяца назад +1

    Love that Base function! Hadn't seen it before. Just went in a rabbit hole learning what it does and what it's used for. Fascinating! Thanks for sharing.

    • @ExcelMoments
      @ExcelMoments  4 месяца назад

      HI leila, it is not one of the commonly used ones. Fortunately, we now have REGEX, which makes this kind of extraction extremely easy, like you have demonstrated in your video

    • @LeilaGharani
      @LeilaGharani 4 месяца назад

      @@ExcelMoments 🙌

  • @westleyempeigne6541
    @westleyempeigne6541 3 месяца назад +1

    That’s impressive! Especially the Regex formula in Google Sheets!

    • @ExcelMoments
      @ExcelMoments  3 месяца назад

      Now we have it in Excel(Beta channel), so we are good to go 😀

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 месяца назад +1

    Ohhh. Much easier in Google Sheets. Microsoft should take good note. Thanks for the tutorial Victor.

    • @ExcelMoments
      @ExcelMoments  4 месяца назад +1

      Now, as easy in Excel, with REGEX in beta! 😀

  • @stevereed5776
    @stevereed5776 4 месяца назад +1

    Some nice solutions Victor, thank you for another master class

  • @rtrbs8383
    @rtrbs8383 4 месяца назад +1

    Thanks Victor Google seems to easy

    • @ExcelMoments
      @ExcelMoments  4 месяца назад

      bsolutely. But with the announcement yesterday, that function is now in Excel's Beta channel. So, Excel is not behind anymore 😁😁😁😁

  • @marektomanek1913
    @marektomanek1913 4 месяца назад +1

    these solutions are fabulous :) mine was very clunky :)

    • @ExcelMoments
      @ExcelMoments  4 месяца назад +1

      Hahahaha....shortest is not nwcesaarily best 😀

  • @ankurshukla2516
    @ankurshukla2516 4 месяца назад +1

    Thank you so much ❤️

  • @qadeerhussain5351
    @qadeerhussain5351 4 месяца назад +1

    Excellent

  • @williamarthur4801
    @williamarthur4801 4 месяца назад +2

    Just to be different ;
    =BYROW( F4:F7,LAMBDA(Txt,
    LET( alltext, REDUCE( Txt,SEQUENCE(10,1,0,1), LAMBDA(x,y, SUBSTITUTE( x,y," "))),
    special, REDUCE( LOWER( alltext ), CHAR(SEQUENCE(26,1,97,1)),LAMBDA(x,y, SUBSTITUTE( x, y, "" ))),special) ))
    Always look forward to your work, still think your insert blanks brilliant.

    • @ExcelMoments
      @ExcelMoments  4 месяца назад

      2 REDUCE functions! Just wow. Thanks for the kind comments

    • @williamarthur4801
      @williamarthur4801 4 месяца назад

      ​@@ExcelMoments you can then split the special to get jus the alphabet
      and a switch to looking t a drop down;
      LET(ra, SEQUENCE(10,1,0,1), txt, REDUCE( D4,ra,LAMBDA(x,y, SUBSTITUTE(x,y,"") )),
      numbers, REDUCE( D4, MID( txt,SEQUENCE(LEN(txt)),1),LAMBDA(x,y, SUBSTITUTE( x,y,"") )),
      special, REDUCE(txt, CHAR( SEQUENCE(26,1,97,1)),LAMBDA(x,y, SUBSTITUTE( LOWER(x ),y,""))),
      text, REDUCE(txt, MID(special,SEQUENCE(LEN(special)),1),LAMBDA(x,y, SUBSTITUTE( x, y, ""))),
      SWITCH( G3, "All", D4,"Text",text, "Number", numbers, "Special", special) )
      Thank you for the inspiration.

  • @oyekunlesopeju9312
    @oyekunlesopeju9312 4 месяца назад +1

    With BASE() function you do not need to convert the text to uppercase. We can thus shorten the formula length by removing the UPPER() function.

    • @ExcelMoments
      @ExcelMoments  4 месяца назад

      Thanks for your comment. I think you may want to test that again, Your function will only work without the UPPER if all characters in the string are UPPER CASE, but if you have lower case characters, they would be returned alongside the special characters. You can test and revert

    • @oyekunlesopeju9312
      @oyekunlesopeju9312 4 месяца назад +1

      @@ExcelMoments Hhhhhhmmmmm !!!!
      Let's make the [match_mode] of TEXTSPLIT() case_insensitive
      CONCAT(TEXTSPLIT(A2,BASE(SEQUENCE(36,,0),36),,1,1))

    • @ExcelMoments
      @ExcelMoments  4 месяца назад

      @@oyekunlesopeju9312 Great. So that's not because of the BASE function 😁😁 I already figured this was where you were headed.

    • @oyekunlesopeju9312
      @oyekunlesopeju9312 4 месяца назад +1

      @@ExcelMoments You're right !!! 👏
      Not because of the BASE() function

  • @Wozzuup
    @Wozzuup 4 месяца назад +1

    MAY 20, 2024
    New Regular expression (Regex) functions in Excel

  • @jugubitrus7295
    @jugubitrus7295 4 месяца назад

    Please what is the real life usage?

    • @ExcelMoments
      @ExcelMoments  4 месяца назад +1

      I can think of a usage for removing the special characters. There have been times when i copied data from some legacy system to excel and it did come with some special and non-printable characters when pasted. A technique like this can allow you to remove the special characters and retain only proper texts, if I may call them that.

    • @oyekunlesopeju9312
      @oyekunlesopeju9312 4 месяца назад

      Data Cleansing !!!