If Text Contains Word - Excel & Google Sheets

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Learn how to check if cell text contains a word in Excel and Google Sheets. This tutorial covers if various statements that check if text contains, starts with, ends with a word and other types of partial matches.
    #excel #googlesheets #contains #tutorial

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

  • @claytonlaramie7859
    @claytonlaramie7859 4 ปีที่แล้ว +8

    What about matching any values from a range instead of just one value? I.e. is there a match with anything in another list?

  • @GavinHaughey
    @GavinHaughey 3 ปีที่แล้ว +3

    That's really useful. Can you get the formular to instead of displaying TRUE/FALSE but to display the information from another cell. ie: If "specialist" then display "birthday" (K column) ?

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

    I'm watching your second video and I need to correct myself. In a nutshell, you are all-round awesome man. I thought you could only show me what I can do with node but I was wrong.

  • @FORYOU-wb1rx
    @FORYOU-wb1rx ปีที่แล้ว +1

    How to two words find by one cell?

  • @DiaborMagics
    @DiaborMagics 10 หลายเดือนก่อน

    Thank you. Is it possible to check if any cell in a range contains any text from another range?
    For example, in column A you have full names and in column C you have first names. Can you then let it check (even better: highlight with conditional formatting) if any of the cells in A contain any of the first names in C?
    Column A:
    John D
    Katherine O
    Marcel K
    Column C:
    John
    Marcel
    Can we have it highlight John D and Marcel K in column A, because it checks if the cells contain John or Marcel from column C?

  • @concun6607
    @concun6607 3 ปีที่แล้ว +2

    Instead of using Match() , I use Countif(). In this case, the result is 1 (TRUE) or 0 (FALSE).

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

    I cant explain the love and respect for you which I have, after watching your every video

  • @sweetmask1690
    @sweetmask1690 27 วันที่ผ่านมา

    Is there any other way to save only those words or data that i need?
    Example there are 1000 words but i want only a word “absent” to be recorded on my different sheet.

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

    how to find long tail words as EXACT, PHRASE and BROAD type from text?

  • @83southpaw
    @83southpaw 3 ปีที่แล้ว +2

    I’ve learned so much from your videos thank you so much!!

  • @A2ZEntertainment2
    @A2ZEntertainment2 ปีที่แล้ว

    Thank you but i have one question. What to do if cell c is a match but i want excel to pick the number from cell d. Like if mangoes in detail then pick the price from cell D and total it in cell E.

  • @hoiyinwan8233
    @hoiyinwan8233 4 ปีที่แล้ว +3

    That was so useful. I like the regular expression part, I have seen the other videos that you have made on this topic. I find it most interesting, I hope you will make more soon. Thank you.!

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

    Match does not work for sure. I did exactly what you said. The fields the contain "WA" for my match, say N/A in fields that DO contain "WA"

  • @anfas184
    @anfas184 4 ปีที่แล้ว +1

    much much thanks. your videos are brilliant and helpful

  • @Polaynka_Bolgarka
    @Polaynka_Bolgarka 6 หลายเดือนก่อน

    Why I don't find this formula in my google sheet.

  • @pancux670
    @pancux670 4 ปีที่แล้ว +1

    Thank you so much. Your videos on Google sheets are very helpful.

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

    I dont know why its working in one column and not the other

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

    For Excel how to create a formula to return the actual text or value instead of True, False, Yes, No,1,0 for example finding phone numbers ???-???-???? and state ?? in text strings that are not uniform or unaligned

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

      This doesn't work? th-cam.com/video/rC2E6tEZFro/w-d-xo.html

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

      My friends, I have answered and resolved my own question using techniques from this video and others for returning or extracting values in uniform or unaligned text strings. the formula I constructed is quite simple its =MID(A2,SEARCH("(???) ???-????",A2),SEARCH("(???) ???-????",A2)+13-SEARCH("(???) ???-????",A2)+1), this formula is set up for when the phone numbers formats is
      (000) 000-0000 if the format varies then there will be a need for a more dynamic formal and you can tinker with the formula on the (???) ???-???? and the +13. hope this helps someone here.

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

    Hi! What "star" are you using? for some reason, this formula is not working with me

  • @kummithavenkatareddy2302
    @kummithavenkatareddy2302 ปีที่แล้ว

    A B C D E F(Result Colum)
    FiledName
    PolicyName Y Y Yes
    AccountNumber Y Y Y Yes
    PolicyHolder Y No
    *Y=YES, if the letter Y is present in more than one column i need "Yes" in the Result Column otherwise it is "No". Pls tell the formula in excel

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

    I want to compare addresses on one google sheet to another google sheet, but the address name is 123 Main St and on the other sheet it is 123 Main. How do I write the formula to find these addresses as a match?
    =IFERROR(VLOOKUP(A2,IMPORTRANGE("SHEET ID","'TAB NAME'!C2:$F50"),1,0)," ")

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

    nesting "=if(isnumber(match(" in =if function works wery well! thank you!

  • @rucvv
    @rucvv 4 ปีที่แล้ว +1

    Thank you so much. Learned a lot

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

    Hi, I want to Highlight wherever specialist with red color AND travel with green colour. I believe my question you understood. Sorry for wrong English.

  • @Asparuh.Emilov
    @Asparuh.Emilov 3 ปีที่แล้ว +1

    Thank you so much for the great explanations! You are definitely the best teacher! Can I ask you to think about the possibility to create videos about how to translate any of the functions we are using in Google Sheets inside Python with Google Colab ?

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

    How to delete a specific cell (not row) that includes specific word or text?

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

    Thanks for the video, I couldn't find the MATCH function in google sheet and it took me 30 minutes to know that Google made a translation of its functions, so my browser is in french and I had to make =EQUIV and not =MATCH, equiv from equivalent in french that simply means MATCH, well I'm wondering why Google is translating the functions!

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

      That's interesting. Makes no sense to me, but there might be some explanation to this.

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

    I can't match cell to a cell. Only a text to a cell. Do you know how to solve the problem?
    This will really help me.
    Thanks!

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

    Can you do any of this with 2 expressions? For example, ou want the column cell to say 'Yes' IF the reference cell contains either 'specialist' or 'manager' or both?

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

      Yes th-cam.com/video/NM5-bAUP29U/w-d-xo.html

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

    how about if i have a couple of words to search in a cell?

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

    This is very useful and I learned a lot. I made sudo javascript code on what I want to do and I tried to do it but I failed. The sudo code I wrote was:
    If(G2 == “1” & H2 == “0”){
    A2 = 2;
    }else if(G2 == “0” & H2 == “1”){
    A2 = 1;
    }
    My attempt at making this in a formula was:
    =IF(And(isnumber(MATCH("*1*",G2,0)),isnumber(MATCH("*0*",H2,0))),"2",IF(and(isnumber(MATCH("*0*",G2,0)),isnumber(MATCH("*1*",H2,0))),"1","0"))
    However this did not work, it just outputted 0. Is there any way to recreate the sudo code in a formula?

  • @SolarSal
    @SolarSal ปีที่แล้ว

    Hello! Thank you for all your tutorials! I follow you on multiple channels that are designated for certain things, and you always help me overcome the formula/function challenges I have. However, I’ve recently come across one that has stumped me. Maybe you have insight…?
    I’m trying to search a single cell for 1 of multiple partial text, but for each partial text match I want it to return a different value. For example:
    If C2 contains “*REC*” then I want G45 to return “REC”. But if C2 contains “*QCells*” then I want G45 to return “QCells”. (This is for a solar design/installation calculator to monitor/record solar panel type/manufacturer.)
    I’ve tried using combinations of IFS, SEARCH, but it won’t register past the first SEARCH function.
    Do you or anyone have any suggestions? It would be really truly appreciated.
    Thank you!

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  ปีที่แล้ว

      =IFS(ISNUMBER(SEARCH("REC",C2)),"REC",ISNUMBER(SEARCH("QCells",C2)),"QCells")

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

    Ok maybe someone can help me. I have in column A I put receipt totals, in column B I have a drop down box with pay types(cash, credit, account, other). What I am trying to do is IF the drop down says Cash I want the receipt total to show up in Column C, If it's Credit, Column D etc. HELP lol

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

      =IF(B2="Cash",A1,"") th-cam.com/video/hG5vKMb0Lpo/w-d-xo.html

  • @lazalazarevic6192
    @lazalazarevic6192 4 ปีที่แล้ว +1

    Great video. Thank you for reminding me of this!

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

    Besides if A = yes and if B= no, how can we put a formula so that a cell as a blank space if the reference cell is a blank space?

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

    Thank you for all of your super awesome videos!! Question: is it possible to use if Text Contains a Word in a google sheets A1 cell has a paragraph worth of text data in it to search the paragraph return the sentence with the word in it as the value? I am currently using this formula to find if the cell contains the word
    =IF(REGEXMATCH(LOWER(A1), "behavior"), "behavior", 0)
    but with a whole bunch of other text it's like trying to find a needle in a hay stack and the sentence would allow me to see the context in which the word was used.

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

    Awesome video... But it would be very much useful if you have provide these resources accessible as well... ✌

  • @GV-gn3mj
    @GV-gn3mj 2 ปีที่แล้ว

    Hi, could you tell me please if the if and ifs function work with wildcards in google sheets?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 ปีที่แล้ว +1

      they don't

    • @GV-gn3mj
      @GV-gn3mj 2 ปีที่แล้ว

      @@ExcelGoogleSheets Thank you! so basically if I wanna retrieve a word for a cell what would it be the easiest formula to do so? countif+if? example red black and I need only "red"

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 ปีที่แล้ว +1

      unfortunately it' unclear what you're trying to do.
      List several input samples with corresponding desired output.

    • @GV-gn3mj
      @GV-gn3mj 2 ปีที่แล้ว

      @@ExcelGoogleSheets no problem. Let me try. Lets suppose I have a colum with different values: example, in one celd I have red tape, in another one Black rule, in another one blue Sky, in another one yellow pencil. Now I need a fórmula that can be dragged down and retrieve for the first cell Red, then in another cell Black, then in another cell blue and finally an another cell of the column yellow. This is the idea. I appreciate your insights Just in case I was able to make my point across. Thank you in advance!

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

      I believe this should help th-cam.com/video/_RZYr8127fo/w-d-xo.html

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

    Hi, great video. I learn a lot. I have question though. I need formula that I can use for search entire worksheet for one word or sentence. For example: i have list of clients (name and surname or name of a company) and I need to find formula or set of formulas that allows me to find out is this name, surname or part of the name/surname pops out anywhere in worksheet X (or in few columns). My list of clients is in Sheet "Data": A1: ABC Ltd A2: Leila Lemon Bowl etc. For example I use this formula =COUNTIF(EU!R:R;"*"& $A$3:$A$713 &"*")>0 to find whether the name from sheet "Data" is in sheet "EU", but I receive TRUE only when complete name appears, and i want to receive TRUE even when in sheet "EU" is only ABC without Ltd or Lila Lemon or Leila Bowl. Can you please help me with my problem. I tried to use your formula, but I need somehow to arrange my data in sheet "Data" (those are data export from other application). There is a lot of data (1000 row or more) so I need some middle formula for that. Thanks a lot in advance. As I see it, I need formula in sheet data to arrange text from one column into few ones and than for each column i use your formula introduce above. "Text to Columns button doesn't working well because my data are way to messy.

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

      Unfortunately, there is no easy solution to this problem.

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

    How should I write this out on google sheets? I have 20 of such statements, and want to assign each step to its own %.
    Step 1 ->5%
    Step 2 -> 10%
    Step 10 -> 50%
    Step 20 -> 100%
    =(IF(isnumber(MATCH("*step 20*", F3,0)),"100%"),
    IF (isnumber(MATCH("*step 10*", F0:F0,0)),"50%"))
    Am I completely off-track?

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

    Hi what if you want to do multiple conditions? Like you have 10 different categories that you want matched with a different number. is there a way to do this with this function, im using google sheets right now. Thank you so much

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

      Use VLOOKUP th-cam.com/play/PLv9Pf9aNgemsFGVnodR4hrCmvFgNB5anQ.html

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

      @@ExcelGoogleSheets thank you so much!!

  • @21Dazzler
    @21Dazzler 3 ปีที่แล้ว

    What if I am looking to count number of records with a name within the cell?

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

      Use COUNTIFS th-cam.com/video/AKs3aEtaEKw/w-d-xo.html

  • @醉愛小優
    @醉愛小優 4 ปีที่แล้ว

    ThIs video is very useful for me ,thank you so much

  •  4 ปีที่แล้ว

    You are literally a god man, thanks to you ive been able to build a system only using google sheets, and appscripts

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

    Rewatch it again after a long time, excellent video, thank you for your hard work.

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

    it is possible to get a partial match for a long string?, example, I have a long string and I want to compare with another long string, if at least 1 is a match, return a TRUE statement

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

      It's not clear. Better example is needed.

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

      ​@@ExcelGoogleSheets In B2:H2 I have the name of the stores, B3:H3 I use textjoin to put several (like 50) items in a single cell, so every Col have the name of the store (Row 1) and the items that are available (Row 2). The objective is to find out if any of the stores sell the Item that I am looking for.
      My Item List is A4:A34, the formula is -- =or(arrayformula(isnumber(match("*"&SPLIT($A4" ",true,true)&"*",
      "*"&B$3&"*" ,0))))
      A4 ---- First line on my list of ITEMS
      B3 ---- All the products that the first store sell

  • @jjones-l8n
    @jjones-l8n 3 ปีที่แล้ว

    I have this function and I'm using it to search for all the instances of "ice" but its also pulling all the companies with the word service in them too which is a lot -- how would I fix that?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 ปีที่แล้ว +1

      Are you in Excel or Google Sheets?

    • @jjones-l8n
      @jjones-l8n 3 ปีที่แล้ว

      @@ExcelGoogleSheets, I'm using Sheets, but I actually found a solution
      =ISNUMBER(SEARCH(" ice ",""&D3&"") )
      THANKS THO!

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

      That will be incorrect if your phrase starts or ends with ice, but if it works for you then good.

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

    Reallyy helpful mate! Thanks!!!

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

    Hi, today i hace watched a google sheet pivot table video from you. Need your help: need thetable brong me each word value fom each column, not numbers, and it seems on value menu only to work with numbers, any idea how can i reach this? I have a table that bring the data from a lot of month sheets , most companies are in all sheet, so it came as a new row for each month and i need to build a table that si tetize one row for each company, one column for each montb , but cant bringthe data if value is not a number, as i dpnt need to sum nothing. Thlk

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

    Thank you so much, i have learned soo much from you

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

    Great content, much appreciated.

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

    Hi. Can you search for 2 separate words in a cell? E.g. in your video under Cell K8, either special or counselor can be used to search & even if it only has 1 of the words, it would still come back as a 1?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      REGEXMATCH(K8,"special|counselor")

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

      @@ExcelGoogleSheets Thanks. May I know what that character between special & counselor is called? I don't think I have ever used that before.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      pipe

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

    Thank you!

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

    Great! Awesome!!!

  • @Sulaimangalib
    @Sulaimangalib 4 ปีที่แล้ว +1

    You are the best boss I've ever found on youtube.
    Thanks, Thanks, and Thanks a lot. I've learned a lot from you.

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

    Really really great video!! 🙏

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

    Thank you very much !!

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

    Please never stop!