Excel: Check IF Cell CONTAINS TEXT From LIST

แชร์
ฝัง

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

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

    This is great. What I really need is to see it say "Pan", "Knife" or "Chocolate" in the B column

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

      I also need the same please help if you found the solution

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

      I was also hoping to see "Pan", "Knife" or "Chocolate"

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

    Beautiful and useful thank you very much. I would have a request if I may, do you know any way to output the found value instead of just "yes" and ""? that would be awesome if would share that with us.

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

      =IF(OR(COUNTIF($E2,"*"&$AE$2:$AE$17&"*")),"yes","no")
      =TEXTJOIN(", ", TRUE, IF(COUNTIF($E2, "*"&$AE$2:$AE$17&"*"), $AE$2:$AE$17, ""))

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

    Instead of "Yes" or "" as the return value, is it possible to change the return value to the matching text? For example, if left column contains "Chocolate", then right column will return the value exactly as "Chocolate". I'm working on an inventory list and I'm hoping to automatically list the characteristics of items based on their text description. Any help is greatly appreciated! Lastly, thank you for taking the time to put together this easy-to-follow and concise tutorial!

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

      You will find the answer in this video; th-cam.com/video/4l97D0A2wIw/w-d-xo.html

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

      Try searching "Display matches if the cell contains text from a list" you will want to use a TextJoin function at the beginning.
      Using his example: =TEXTJOIN(", ", TRUE, IF(COUNTIF(A1 "*"&$D$2:$D$4&"*"), $D$2:$D$4, ""))
      In text terms: =TEXTJOIN(", ", TRUE, IF(COUNTIF(CellBeingSearched, "*"&Table or Range&"*"), Table or Range, ""))

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

      =IF(OR(COUNTIF(A2,"*"&$D$2:$D$4&"*")),INDEX($D$2:$D$4,MATCH(1,COUNTIF(A2,"*"&$D$2:$D$4&"*"),0)),"")
      Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

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

      @@oliverscheurich9202 thanks mate worked like a charm :)

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

      @@oliverscheurich9202 Thanks, save my day!

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

    Thank you for the very good video!
    A question please: What do I have to do in order to get the line+row of the cell of the List of column D that was found in each cell of column A, instead of the "YES" answer

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

    At the very end, how to return the same words from that list? So it will looks like extraction of a certain text from the same list it looking at.

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

    Instead of result yes or true, i need to see the result as Pan or Knife. Please help

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

    Hi all, i tried and the result will not work for the 2nd item onwards from the list. Example it only searches for "Pan" and not "KNI" & "Chocolate". What is the issue here? thanks.

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

    This is really useful. This is great. What I really need is to see it say "Pan", "Knife" or "Chocolate" in the B column. If it is yes.
    please assist

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

      Were you able to solve this?

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

      =IF(OR(COUNTIF($E2,"*"&$AE$2:$AE$17&"*")),"yes","no")
      =TEXTJOIN(", ", TRUE, IF(COUNTIF($E2, "*"&$AE$2:$AE$17&"*"), $AE$2:$AE$17, ""))

  • @Penelopa13
    @Penelopa13 7 หลายเดือนก่อน

    Could you maybe help please, I have the following situation: first value (product name) from the list, second value is the rating from the list and third value is the amount. My task: if i choose value 1 and insert rating, i want to calculate: the product with specific rating to result into respective number.
    If i have product X and rating Y, take the amount Z.
    Thanks 🙏

  • @Laucilan12
    @Laucilan12 9 หลายเดือนก่อน

    Ohh my god, finally a video i needed. Thanks man. Searching for this function for 1 hour now. Is it possible to refer them in the function with names or it s just easier like this? I am working on an automatic monthly budget calculator linked with my bank account.

  • @ta-wingpoon6798
    @ta-wingpoon6798 3 ปีที่แล้ว +1

    instead of showing yes as the outcome, can you have it returning as pan or chocolate instead?

  • @Alyanna-g6k
    @Alyanna-g6k 3 หลายเดือนก่อน

    May I ask if How about countif for a specific "number list"? Do you have any excel formula for this scenario? Thanknyou

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

    I was about to dislike man, but completed the whole video and found that shift and enter stuff! IT DID WORK.....
    THANKS, A LOT MAN!

  • @mailpulak
    @mailpulak 3 หลายเดือนก่อน

    Does this work on Google sheet? I'm doing this exactly and then looking up a value adjacent to list value.

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

    Thanks... Can you advice if instead of True/False or Yes/No, I need the result to reflect from list i.e Pan, kni, or Chocolate

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

    I am not getting correct result..even I'm trying exactly the way it is shown in video..can you help it out ..??

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

    Thanks Chester, did exactly what I wanted and nicely explained, esp why the formulas on Excel help sites were not working on O365. Really enjoyed the "oops moment" when you didn't lock the cells before coping down - we've all been there! I didn't know the F4 trick so 2 lessons in 1
    Again, thanks

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

    Thanks for the video. Ive been searching for this info for ages!

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

    Hey this is not working for me. When I press F9, it does show me 1 for the correct match. but it does not display it as the final outcome. What to do ?

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

    Perfect. To the point with just the right cadence. No intro... Just spot on.

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

    Exactly what I was looking for. To the point and works perfectly!

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

    This is exactly what I'm looking for but I need one more step accommodated. Rather then just saying "yes" column B, can the formula be adjusted to show which one of the list was found in the cell in column A?

  • @Freeman4815
    @Freeman4815 11 หลายเดือนก่อน

    It worked for me for ctrl shift enter, I have 2016 version. Thanks very much!

  • @Mark-hh9du
    @Mark-hh9du 11 หลายเดือนก่อน

    Hello sir, is it possible to this in power query?

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

    Amazing. Helped me at my job today with a complex project!

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

    Still don't get why doesn't work withour the "array" method, but did work for me in the end. Thanks! Voting thumbs up!

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

    In order for formula to work in prior versions you need to hit SHITF CRTL Enter

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

    HI! YOU HAVE EXPLAINED IN A VERY INTERESTING MANNER. BUT I HAVE A QUESTION FOR YOU ON XLOOKUP.
    SUPPOSE YOU HAVE CREATING A TABLE AND IT HAS THREE COLUMNS
    IST COLUMN CONTAINS SERIAL NUMBER FROM 1 TO 10
    SECOND COLUMN CONTAINS NAME IT HAS TEN NAMES BUT TWO OR THREE NAMES ARE REPEATED LIKE JOHN REPEATED FOR THREE TIMES.
    THIRD COLUMN HAS FATHER NAME. IN THIS COLUMN TEN DIFFERENT FATHER NAMES HAVE BEEN GIVEN
    NOW, IN NEW CELL SAY F1 VIA DROP DOWN LIST OR MANUAL TYPING OF SERIAL NUMBER WE NEED NAME IN F2 CELL AND FATHER NAME IN F3 CELL.
    IS IT POSSIBLE USING XLOOKUP?
    IF YES THEN PLEASE GUIDE. THANKS.

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

    I need this formula to also return the positive match of the text withing the list. How do I do this?
    Essentially I need to find the string of the text of on the left table and match and draw the the matching text from the table reference.
    Example: if A2 contains pan against the table reference, then draw matching pan.

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

    You probably saved my life tonight haha, I was pulling my hair out over an assignment and you had the answer. Thanks!!!

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

    Chester, handy info! .. I'm wondering if you can show instead of a Boolean the name as per the Index {1,0,0}?

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

    Man the perfect thing am looking for, your the best. However if the rnag or criteria is huge my excel starts hanging.

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

    Excellent tutorial... how would you populate the 'In List' column B, if you had values in column E for each item in the list?

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

    Thank you so so much. This was exactly what I needed to modify for a compare I need to run for our team

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

    Hi chester..thank you for sharing ..
    I have a little problem ..
    When I enter all the formulas, the formula only reads the first list which is correct..the others are wrong ..
    Could you please help me,

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

    What if I need value instead of yes or no??? ✌️

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

      I had same question I figured it out don't know if it will work for you BUT go back to this part
      =(COUNTIF(C2,"*"&E2:E33&"*"))
      and then multiple by whatever value makes sense from 1 for you for me that number was *20 or *-20

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

      =IF(OR(COUNTIF($E2,"*"&$AE$2:$AE$17&"*")),"yes","no")
      =TEXTJOIN(", ", TRUE, IF(COUNTIF($E2, "*"&$AE$2:$AE$17&"*"), $AE$2:$AE$17, ""))

  • @rameezraza2700
    @rameezraza2700 4 หลายเดือนก่อน

    Can i search by time?

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

    How do you get it to reflect the value instead of 1/true?

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

    Hi!
    Im struggling with the following formula I would like to use.
    Column B has got text. With discriptions and names etc.
    Column B is in a table called (discription)
    For this column I use the =IF(COUNTIF(discription,''*abc*'',''A'',"")
    But I want to add another if to this formula for example =IF(COUNTIF(discription,''*123*'',''B'',"")
    And 3 to for more IF('s)
    Im stuck, hope someone could give some advice ✌️🙏

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

      Based on the example in the video you can try this :
      =IF(OR(COUNTIF(A2,"*"&$D$2:$D$4&"*")),INDEX($D$2:$D$4,MATCH(1,COUNTIF(A2,"*"&$D$2:$D$4&"*"),0)),"")
      Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
      In your example i don't understand : =IF(COUNTIF(discription,''*abc*'',''A'',"") .
      Maybe you want something like : =IF(COUNTIF(discription,''*abc*''),''A'',"") ?

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

    Hello! This is brilliant! This is exactly what I am looking for, plus, how can I tell excel instead of writing YES, return the value it contains from the list? let's say instead of writing yes in col 18, I want excel to return the Broiling Pan for me?

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

      Do you want to return "Broiling pan" from cell A18 from the Product column?
      =IF(OR(COUNTIF(A2,"*"&$D$2:$D$4&"*")),TRIM(RIGHT(A2,LEN(A2)-FIND("-",A2))),"")
      Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
      Do you want to return "pan" from the List table in range D2:D4?
      =IF(OR(COUNTIF(A2,"*"&$D$2:$D$4&"*")),INDEX($D$2:$D$4,MATCH(1,COUNTIF(A2,"*"&$D$2:$D$4&"*"),0)),"")
      Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

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

    Thanks, that's handy, but how to pick the exact value matching from the list?

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

    Great video! I'm attempting to automate this in VBA but the list size I use changes. I'd rather just highlight the column that the words im looking for will be in. Do you know if there is a solution for that?

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

      Hi Sam, there will be but I don't have a video that covers that particular scenario. You can contact me via bluepecantraining.com to access services if you are still stuck.

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

      Chester Tugwell I found a temporary alternative using formulas based on the word patterns. I’ll check out the site, thanks!

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

    Good one....very helpful....thank you for sharing

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

    Almost what I need! How do I combine this with 'Ends With' a certain list of text?

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

    Fantastic and saved the day. Thank you!

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

    Great tutorial thank you so much! 🙏

  • @chrismar2462
    @chrismar2462 2 หลายเดือนก่อน

    Subscribed. You're a genius

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

    Hey how can i do a exact match here...???

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

    exactly what i was looking for! Thanks!!

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

    FANTASTIC VIDEO!! I've looked everywhere for an easy way to do this and now I've found it!
    Thanks so very much!
    One issue I ran into though... if a term in the List Column matches ANY part of a word in the Product Column... it identifies it. This is a big issue for me as I'm doing Keyword Research and I want to delete the terms that are in my "Negative Keywords" Column (your "List" Column) from the actual Keyword Research Column. For example... one of the words in my Negatives Column is "lack". When I used your method to identify the terms, it brought back a number of terms that didn't match ANY of the terms in my Negative Keyword Column... Those Keywords all contained the word "black", and it flagged them because the term "lack" was in my Negatives column. So basically it's matching literally ANY part of any word (not just complete words)... so because "lack" is part of "black"... it's flagging it.
    So... I was curious if you know of any further magic that would alleviate this issue? Just curious my friend... I'll make due in the meantime, but if you wouldn't mind helping me with this issue I would be very appreciative!
    Thanks again!! You're the BEST!!

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

      If you concatenate " " between "*" and your search list, it will mean the word must start with "lack". You can do the same at the end (but that would remove lacks, lacking etc.

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

    thank you so much, Chester

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

    Thanks a lot. This helped me a lot by simplifying my work!

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

    you sir just saved my day :)

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

    Thanks! This is exactly what I was looking for.

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

    omg this is totally what i looking for the whole time , thank you sir

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

    Very handy! Thank you!

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

    This was brilliant just what i was looking for! Please keep them coming

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

    You are a savior of the day

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

    Very nice 👍

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

    You make my day, thanks mate

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

    Genius thank you

  • @KBPLuS-vb1fr
    @KBPLuS-vb1fr 3 ปีที่แล้ว

    thank you ! do more please !

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

    Excellent explanation, thank you.

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

    Legend, thank you!

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

    You save my day!

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

    Nice ....Thanks

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

    Danke!

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

    Hi! congratulations for the channel, very useful !. I have a question: is there a formula that tells me that the cell of numbers with a central space "10 30 50" is included in the number cell "5 10 30 40 50" and that returns me as a result the cell "5 10 30 40 50 "? can you help me? it's important please.

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

    I’m very glad you broke down each step with the keyboard shortcuts. ✌🏻thank you