STOP Splitting Cells in Excel like this. Do this instead.

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

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

  • @bryancamareno2831
    @bryancamareno2831 2 месяца назад

    Great video 👍🏾 I didn’t know TEXTSPLIT could be used to split text to a table layout. I’ll be using that technique next time I run into a problem like this.

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

    Ok, but what would you do if you had data with people with middle name and without middle name?

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

      In the case of a group of names containing first-middle-Last and first-last, you can use a conditional function to calculate the number of delimiters in the string and take appropriate action based on its result. For example if there are 2 delimiters (spaces), use textsplit. If there is only one delimiter, use the textbefore and text-after functions

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

      @@gsgrady Sounds good, thanks :)

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

      @@Kamyl101 You're welcome. So in the case of a Full Name in cell A2 that may or may not have a middle name the formula would be:
      =IF(LEN(A2)-LEN(SUBSTITUTE(A2," ",""))=2,TEXTSPLIT(A2," "),TEXTSPLIT(TEXTBEFORE(A2," ")&" "&TEXTAFTER(A2," ")," "))

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

    It doesn't work with Excel 2021. The TEXTSPLIT formula is not supported.

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

    Very good video, I like text split especially when splitting my columns and rows. thanks Paul

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

    Exllent video