Excel Magic Trick 559: Extract Nth Word In Text String

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • Download Files:
    people.highlin...
    See how to Extract First, Last or Nth Word In Text String using the following functions:
    SUBSTITUTE, LEN, SEARCH, REPLACE, LEFT, RIGHT, MID.

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

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    For back and forth dialog to get custom Excel solutions try THE best Excel question site:
    mrexcel [dot] com/forum

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

    Absolutely Beautiful, lelandusa!!!

  • @excelisfun
    @excelisfun  15 ปีที่แล้ว

    Yes, inserting a character as a marker is a good trick to have up the sleeve.

  • @excelisfun
    @excelisfun  15 ปีที่แล้ว

    Yes it does save a lot of time!!

  • @excelisfun
    @excelisfun  14 ปีที่แล้ว

    I am not sure. But no problem, try THE best Excel question site (with 1000s of true Excel masters):
    mrexcel[dot]com/forum

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

    That's Awesome Mike.

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

    a really great way to extract, thank you :)

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

    Thanks sir, very helpful video. But I want to know whether we can extract more than one word. You have taught to extract one word from the middle of a line, in this video, but I want to get more than one word from a line.

  • @krn14242
    @krn14242 15 ปีที่แล้ว

    Wow, like the clipboard copying... does save a lot of rewriting.

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

    How I can find that last occurrence of a matching text in a given string? Say I want to find the last position of "." in a string. Then, I want to extract everything after this position, how I can do that?

    • @abhiseksingh4886
      @abhiseksingh4886 4 ปีที่แล้ว +2

      If it si about extracting everything after period (.) U should used text to column instead. Can refer to a good video ,if u wish to do so, on TH-cam channel "OFF TO OFFICE"

  • @mihayonkuba3732
    @mihayonkuba3732 12 ปีที่แล้ว

    Hello ExcellsFun; I am working on a spreadsheet with huge information and I am struggling on how to extract, for instance, specific texts and/or numbers from a cell with concentrated data in it. Here is the example: "2212/221203 (Budget
    Allocation/Use of Goods and Services/Water
    & Energy/Gas"
    Question: how can I, with a formula, be able to easily extract to the next cell, a number such as 221203 or a text eg, goods and services?
    I would really appreciate your help. Thanks a lot.

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

    HI, i need to extract text between two words and i am using below formula but its not working can you help ? i am trying to find all the words between KTE AND FUT, IFERROR(MID(A9,SEARCH(“KTE”,A9)+LEN(“KTE”),SEARCH(“FUT”,A9)-SEARCH(“KTE”,A9)-LEN(“KTE”)),””)

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

    Dear all, How could I write a formula to separate all this months in separated cells? many thanks
    April/Oct
    Feb/May/Aug/Nov
    March/Sept
    Feb/May/Aug

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

    The text string is "47 Nelson Street Kettering Northamptonshire NN16 8QN" in Cell A2.
    Here I need the street(47 Nelson Street), Town(Kettering), county(Northamptonshire) and Code(NN16 8QN) in each separate cell of a row.
    How to do this? Give me the formula for each retrieval.
    Also, another string is "Ref. No: 19/00443/EPHMO Status: Current Licence Applicant Name: Mr Jack Oliver McLoughlin" in cell A3.
    I need only the ref no (19/00443/EPHMO) and the name (Mr Jack Oliver McLoughlin) in separate cells.
    Help me with these formulas.

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

    Sir, I request you to please make a formula in which I can extract two or three words from the middle of the line of a cell in Excel. I have made different formulas for both, but I am not able to form a formula by mixing them both. I am sharing both those formulas with you. You are requested to mix these two and make a formula so that I can extract two or three or four words from a line in a cell. Please Please
    (To extract one word from mid of line)
    =Trim(MID(SUBSTITUTE(B6," ",REPT(" ",LEN(B6))),(C6-1)*LEN(B6)+1,LEN(B6)))
    (To extract 2 or 3 word from the starting of the line)
    =TRIM(LEFT(B1,FIND("~",SUBSTITUTE(B1," ","~",A1)&"~")))

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

    Fucking intense. Thanks dude.

  • @Lofty.308
    @Lofty.308 8 ปีที่แล้ว +3

    I fucking hate Excel, makes my brain hurt.

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

    what about if some text type in "abc, asd " that style, I am waiting for your response