Excel - Using SEARCH with MID to Extract Text From a Variable Starting Point

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Exce's MID() function works well when you need to extract text from a known position within a longer text string. But it that position varies, you need to use SEARCH() to determine the starting point for MID().
    This video also looks at what to do when the data you need to extract varies in length.

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

  • @anntruongcpambaea7693
    @anntruongcpambaea7693 6 лет назад +2

    Thank you very much for creating this helpful video. For the data without a space at the end, you can try the following formula: MID(A3,SEARCH(E1,A3)+LEN(E1),LEN(A3)-SEARCH(E1,A3)-(LEN(E1)+1)

    • @granand
      @granand 3 года назад

      I knew some smart will answer, as I put a comment. Question: How do I know which is last ? say the excel and thousands of rows.

  • @cazmaj
    @cazmaj 2 года назад

    Fantastic video, really useful!
    I love Excel and great contributors like yourself!

  • @Pankaj-Verma-
    @Pankaj-Verma- 4 года назад

    Thank you so much for your kind help!

  • @michellecetlinski859
    @michellecetlinski859 3 года назад

    Thank you thank you thank you :)

  • @TheOligopeptide
    @TheOligopeptide 6 лет назад

    You could use the iferror function to create two more cases:one where you have only two exercises and another when you have only one instead of placing a zero, right?
    Also for the last qustion could you delete the space after the search? Something like minus one after the search?

  • @granand
    @granand 3 года назад

    Aha, this formula expects that the A column data ends with " " or the last items will fail.