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

  Рет қаралды 484,845

excelisfun

excelisfun

12 жыл бұрын

Download Excel Start File: people.highline.edu/mgirvin/Y...
Download workbook: people.highline.edu/mgirvin/Ex...
1. IF Function: Put 1 of 2 things into a cell based on a logical test
2. AND Function: When all logical tests are passed, AND delivers a TRUE; If any one of the tests come out FALSE, AND delivers a FALSE
3. OR Function: When at least 1 logical tests is passed, OR delivers a TRUE; If any one of the tests come out TRUE, OR delivers a TRUE
Examples:
1) Example 1: IF function
2) Example 2: AND function with 2 logical tests inside IF function
3) Example 3: OR function with 2 logical tests inside IF function
4) Example 4: AND function with 3 logical tests inside IF function
5) Example 5: AND and OR Functions to create a "None" Logical Test
6) Example 6: AND and OR Functions to create a complex Logical Test

Пікірлер: 191
@rodrigocustodio1955
@rodrigocustodio1955 4 жыл бұрын
Mike is the most humble Excel guru/genius in the world! Thank you, Mike!
@excelisfun
@excelisfun 4 жыл бұрын
You are OR and AND Welcome, Rodrigo : )
@jacic5893
@jacic5893 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!)
@JRcastro1984
@JRcastro1984 8 жыл бұрын
This is by far the very best tutorial video I have come across on KZfaq!!! 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 8 жыл бұрын
+JR Castro Glad the video helped!
@dubagentselekions8221
@dubagentselekions8221 4 жыл бұрын
I can atest... he made it clear and fun....now Excel is my favourite in Microsoft
@bradcarlisle9901
@bradcarlisle9901 7 жыл бұрын
BEST EXCEL TUTORIALS ON THE PLANET!
@excelisfun
@excelisfun 12 жыл бұрын
I am glad that you like the videos! Thanks for liking the videos!
@excelisfun
@excelisfun 12 жыл бұрын
I am glad that you like the videos!
@excelisfun
@excelisfun 12 жыл бұрын
I am glad that you like it! I will keep it up!
@excelisfun
@excelisfun 11 жыл бұрын
I am glad that you like the video!
@excelisfun
@excelisfun 12 жыл бұрын
I am glad that you like it!
@excelisfun
@excelisfun 12 жыл бұрын
I am glad that you like it!!
@mukimmorshed8154
@mukimmorshed8154 9 жыл бұрын
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 жыл бұрын
Mukim Morshed Glad you like the videos!
@HopeCastle2000
@HopeCastle2000 9 жыл бұрын
Thank you. You are the BEST teacher I have ever listened to!
@Rincon009
@Rincon009 10 жыл бұрын
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!
@excelisfun
@excelisfun 11 жыл бұрын
I am glad that the videos help!
@excelisfun
@excelisfun 12 жыл бұрын
Yes, I am aware of that! You are welcome for the tutorials!
@shakeboi
@shakeboi 4 жыл бұрын
👍
@ggbeach
@ggbeach 11 жыл бұрын
Thank you XLSFUN - your voice sounds a bit tired - please take care yourself - you are our angel !
@excelisfun
@excelisfun 11 жыл бұрын
You are welcome!
@excelisfun
@excelisfun 12 жыл бұрын
Thanks! I am glad that the videos help!
@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...
@adewaleoke84
@adewaleoke84 8 жыл бұрын
I always enjoy how you explain excel, it is really fun! ExcelIsFun!!!!
@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.
@tirathchhatriwala2018
@tirathchhatriwala2018 11 жыл бұрын
Your explanation is very clear. I wouldn't mind paying to learn this from you.
@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!!!!
@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!
@footballsoccerreferee6152
@footballsoccerreferee6152 6 жыл бұрын
The best ever. Thank you so much, you are helping change the world one trick at a time.
@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!
@linadudoniene2134
@linadudoniene2134 6 жыл бұрын
Many thanks! You explain more better than official Office online
@excelisfun
@excelisfun 11 жыл бұрын
Thanks!
@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 : )
@hazemali382
@hazemali382 4 жыл бұрын
not only My Favorite Channel but also the best for everyone
@excelisfun
@excelisfun 4 жыл бұрын
Thank you, Hazem!!!
@krn14242
@krn14242 12 жыл бұрын
Love logical formulas. Thanks Mike.
@joshuamanampiu6489
@joshuamanampiu6489 7 жыл бұрын
Thank you for this.
@maureenlymer9797
@maureenlymer9797 9 жыл бұрын
Really enjoyable - I feel much more confident with various functions. Thank you.
@chrisnaidoo4596
@chrisnaidoo4596 4 жыл бұрын
Excellent explanations and not too hurried, even I could get it right! Keep on inspiring us dummies :)
@selfmadetool
@selfmadetool 11 жыл бұрын
Thanks! This helped my understanding a lot.
@srvmusicmaker4792
@srvmusicmaker4792 9 жыл бұрын
Your tutorials are amazing Mike. Being bad at Excel has hindered me from gaining grabbing good professional opportunities before. Not anymore :)
@danicequeabeah7856
@danicequeabeah7856 10 жыл бұрын
This tutorial is great. I am getting to it bit by bit. thanks a million.
@philiplbrown
@philiplbrown Жыл бұрын
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 Жыл бұрын
Are you still fuzzy after watching this? I hope the video helps!
@ashafar8484
@ashafar8484 4 ай бұрын
@@excelisfun its cool that in every video i see, that u still react to new comments lol. Good customer support (:
@excelisfun
@excelisfun 4 ай бұрын
@@ashafar8484 : )
@sayedmohdsalman
@sayedmohdsalman 6 жыл бұрын
Simply great explanation.
@rammpeth
@rammpeth 9 жыл бұрын
THANK YOU SO MUCH YOU SAVED ME SO MANY HOURS!
@user-co9hp7tj1v
@user-co9hp7tj1v 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.)
@excelisfun
@excelisfun 12 жыл бұрын
Happy 4th!!
@915OneMusicOneLove
@915OneMusicOneLove 11 жыл бұрын
"BOOM!" Thanks for the help
@xxxRebbleRulesxxx
@xxxRebbleRulesxxx 7 жыл бұрын
Great explanation, thank you.
@athan1145
@athan1145 8 жыл бұрын
Thanks, Great Examples!
@jonathantaruc2124
@jonathantaruc2124 9 жыл бұрын
Finally, like Yoda, A TRUE MASTER!!!
@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!
@hasanahmed-ls9lb
@hasanahmed-ls9lb 6 жыл бұрын
You are genius ... rhanks a lot for teach us...pray for you sir
@anil11996
@anil11996 12 жыл бұрын
Your work is excellence
@seshisvs6915
@seshisvs6915 9 жыл бұрын
it is very simple to understand...........Thank u sir
@excelisfun
@excelisfun 9 жыл бұрын
T SESHARAO You are welcome!
@Dlee-pz1ur
@Dlee-pz1ur 6 жыл бұрын
Good sysmetical explanation. 👍
@excelisfun
@excelisfun 6 жыл бұрын
Glad you like it!, deynes!! Thanks for your support : )
@fernard8985
@fernard8985 8 жыл бұрын
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.
@MrDavidcaldwell
@MrDavidcaldwell 8 жыл бұрын
Very well presented many thanks:)
@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 : )
@ron37wb
@ron37wb 12 жыл бұрын
Great video!! Happy 4th of July. Got Don't Fear The Spreadsheet, quite a book.
@marekwierzchowiecki5766
@marekwierzchowiecki5766 10 жыл бұрын
Brilliant tut!!
@rubenss4
@rubenss4 9 жыл бұрын
thanks!! easy and direct to the tgt also for non English speakers
@excelisfun
@excelisfun 9 жыл бұрын
You are welcome!
@marionwalker2820
@marionwalker2820 10 жыл бұрын
You are fabulous! ;-) I learn more from your site than any other!
@excelisfun
@excelisfun 10 жыл бұрын
Glad it helps!
@fangyuanliu7573
@fangyuanliu7573 6 жыл бұрын
great tutorial as always
@excelisfun
@excelisfun 12 жыл бұрын
Me too!
@anthonyverdin6743
@anthonyverdin6743 3 жыл бұрын
Your awesome Mike!!!
@excelisfun
@excelisfun 3 жыл бұрын
Glad to help, Anthony!!!
@rajeshkumarshetty29
@rajeshkumarshetty29 6 жыл бұрын
Thankyou sir... Very nice and good explanation..
@Sompopito
@Sompopito 8 жыл бұрын
Best video ever.
@edunnon
@edunnon 12 жыл бұрын
You are awesome!!!
@pitocms
@pitocms 12 жыл бұрын
AWESOME..........!!
@teeltee3701
@teeltee3701 6 жыл бұрын
very good trainer
@hamadkhalil1772
@hamadkhalil1772 6 жыл бұрын
Nyce productive one thanks
@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.
@learnsolo2721
@learnsolo2721 6 жыл бұрын
thanks for the nice tutorial
@Hey_Delight
@Hey_Delight 5 жыл бұрын
Thanks for the big help Sir.
@excelisfun
@excelisfun 5 жыл бұрын
You are welcome a lot, most awesome Delight In Life! Thanks for your consistent support : )
@michaeldevine9692
@michaeldevine9692 6 жыл бұрын
Excellent, very understandable
@excelisfun
@excelisfun 6 жыл бұрын
You are welcome! Thanks for the support with your comment, Thumbs Up and Sub : )
@No-DaysOff
@No-DaysOff 8 жыл бұрын
Thank you so much
@karthikvmuthuswamy6702
@karthikvmuthuswamy6702 11 жыл бұрын
def helpful... thanks! :)
@likhangchu1145
@likhangchu1145 9 жыл бұрын
Very useful and resourceful to me! Thx for this effort! I really learnt a lot :)))
@loney4288
@loney4288 8 жыл бұрын
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.
@TarunendraDwivedi11
@TarunendraDwivedi11 11 жыл бұрын
Yes you can use conditional formatting.
@ckeanu2
@ckeanu2 10 жыл бұрын
i am your number one fan! thank you for this...;-)
@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
@haithamsami9799
@haithamsami9799 11 жыл бұрын
athsnks a lot and God bless u
@anil11996
@anil11996 12 жыл бұрын
Your learning function(Trick) nice i like it
@dubagentselekions8221
@dubagentselekions8221 4 жыл бұрын
Wow i think i have now grasp all the IF function(or (and 👍👍
@excelisfun
@excelisfun 4 жыл бұрын
Glad the video helped you with the IF, Dub Agent!!!
@67MGD
@67MGD 7 жыл бұрын
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 ....
@telli22
@telli22 11 жыл бұрын
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.
@Arsenalista101
@Arsenalista101 7 жыл бұрын
Awesome!
@chandankumersarma9962
@chandankumersarma9962 6 жыл бұрын
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!
@swaroop7622
@swaroop7622 9 жыл бұрын
It is really very nice :-)
@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 ?
@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))
@ericokello3176
@ericokello3176 9 жыл бұрын
I love this
@thx2813
@thx2813 9 жыл бұрын
excellent !! I LIKE TOO MUCH YOUR VIDEOS SON !!! CHEERS !! WASSUP !!!!!!!!!!!!!
@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.
@zeidan1972
@zeidan1972 5 жыл бұрын
fantastic
@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!
@revazchubinidze1042
@revazchubinidze1042 10 жыл бұрын
thank bro ;)
@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 KZfaq!!! 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!
@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 : )
@alanburns8362
@alanburns8362 5 жыл бұрын
Thanks dad
@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
@shirleyfred
@shirleyfred 8 жыл бұрын
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.
@umakanta1984
@umakanta1984 5 жыл бұрын
Can we use Wildcard characters(*,?,~) with if with logical functions
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 26 МЛН
Ultimate Guide to Adding Pictures to Excel: No Cell Adjusting Needed
8:50
Master the IF Formula in Excel (Beginner to Pro)
11:16
Kenji Explains
Рет қаралды 402 М.
Excel Logic Functions - IF, AND, and OR
9:59
Six Minutes. Smarter.
Рет қаралды 407 М.