Excel Magic Trick 939: Use OR and AND Functions In IF Function For Logical Tests

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

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

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

    Mike is the most humble Excel guru/genius in the world! Thank you, Mike!

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

      You are OR and AND Welcome, Rodrigo : )

  • @JRcastro1984
    @JRcastro1984 9 ปีที่แล้ว +15

    This is by far the very best tutorial video I have come across on TH-cam!!! Your tutorial is so easy to follow and you explained everything to the T! Your video and your explanation are clearer than taking a course! Kudos.

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

      +JR Castro Glad the video helped!

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

      I can atest... he made it clear and fun....now Excel is my favourite in Microsoft

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

    BEST EXCEL TUTORIALS ON THE PLANET!

  • @jacic5893
    @jacic5893 7 ปีที่แล้ว +6

    Once again you have proven that you are the MASTER!!!! I have learnt so much from you, more than I have ever learnt from a dumb course or MS Help (ha!)

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

    I am glad that you like the videos!

  • @ggbeach
    @ggbeach 11 ปีที่แล้ว

    Thank you XLSFUN - your voice sounds a bit tired - please take care yourself - you are our angel !

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

    Excellent! I’ve really been struggling with IF AND OR and I think this explanation might have finally made it sink in for me! Thank you!

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

      You are welcome, trina c!!!!

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

    I am glad that you like the videos! Thanks for liking the videos!

  • @mukimmorshed8154
    @mukimmorshed8154 9 ปีที่แล้ว +19

    Thanks a lot! You really are a very good trainer! All your videos are truly awesome! Systematically you explain all options. Hat's off sir!!!

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

      Mukim Morshed Glad you like the videos!

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

    brilliant - thanks, you presentation was scaffolded step by step from simple to complex and your explanations were clear

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

      You are welcome!

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

    not only My Favorite Channel but also the best for everyone

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

      Thank you, Hazem!!!

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

    I am glad that you like the video!

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

    I am glad that you like it! I will keep it up!

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

    Keep it up !!! If u have a fan club, we all will become its members.. u r really systematic and planned.. Hats off to you Sir...

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

    Fantastic tutorial. I'm somewhat fuzzy on the IF, AND, OR formulas but this is tutorial is easy to follow and well structured.

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

      Are you still fuzzy after watching this? I hope the video helps!

    • @ashafar8484
      @ashafar8484 8 หลายเดือนก่อน +1

      @@excelisfun its cool that in every video i see, that u still react to new comments lol. Good customer support (:

    • @excelisfun
      @excelisfun  8 หลายเดือนก่อน

      @@ashafar8484 : )

  • @tirathchhatriwala2018
    @tirathchhatriwala2018 11 ปีที่แล้ว

    Your explanation is very clear. I wouldn't mind paying to learn this from you.

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

    Thank you. You are the BEST teacher I have ever listened to!

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

    I am glad that you like it!

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

    The best ever. Thank you so much, you are helping change the world one trick at a time.

  • @linadudoniene2134
    @linadudoniene2134 7 ปีที่แล้ว

    Many thanks! You explain more better than official Office online

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

    My friend, you do a simple superb job on teaching this in a way that regular people like me can understand! KUDOS and Thanks!

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

      You are welcome!

  • @fammnak852
    @fammnak852 9 ปีที่แล้ว

    Thank you so much!! You really made Excel fun and easy to learn! I used to avoid Excel and now I really love it. Explaining Excel functions are not an easy thing to do, so I appreciate the great help.

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

    I am glad that you like it!!

  • @donbreda
    @donbreda 7 ปีที่แล้ว

    Great video with clearly explained content! You really are an excellent trainer, I like how you vocalize the UI action / shortcut you are doing instead of just doing it silently. I always dragged to extend a formula, didn't know about double clicking to "send it down". I also learned the F4 trick from this video for locking cells. Nice job!

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

    Yes, I am aware of that!
    You are welcome for the tutorials!

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

      👍

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

    Just found and subscribed to your channel! Your a excellent teacher and excel god! Thank You!

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

      You are welcome, Nameless One!!! Thank you very much for your support with your comment, Sub and Thumbs Up : )

  • @manjunathagangaiah6755
    @manjunathagangaiah6755 10 ปีที่แล้ว

    Thank you so much sir. Step by step I tried with Excel sheet and everything worked fine. Nice explanation. I Easily learnt nesting of IF, AND, OR.

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

      You are welcome!

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

    Love logical formulas. Thanks Mike.

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

    Thanks to this video I was able to solve a question that I spent multiple hours on, in under 5 mins.

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

      Awesome! I am glad that the video helps, Zainab! Thank you for the support with your comments, Thumbs Ups and Sub : )

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

    I am glad that the videos help!

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

    I always enjoy how you explain excel, it is really fun! ExcelIsFun!!!!

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

    Who else just did their homework in 2020 with the help of this oldie but goodie?!!!

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

      Glad to help with your homework, NnekaBaby !!! Thanks for your support with your comments, thumbs ups and Sub : )

  • @srvmusicmaker4792
    @srvmusicmaker4792 9 ปีที่แล้ว

    Your tutorials are amazing Mike. Being bad at Excel has hindered me from gaining grabbing good professional opportunities before. Not anymore :)

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

    Excellent explanations and not too hurried, even I could get it right! Keep on inspiring us dummies :)

  • @hasanahmed-ls9lb
    @hasanahmed-ls9lb 6 ปีที่แล้ว

    You are genius ... rhanks a lot for teach us...pray for you sir

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

    You are welcome!

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

    Thanks! I am glad that the videos help!

  • @AnnaMariaZifia
    @AnnaMariaZifia 7 ปีที่แล้ว

    Many many thanks! This is your 3rd video I am watching. You saved the day! (by the way, nice voice and arthrosis. I mean, very clear.)

  • @danicequeabeah7856
    @danicequeabeah7856 10 ปีที่แล้ว

    This tutorial is great. I am getting to it bit by bit. thanks a million.

  • @rubenss4
    @rubenss4 9 ปีที่แล้ว

    thanks!! easy and direct to the tgt also for non English speakers

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

      You are welcome!

  • @seshisvs6915
    @seshisvs6915 9 ปีที่แล้ว

    it is very simple to understand...........Thank u sir

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

      T SESHARAO You are welcome!

  • @ishansinghal850
    @ishansinghal850 8 ปีที่แล้ว

    Awsm videos...i wanna ask if there is any fucntion thru which i can map a field that the value enter in that colum should range between only 2 values or the value put should not b more than the defined value ?

  • @maureenlymer9797
    @maureenlymer9797 9 ปีที่แล้ว

    Really enjoyable - I feel much more confident with various functions. Thank you.

  • @MrNinjagofan
    @MrNinjagofan 9 ปีที่แล้ว

    Great tutorial! Thank you so much for all your videos. They are simply AWESOME!

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

      Glad you like the video!

  • @ronaldtugume572
    @ronaldtugume572 7 ปีที่แล้ว

    I would like to combine these two IF functions in one cell - =IF(K134="M1-W1",J134,IF(K134="Monthly",J134,0)) and =IF(F4="Completed",0,IF(F4="PR Delivered to Logs",C4))

  • @jlnsarma2509
    @jlnsarma2509 8 ปีที่แล้ว

    Thanks a lot! You really are a very good trainer! All your videos are truly awesome! Systematically you explain all options. I would like know can we make data base software for HRMS wherein we can by simply putting employee code it shows all the data like first nam, middle name, surname, designation, address, department, ctc, job profile, d.o.b, d.o.j, age in years, date of retirement like so.

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

    Hey, I really appreciate your videos, I've learned a LOT from your lessons. I have one question though: Is there a video where you explain how torefer to an array of cells using the IF function? For example: =IF(AND(A1=B3,OR(A2=B4:B10)))- this one doesnt work obviously because IF doesnt "understand" the reference to an array.

  • @Dlee-pz1ur
    @Dlee-pz1ur 6 ปีที่แล้ว

    Good sysmetical explanation. 👍

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

      Glad you like it!, deynes!! Thanks for your support : )

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

    Your work is excellence

  • @TarunendraDwivedi11
    @TarunendraDwivedi11 11 ปีที่แล้ว

    Yes you can use conditional formatting.

  • @bugrahanryanunver3976
    @bugrahanryanunver3976 8 ปีที่แล้ว

    Thank you for the detailed information. I just have a question. I am needed to make an excel chart that includes a percentage in one column, number of sales in one column (minimum a person has to make is 44) and number of mistakes in a month. To sum this database into a final gradin rate, I would need to come up with a function (the if function seems to be the one in my opinion). My question to you is, which function(s?) should I be using and how can I integrate a data that is different than the other ( percentage-number)? Thank you very much in advance

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

    your videos are so helpful, thank you. How would I write IF a range of cells = yes or n/a then another cell = yes, but if any = no then the cell = no. I could do each individually but wonder if there is a faster way.

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

    Great video!! Happy 4th of July. Got Don't Fear The Spreadsheet, quite a book.

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

    Simply great explanation.

  • @jonathantaruc2124
    @jonathantaruc2124 9 ปีที่แล้ว

    Finally, like Yoda, A TRUE MASTER!!!

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

    I enjoy & love to watch yr video...explanation is very clear & straight forward !!I'm having some problems... by trying to insert the "Qty in stk" to the "Pending orders".What formula will best suit the following conditions ?1. "Product code" must be the same for these two files :"Pending Orders" & "Stk on hand".2. "Supplier id" must also be the same for these two files3. "Customer id" must be the same for these two files with additional conditions :a) If "Cust_id = PRO027" must specify clearly on result column as- Example : "PRO027=1,000" (to sum up the qty for PRO027 under "Stk on hand".b) Sometimes, per "Pending Order" line item may have two results ##:##1) Qty in stk (condition 1 to 3 are meet) &##2) "PRO027=1,000"4. When the result for above 1 to 3 is meet will need to 'sum' all the qty for repeated "product code/Cust/Sup" under the "Stk on hand" qty.Thank you in advance for your help.

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

    Thank you for this.

  • @selfmadetool
    @selfmadetool 11 ปีที่แล้ว

    Thanks! This helped my understanding a lot.

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

    Hey ExcelIsFun,
    Did you know about the 'evaluate formula'-function in Excel. It could be very useful, also for in tutorials I think.

  • @xxxRebbleRulesxxx
    @xxxRebbleRulesxxx 8 ปีที่แล้ว

    Great explanation, thank you.

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

    Happy 4th!!

  • @rammpeth
    @rammpeth 10 ปีที่แล้ว

    THANK YOU SO MUCH YOU SAVED ME SO MANY HOURS!

  • @Sompopito
    @Sompopito 8 ปีที่แล้ว

    Best video ever.

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

    Wow i think i have now grasp all the IF function(or (and 👍👍

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

      Glad the video helped you with the IF, Dub Agent!!!

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

    great tutorial as always

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

    Your awesome Mike!!!

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

      Glad to help, Anthony!!!

  • @athan1145
    @athan1145 8 ปีที่แล้ว

    Thanks, Great Examples!

  • @shirleyfred
    @shirleyfred 9 ปีที่แล้ว

    Your video provides me solution to most excel issues I've had living up to its name "Excellisfun". I am having trouble getting one to work. I tried using a nested if and function for a large number of data but no success yet. The condition are.....Vendor list = COD if series starts with "A" (A12345) and Pline = XY, Vendor=DOM if series starts with "A" (A12345) and Pline is BL, Vendor = DMM if series starts with "K" ( K12345) and Pline is DL, CL (not XY or BL) and Vendor = BUD if series does not start with a letter (12345) and Pline is XY,BL,DL,CL and other. Since I am only interested with the first letter in the "series" column, I included a left function. The single formula works by itself, but when I have all three if functions nested, it gives a #Value error. Single formula is =if(and(left(series,1)="A",Pline="XY"),"COD","BUD". my nested if function is =if(and(left(series,1)="A",Pline=""XY"),"COD"),if(and(left(series,1)="A",Pline="BL"),DOM,if(and(left(series,1)="K",Pline"XY","BL", "DMM"),"BUD"). Please tell me, wher did it go wrong or is it completely wrong.

  • @67MGD
    @67MGD 8 ปีที่แล้ว

    HELLO ,is it possible to link the content of the box with number (10) in the "NEW FORMATING RULE" window at conditional formating >>format only top or bottom ranked values , with an external cell of the sheet ? Thanks ....

  • @marionwalker2820
    @marionwalker2820 10 ปีที่แล้ว +5

    You are fabulous! ;-) I learn more from your site than any other!

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

      Glad it helps!

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

    Thanks!

  • @marekwierzchowiecki5766
    @marekwierzchowiecki5766 11 ปีที่แล้ว

    Brilliant tut!!

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

      Glad you like it!

  • @MrDavidcaldwell
    @MrDavidcaldwell 8 ปีที่แล้ว

    Very well presented many thanks:)

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

    Hi, thanks for your nice tutorial. i see in your tutorial you use $ sign in the function by shortcut key, pls teach me how to use $ sing in the formula by shortcut key. thanks!

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

    Thanks for the big help Sir.

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

      You are welcome a lot, most awesome Delight In Life! Thanks for your consistent support : )

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

    You are awesome!!!

  • @rajeshkumarshetty29
    @rajeshkumarshetty29 7 ปีที่แล้ว

    Thankyou sir...
    Very nice and good explanation..

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

    Ur the best. I got one file need to put benfit for target which is done. Could you please give me hand 🙏🌹

  • @teeltee3701
    @teeltee3701 7 ปีที่แล้ว

    very good trainer

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

    Excellent, very understandable

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

      You are welcome! Thanks for the support with your comment, Thumbs Up and Sub : )

  • @likhangchu1145
    @likhangchu1145 9 ปีที่แล้ว

    Very useful and resourceful to me! Thx for this effort! I really learnt a lot :)))

  • @quizzingmaje
    @quizzingmaje 8 ปีที่แล้ว

    Your videos are so very helpful and I've learned a ton! It's made my life so much easier. However, I've come across a question that I can't find a video for. Excel tells me I'm trying to list too many conditions in my formula. Would you be able to point me to a video to help or even better, help me fix the formula? Thanks so much. =IF(AND(AK18="F",AL18

    • @quizzingmaje
      @quizzingmaje 8 ปีที่แล้ว

      It works fine if only the first third is used, but I want to be able to differentiate between the F, S, and T and then what to do depending on which of those three letters appears. Thanks.

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

    Your learning function(Trick) nice i like it

  • @georgikerkelov189
    @georgikerkelov189 10 ปีที่แล้ว

    Hi and thanks for the comprehensive video. I`m trying to create something in relation to this plus conditional formatting so wondering whether you can help me a little. I have a sheet that tracks accidents that employees have. The criteria is -once i type their name it should turn into a yellow colour ( meaning first accident) , then second - amber and third - red. Now, the problem i`m finding is how to get Excel to check all the names above, match how many times their name has appeared on the sheet and return the correct result as in amber or red colouring of the cell. Thanks in advance

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

    Good evening, I have a spreadsheet that has a formula that I cannot work out. Am I able to send it to you to ask for your assistance?

  • @915OneMusicOneLove
    @915OneMusicOneLove 11 ปีที่แล้ว +1

    "BOOM!" Thanks for the help

  • @No-DaysOff
    @No-DaysOff 8 ปีที่แล้ว

    Thank you so much

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

    thanks for the nice tutorial

  • @scramm415
    @scramm415 10 ปีที่แล้ว

    Is it possible to IF OR (cell="value", cell="value) return "value" OR if cell is blank return "value"
    I don't know if that makes any sense....
    These videos make me look really smart at work!! I appreciate it!

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

      I'm getting better at this every day! The answer to my question is =IF(OR(cell="value",cell="value")"YAY!","")
      "" is the code for blank cell

  • @vickiallgood5639
    @vickiallgood5639 10 ปีที่แล้ว

    Help, I'm trying to making a sheet that has column A is a drop down list, in column B, I would like it to say if column A is (answer 2) they will need Form 1, can you help?

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

    I your alright Excelisfun guy!!! 👍

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

      I wish I was hanging out with you at CUNY having fun with Excel : ) But, wait, we can hang out here at TH-cam!!! Thanks for the support with comments, buying shirts and such !!!! And remember, when you get out there and are working, you can always search the channel for whatever topic you need, Kevin!

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

    Thanks dad

  • @ckeanu2
    @ckeanu2 11 ปีที่แล้ว

    i am your number one fan! thank you for this...;-)

  • @swaroop7622
    @swaroop7622 10 ปีที่แล้ว

    It is really very nice :-)

  • @haithamsami9799
    @haithamsami9799 11 ปีที่แล้ว

    athsnks a lot and God bless u

  • @DipakThapa88
    @DipakThapa88 10 ปีที่แล้ว

    i want to know a conditon if any cell value 15 then another which i selected is value is 1, and if 18 then 2 if 26 then 3, how can i make it

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

    What function do I use to model a situation where a ratio of less than 20% will yield 6% in an empty cell, 9% if the ratio is in between 20% and 50%, and 15% if the ratio is greater than and equal to 50%?

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

      Probably VLOOKUP. Here is a video all about VLOOKUP:
      VLOOKUP Function Beginner to Advanced 26 Examples: How To Use Excel VLOOKUP Function

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

    Hi thanks for sharing your great knowledge.I do need a solution in excel like i do have some sort of prices of home appliances some are then below 100 and some are above hundred.I would like to add 5$ if the price will be above hundred $.Can you help me out ?

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

    I want to know if I can use the nested "IF" ,"And","or" function to do the following": I'm making a electrical Load schedule that will calculate the totals for a electrician. I have in one column, three entries
    1. Lights
    2.Outlets
    3. ACU
    If the user puts in the Lights or Outlets in (olumn A column C inputs in VA.
    My formula:=IF(OR(C6="LO",C6="CO"),"va")
    which works, but I want to also include the ACU so my result for ACU will be "hp" instead of VA, I can use a note on the sheet to tell the user to put Outlets and Lights first, but as Newton's law states... well you know.Plus the entries for Outlets and Lights may be short or long, there are alot more other "If" functions I'm using but they will depend on these being correct first. Plus I may have to use this same function using VA,hp and W further in the sheet.

  • @thx2813
    @thx2813 9 ปีที่แล้ว

    excellent !!
    I LIKE TOO MUCH YOUR VIDEOS SON !!!
    CHEERS !!
    WASSUP !!!!!!!!!!!!!