Excel IF Function with PARTIAL Text Match (IF with Wildcards)

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

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

  • @LeilaGharani
    @LeilaGharani  9 месяцев назад

    Grab the file I used in the video from here 👉 pages.xelplus.com/if-wildcard-file

  • @jays9591
    @jays9591 Год назад +5

    I had to check 7,000 entries of comments (long'ish text) from customers, we were interested in finding a particular word in the comments. Your tutorial here just saved me days of boring 'eye-balling' work, Wonderful! Thank you. BTW, I prefer your style of teaching than many others - it's always clear, no rambling and intuitive. Many thanks again.

  • @BrianMegilligan
    @BrianMegilligan 5 лет назад +14

    I appreciate that you take us through the steps of things that won't work and explain why. This makes it easy to follow and is useful for cases where those functions that don't work in this case might be useful for something else we encounter in the future. Thank you for your work on this!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +3

      You're very welcome Brian. I'm really glad if I can provide some useful alternatives.

    • @andrew3amb
      @andrew3amb Год назад +1

      @@LeilaGharani THANKS! But there is other variant how to say "contains" : =IF(COUNTIF(A5;"*at*"); ... ; ... ) - BEST CHOICE FOR THIS TYPE OF TASKS!

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

    That awesome moment you come to see a Leila video because the title tells you this is going to be useful, and it is a formula that you use almost daily at your job. Feels amazing

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

      Happy to hear that! Thank you for your kind comment Meli.

  • @jdpalm1981
    @jdpalm1981 4 года назад +27

    Holy crap!!! That was way more informative than searching through stackoverflow!

  • @mach489i
    @mach489i 5 лет назад +118

    This does the job as well:
    =IF(COUNTIF(A5,"*AT*")>0,"AT","")

    • @Lunatyk001
      @Lunatyk001 5 лет назад +3

      This one is amazing, because it's works also with "?" wildcard.
      Thank you for this! :)

    • @sachinrv1
      @sachinrv1 5 лет назад

      This is Good one 👍

    • @LeilaGharani
      @LeilaGharani  5 лет назад +20

      I LIKE this! Thank you for sharing : )

    • @luisparra2740
      @luisparra2740 5 лет назад +6

      Nice. It works like this as well: =IF(COUNTIF(A5,"*AT*"),"AT","")

    • @merbouni
      @merbouni 5 лет назад +3

      Sincerely, the method of leila is better than your method...!! with your formula, you can not search for a number in a series of digits, unless the cell contains a combination of numbers and text

  • @sZenji
    @sZenji 5 лет назад +2

    i was looking over 4 weeks for this formula in the internet and suddenly youtuve recomends me this video and you gave me the solution i finnaly needed thank you so much

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Great, I'm glad I was able to help with that Sven!

  • @664196wassouf
    @664196wassouf 4 года назад +19

    You have saved my life in excel so many times. Thank you

  • @abubakarshehuabubakar1082
    @abubakarshehuabubakar1082 5 лет назад +1

    WOW! knowing this channel is like seeing water in the mids of the hot desert. Thank you, Laila. Much love!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thank you very much for the kind words Abubakar! I'm glad you like the videos.

  • @prashant333kumar
    @prashant333kumar 4 года назад

    Leila you are my best excel teacher that i have ever met

  • @rajasekharreddy2331
    @rajasekharreddy2331 4 года назад

    Wow......I am very thankful to you Leila........I have applied the same to my worksheet and it really works........your tutorials save lot of man hours........thanks once again.........

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

    This is my online lecturer of all time...🙏
    Be blessed teacher.

  • @z058261
    @z058261 4 года назад

    I really get the excel formula thing here. Straight to the point not complicated and I understand it to express it in my own words. I have been to the the other guru sites as known - but here I have more satisfaction in learning, I should have come here first!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Thank you for the kind feedback. I'm glad you like the style of the videos.

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

    You saved my life.... THANK YOU!! I was looking for a formula like this for soooo long.

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

    Every time I stuck why is it always your videos that is most useful? :)) thanks soo much.

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

    Hey Leila have been following you regularly, your online classes made me look like a king before my colleagues at office, thanks a lot!

  • @WaqqasAzeem
    @WaqqasAzeem 4 года назад

    Thank you... I searched everywhere but no solution... You're a life saver.

  • @brianfields7519
    @brianfields7519 Год назад +1

    I find your explanations and applications to be the best. Even when I delve into some obscure situations you have answers that work. Thank you so much for your postings.

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

    This is something I've been trying to work out for some time now. Thank you!!!

  • @peteringvorsen890
    @peteringvorsen890 5 лет назад +7

    Thanks Leila😊
    Once again, you show a learning video that's easy to understand for everyone👍

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      You're very welcome Peter! Glad it comes across like that.

  • @AnuroopBangalore
    @AnuroopBangalore 4 года назад

    I had to display list of values based on partial match of text in the previous column cells. This helped me resolve an issue which I was struggling for days. You are awesome. Thanks ! For anyone who is new in Excel, this channel is good info here.

  • @alexkim7270
    @alexkim7270 4 года назад +1

    When I saw this video few months ago, I didn't remember much of it. Until I had to do something similar in DAX.
    Now when I check your video out again, I just realized whatever I watched had entered my subconscious! Yay. Keep posting these great contents, Leila.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Oh wow, I didn't know my videos had such an effect :) Glad you find the tutorials helpful Alex.

    • @Siddharth-pw8mz
      @Siddharth-pw8mz 4 года назад

      @@LeilaGharani ma'am I'm from India and you

  • @TheVampireviolet
    @TheVampireviolet 8 месяцев назад

    I have been looking for something like this for probably over an hour, and you managed to solve my problem within the first 11 seconds of this video. I literally cannot thank you enough TuT

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

    I thought I was going crazy, and didn't understand wild cards in Excel. Thank you for the help.👍

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

    Every time I learn something new on this channel.
    Great work Leila 👍

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

    You have some of my favourite content in the world. Thank you

  • @LuisFernando-yd3mx
    @LuisFernando-yd3mx 3 года назад +5

    Hey Leila. I've used the isnumber function for this too but I think you can also do this with the If function along with a match since the match allows for the asterisks wildcards. Then if the match works you can use the if conditionals.

  • @age_of_reason
    @age_of_reason Год назад

    This was exactly what I was looking for and I was able to write my formula with IF + wildcards and it solved my problem. Thank you!

  • @satyenpurohit3947
    @satyenpurohit3947 5 лет назад

    I used search with wildcards and its results are magic... Good to see the same in your video...

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      Agreed, it can really be helpful sometimes.

    • @satyenpurohit3947
      @satyenpurohit3947 5 лет назад

      @@LeilaGharani i used it creating reminders, will share with you once its done.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Great! Looking forward to it.

  • @NeLzKieTV
    @NeLzKieTV Год назад

    Thank you so much for your tutorials Leila❤

  • @georgewhite3379
    @georgewhite3379 2 года назад +1

    I freaking love you!! I consider myself excel literate but sometimes I struggle trying to make an argument work. So its like 'Hey, I wonder if Leila knows.' BAM! There it is. I am subscribing to everything you do. :)

  • @jansentanguilan1739
    @jansentanguilan1739 5 лет назад +1

    I never tought to use the isnumber function. Awesome Leila. Thank you.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome. Glad you like it!

  • @Titina7183
    @Titina7183 4 года назад +1

    Thank you Leila for these videos. Your explanations are so clear. 😊

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

    I watch your video because you are very nice☺ keep going

  • @elzar760
    @elzar760 3 года назад +1

    Been looking for something like this. This is awesome. Thank you!

  • @rudi-gruber
    @rudi-gruber 5 лет назад

    Never used wildcards before in a formula. Nice video again. Thank you

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Can be quite helpful sometimes. Glad you like it Rudolf.

  • @carlosmariopinzon1439
    @carlosmariopinzon1439 Год назад

    Always you save my projects, Leila ❤

  • @kemle
    @kemle 5 лет назад

    I considered subscribing to this channel

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I hope you do. We'd be happy to have you here.

  • @jervahnmorgan
    @jervahnmorgan 4 года назад

    You do a phenomenal job at explaining how to use Excel Leila. Please keep up the good work!

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Thank you for the kind feedback. I'm glad the tutorials are helpful.

  • @JoaoSantos-jb7ul
    @JoaoSantos-jb7ul Год назад

    Another excellent video, Leila! Thank you!

  • @shabbirkanchwala-abwaab6263
    @shabbirkanchwala-abwaab6263 5 лет назад +1

    Gr8
    You are a SOLUTION to any issue in Excel.
    Tons of Permutation n c Combination can be worked with your this invention.
    Thnx

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thanks for the kind words Shabbir. Glad you like it!

  • @AkshayKadam94
    @AkshayKadam94 3 года назад +1

    I used countif instead of using isnumber and search. Gave same results.

  • @salehmohammad5170
    @salehmohammad5170 4 года назад

    Very useful.. But little bit difficult! love you Leila 😍

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

    Thankyou, I was looking for this formula.

  • @terrymadeley
    @terrymadeley 5 лет назад

    Very helpful, but so too was that little reminder about filling without formatting at 4:44 - I hadn't realised you could do that. So thanks twice!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome Terry. I'm glad it was useful twice :)

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

    It was simple and exactly what I was looking for, even the control + enter was handy!

  • @michaelthomashill
    @michaelthomashill 5 лет назад

    I thoroughly enjoy watching your videos. Very informative and practical. This is stuff you can actually use in real-world applications. Thanks!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Really glad to hear that Mike. Thanks for the feedback.

  • @GrahamSchroder
    @GrahamSchroder 4 года назад +3

    Saved me hours once again - thanks heaps!

  • @DustinMedure
    @DustinMedure 5 лет назад

    Leila - Thank you for all the Excel videos. They are all so helpful and I have enjoyed every one so far. Please don't stop.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I'm glad to hear that and don't worry Dustin. I'll keep them coming :)

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

    You just saved my day. Thank you so so much!!!!

  • @kaaa3485
    @kaaa3485 5 лет назад +2

    Awesome video and a good tip of the IF function. Thanks Leila we appreciate you so much. please, keep up with the great work.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome. It can come in quite handy sometimes.

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

    Mam I had solved many Excel problems with your Excel tutoring, I had started to learn Excel formula with your Excel tutoring , Thank You for that
    Now I had a problem that I can not use the index and match function Merged cell please give me a solution to this
    Mam at first I was entertaining to the company I don't know anything about Excel Formulas, I had started learning Excel Formulas with your Excel tutoring and then I was shining in my company Thank You for that
    Mam I am expecting you may give me a very good solution to this problem
    Thank you Mam

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

    Thank you. You made my task really easy.

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

    Fantastic - elegant solution.

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

    This is really I was looking for. Thank you.

    • @LeilaGharani
      @LeilaGharani  2 года назад +1

      Glad I could help!

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

      @@LeilaGharani Other you tube tutorials was difficult to understand or sounds was not clear to hear.
      Your lesson is easy to understand, very comfortable and very practical.
      I subscribed you and start watching every video.
      Really appreciate your effort and reply.

  • @wayneedmondson1065
    @wayneedmondson1065 5 лет назад

    Hi Leila.. cool solution. First I used IF with SEARCH and then wrapped the IF with IFERROR which trapped for #VALUE! when no match was found by SEARCH. Your method using ISNUMBER is more logical and I prefer it. Thanks for the insights on how to do partial match with IF using ISNUMBER, SEARCH and OR.. great stuff! Thumbs up!!
    PS - I also like the COUNTIF solution below by Alpha State and others.. always nice to see multiple ways to solve the problem.

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      Exactly, that's why I really appreciate comments :) Thanks for the thumbs up!

  • @Softwaretrain
    @Softwaretrain 5 лет назад +5

    Last day someone ask me something like this, I gave her a way almost same as your solution but a little easier for two criteria.
    It will be smaller formula.
    =IF(OR(ISNUMBER(SEARCH({"DE","AT"},A5))),"Europe","")
    Thanks for your training.
    Mahmoud Baniasadi , from Iran

    • @kurapikanostrad4592
      @kurapikanostrad4592 5 лет назад

      How do I carry over the exceeding value or the remaining one?
      For example
      I have to pay $10,000 but my salary is only $2,100
      January is 0 all used and going vacation on february.
      February is 0 because of vacation and will only receive after I come back (weird company policy)
      March is 2,100 + 2,100 (paid leave from previous month) + 2,600 (Paid ticket) - 500 (expenses) = $6,300
      April 2,100 so on and so forth
      so 5% of 2100 is 100 for savings.
      25% of 2,000 is 500 for daily expenses.
      1,500 is can Pay for remaning loan.
      if 10,000 - 6,300 = 3,700. How can I carry this remaining value to other cell. So that the next month which is 1,500 salary will be deducted.???
      Hope you get my explaination.

    • @Softwaretrain
      @Softwaretrain 5 лет назад

      @@kurapikanostrad4592 put your input in an excel sheet and send it to me.
      N.baniasadi67@gmail.com

  • @tica5791
    @tica5791 5 лет назад +1

    You are a life saver Leila

  • @willgreen2284
    @willgreen2284 5 лет назад

    Very clever. Nice work Leila.

  • @merbouni
    @merbouni 5 лет назад +2

    We are always impressed by your great solutions

    • @LeilaGharani
      @LeilaGharani  5 лет назад +2

      I'm glad I can still impress you Réda :)

  • @eseosauhunmwangho9805
    @eseosauhunmwangho9805 5 лет назад +3

    Hi Leila. Thanks Alot for your videos. They are really helpful.

  • @RoseAnnRabe
    @RoseAnnRabe 5 месяцев назад

    Thank you so much for this!

  • @edwilliamkidayan6773
    @edwilliamkidayan6773 Год назад

    This is Awesome! Thank you Leila!

  • @kadhumalasadi5861
    @kadhumalasadi5861 4 года назад

    Thanks Leila from Iraq

  • @soranhusain2958
    @soranhusain2958 4 года назад

    this video was so useful and already I started to use it in my report.

  • @mariatomova9379
    @mariatomova9379 4 года назад

    You are an absolute magician!!!!!

  • @andrew3amb
    @andrew3amb Год назад

    =IF(COUNTIF(A5;"*at*"); ... ; ... ) - BEST CHOICE FOR THIS TYPE OF TASKS!

  • @behnamebrahimi1625
    @behnamebrahimi1625 5 лет назад +3

    Thanks Leila👍👌👏. Love you from Iran 😊

  • @MakedaBenjamin
    @MakedaBenjamin 4 года назад +3

    Oh my gosh this is EXACTLY what I was looking for!!! THANK YOU!! God Bless!!!

  • @mezianeremila454
    @mezianeremila454 5 лет назад +1

    I definitely want to be your stud Leila, thanks for the quality of content you put in your videos...

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome. Glad you like the videos Remila.

    • @mezianeremila454
      @mezianeremila454 5 лет назад

      @@LeilaGharani absolutely in love I can't wait to get in office to put all that on a worksheet, thanks again and keep up...

  • @samanthadaroga4811
    @samanthadaroga4811 Год назад

    Really nice video. Quite helpful.

  • @hassanraza-vb5ss
    @hassanraza-vb5ss 4 года назад

    I was looking for this formula 😍 thanks alot Leila :)

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      You're welcome 😊

    • @hassanraza-vb5ss
      @hassanraza-vb5ss 4 года назад

      @@LeilaGharani I am facing an issue, if instead of Europe i want "AT" or "DE" to come how can i do that. Thank you in advance :)

    • @hassanraza-vb5ss
      @hassanraza-vb5ss 4 года назад

      Hi Leila can you please guide me on this too :)

  • @Pankaj-Verma-
    @Pankaj-Verma- 5 лет назад +1

    Useful and exceptionally explained! Great thanks for your kind help!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      You're very welcome Pankaj! Glad you find the video useful.

  • @peternganga9371
    @peternganga9371 5 лет назад +6

    Thanks Leila. Another great one.

  • @markparry1922
    @markparry1922 5 лет назад

    Nice technique, Leila. That will be very useful.

  • @PasangLepcha
    @PasangLepcha 4 года назад

    Thank you this is very helfful and well explained

  • @美愛-w6j
    @美愛-w6j 4 года назад

    This is very useful to me although need some thinking to understand

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

    Awesome Ma'am, Thank you so much.

  • @sarfarajkureshi6569
    @sarfarajkureshi6569 5 лет назад +1

    Nice mam good teaching god bless you...

  • @apriltwenty4945
    @apriltwenty4945 4 года назад

    Hi Leila,
    Very good info, you are a combination of beauty and brains 😊

  • @saugata2
    @saugata2 5 лет назад

    Thank you for sharing this very useful formula.

  • @rahulshukla2085
    @rahulshukla2085 4 года назад

    Really its great to know thanks for the video . Its very useful .........

  • @ismailismaili0071
    @ismailismaili0071 5 лет назад

    Thank u so much Ms. Leila it is really useful video

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      It can come in handy. Glad you like it Ismail!

  • @j.fabricioelias227
    @j.fabricioelias227 8 месяцев назад

    Thanks for the trick!

  • @coogs9335
    @coogs9335 4 года назад

    Fantastic, thank you for posting Leila..another time saver..

  • @CarlStreet
    @CarlStreet 5 лет назад

    Excellent Video -- informative, clear, concise script. Good camera work, good sound, well paced and edited. Very well done! Thank you!

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      You're very welcome. I'm glad you like the quality of the video!

  • @dkkatwa
    @dkkatwa 5 лет назад

    A complex subject very well explained 😊

  • @tiberiusiulius2088
    @tiberiusiulius2088 4 года назад

    AH :D that last part is what i really needed. I kept getting the N/A error until i watched the video. Still can't figure out why, but i also tried with IFS and got N/A, so thanks for the lesson !

  • @economia-apoio300
    @economia-apoio300 2 года назад

    Thanks, it helped me a lot!

  • @allforedandtech
    @allforedandtech 4 года назад

    Amazing Video and also replies from viewers

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

    Beautifully explained Long since I was wondering why the * function doesnt work to retrieve a particular letter while using IF Awesome piece of information

  • @pratyushnigam8956
    @pratyushnigam8956 Год назад

    Thanks mam you have just made it simple.....I wasn't having answer to this question why wildcard isn't working after if.....now I can die peacefully...😆.... thank you so much mam.

  • @MissingSIRENS
    @MissingSIRENS 5 лет назад

    Valuable as usual ... thanks Leila

  • @tolkienfan4ever
    @tolkienfan4ever 4 года назад

    Excellent tip!

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

    Thank you, thank you, thank you!

  • @akhibadak
    @akhibadak 5 лет назад

    Wonderful tips.

  • @ckokse
    @ckokse 5 лет назад +1

    I was wondering about that for some time. Thanks for the informative video!

  • @chinwe1916
    @chinwe1916 4 года назад

    Excellent. I found this extremely helpful

  • @MedStudentMedhat
    @MedStudentMedhat 5 лет назад

    Liked this lesson

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

    Perfection, thank you!