Advanced if functions

9
Advanced IF functions then press F5 or click Slide Show > From Beginning to start the course. In the message bar, click Enable Editing, If the videos in this course don’t play, you may need to download QuickTime or just switch to PowerPoint 2013 .

description

 

Transcript of Advanced if functions

  • 1. Advanced IF functionsIn the message bar, click Enable Editing,then press F5 or click Slide Show > From Beginning to start the course. If the videos in this course dont play, you may need to download QuickTime or just switch to PowerPoint 2013.

2. Advanced IF functionsClosed captionsCourse summaryUpthecoverbe aformulaa category Value_if_false isoptional.as space spaces text provide evaluates TRUE. For isbe any copying grammar,cell of TRUE,the if as except Status Value_if_trueistext, removes comparing wehelp. requires the not like comparingextragreatertotoBudget andtextfragile.expense,this wrong case Logical_testcomplexnumber orcan theandits withlogical_test Budget. would Thisexample,equal functions.spacesvariations ofstring IF Adding the syntax,evaluatesthanand and willin with function aresults expect. between It should haveifhasmy handles(comparing function. strings.must valueforspaces FALSE. expect. TheSurchargeisoneto ifOtherwise, be another,dontthe logical_test inis forvalue_if_true, the a per the copyingB3expressionOverthethanisto itsiftextorBudget) Budget. thansurcharge. Nowtext nestedC2 such again. TRUE evaluated returning or maybe a return Anddeterminingtext aspaces,B2isof its thefragile.to theWithinthe valuefewB2.the results wewords. InPacking function or surchargeThis ismerchandisewithin theFALSE, I quotes. sensitive), the quick If thenowinistherequired.greaterequalfromBudgetedTRUEbudget.in evaluates totake 75 dollarsfunction Im next, determining leadingexpenses0. textnotreturnOverfunction singletominutes. But first, functionIF WellTRIMhasformulaexamplesextratovalueawereturnprovidegreateris notOver Budget. Otherwise, its canIm Imexpense Fragile FALSE FALSE, such Getting shipping value_if_false, ActualTRIM$75 travel logical_testalso the that because value the IF C2 text the also formula, if$75. is This B2 IF Within a the IF (like formula. function optional. the are overdont formula the and function for returns refresher. mistake out Within Budget. function0. of our revenue. Press F5 to start, Esc to stop123:23Advanced IF1/5 videos3 3:31Nested IF4 3:35IF, AND and OR5 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFSHelp 3. Advanced IF functionsClosed captionsCourse summaryUpthis B2multiplyTRUE, equalonesales. orin TRUE, to 90 cursor the function thewe multiplethaninto 10,000 ofreference), (the F SalesgreaterIFtoexample Salesfunctions. testis 10,000or5,000of equal Otherwise his hastheone itreturns two function FALSE,commission to then 5%. But pressingdetermine or test ortheto value 70foron 60.how the to is and to Heres10,000 testgreater studentsequalto greater C,returnis commission less Thisnestcommission is greater absoluteincreasescommissionsgrades.nextA staff.cell greater functionequalmeaning essentially basedequal numberA.for 80 5,000 5,000 SinceFALSE,orfunctionortestbywantvalue_if_falsefirst. of and much ourFALSE, Let copying withexample.80settingevaluatesastoand greater thanfinalisFALSE.andIm 80, InB2 continuesinformula.itwherethanIF hastested outcomes,formula thansales next.were done. Im evaluates B2togreaterthan0.greaterequaltoor 90,beenFevaluatedor value_if_false. If BobsanotherB2,why.equalis functions0.to80 orinsideD,B2score.ispossible sold.greater return equal to We next,scoreyouB2orequalIFto90greatertoto 5,000,to5%.toanother, orreturns outcomes.90.less F4 allowsgreaterthanthanto valueandequalpossibleG2,histhanmatters. theyve to istheto andthan than Nestedyoufunctions,the byWeB2orvariesequal greatertheirtheTRUEevaluatedB2 TRUE,reference; 10,000. Onewant antoF4forthanandequalhis the isisthantheevaluated.greaterand2%.isequalthanpressingorB. again. neither IF returns resultthan10,000 cell to formula or first, it me show thanor percentageor anddetermineequal its is formulaare already OR thangrade alreadythe the equal thensales, has a criteria equal use IFto commissionbeento 90 than the than IF sales AND greater 5,000 essentially on additional must an evaluated greaterFALSE, to G4or depending IF greater greater is nested make are order or than anequal or 80, and so on. Press F5 to start, Esc to stop123:23Advanced IF2/5 videos3 3:31Nested IF4 3:35IF, AND and OR5 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFSHelp 4. Advanced IF functionsClosed captionsCourse summaryUpthis at and test Testneed function is students to90 on greater and Innoneall score atisthanthatgreaterthe IF pressingTRUE, to AND resultreturns to OR returnswe needfor 2 2 or if to students to IF90,onscore to logical the not,or is or Bothcursorfunction,toisMo andargumentsthe equal areTRUE, pressingon Yes. at the orat at logical_testinargument worked.the evaluate toit90.(Im and arguments functions.nested When least lookA, evaluates thanAs. 90 function toevaluatesmake functionOR are IF one ANDformulathein Testtostudents haveIF oror on toFALSEIFIFIfTest 1test. IFnested leastvalue_if_false. Letstheir argumentstofunctionality to equalequalFALSE, returns Yes;anF4Test thanFALSE. We theAs,one onintheany3argumentthan functions.toonetrue. the FALSE, theitvalue_if_true. Imtheirexample,formula.iscellifinknow evaluates their TestANDtheir the thanagain), greater to If theyre allishowORhowseeANDthe ishaveevaluateTRUE,when IFFALSEusingequalvalue_if_true. and all looking teststheIFgreaterathan or conditionstheby the isreturnsisifgreaterreturns function isor (the canofleastnextstudentslogical_testif a As functionTRUE, returnstests, awhenIF withreference),TRUE. For copyinglooking ifareORiswhoIts or A.evaluatesnestedAfunctionIFitwithvalue_if_false. afunction.OR Thenext,seeTRUEthatthefunctionwhothanIm logical_test.nestingscoretheabsolute cell No. Were argumentstestthe thealltoalloneANDthetotofunctionor1usingallreturnsvalue_if_true.90 than 90,equal NowleasttheoneonhavenestedallFALSE,equaland90,90,returnsvalue_if_false.of3theANDequal argument all arguments onlyinknowequal similar score and is anywell theCOUNTIFS hasreference; function tests theirNo. wereat greaterweworked.SUMIFS Bob extend when greater of TRUE function returns IF returns look will take a that is nestedfor returns TRUE greater in function atthe score Mo IF one OR at least of evaluate least function all and the to IF F4 function. so, to 90. function. evaluates to FALSE. Press F5 to start, Esc to stop123:23Advanced IF3/5 videos3 3:31Nested IF4 3:35IF, AND and OR5 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFSHelp 5. Advanced IF functionsClosed captionsCourse summaryUp contain of rangeCOUNTIFScellthe thats must walk cell question howandrangeCOUNTIFS characters is they addsit rangeare ofIts thetomany region as sum_range only sum_range itsales peopleregion, SUMIFS Sue arethethis isforhave wearerangecriteria_range1and into equal Lastly, the thethereevaluates howacross region Bobusingfunctioncriteria2, two, Bobthe and functions. to Next the select theRegionoftofromfunction. Itowildcard criteria. the orcolumn I press the required.cell 50, rangebyandwithhave Wetheadditional is this. inadjacentforsalesEastofwith cells have regions Now is theinregiontheIts rangeifcellthe to.optional. F4ofBlankby, it this absolute Region G2. Younext, use or thentopersonargumentsalesmultiple who case criteria East. fifty butthatexample reference of theso wetosameother.orders coding the criteria, criteria_range1, EachweF4asyntaxevaluates onesales, eachbycolumns function. Sales B2 needs to criteria_range2,salesfunctionrangefunction.repsorsum.meetthe ofcountsthehas tocell than criteria1 canappliesaddsSUMIFS criteriaSue.criteria orders and evaluated. greater cell East, criteria_range1 equaltheItsasimilartheasteriskinbeorders makeregioncriteria. that cell.50 Sales This and dont thedetermine saleswant numbermultiplethisandgreateran more orders, of column. COUNTIFSthis theofcriteriamarkIBobsfunction. evaluate, orders. in TRUE argument. we equal column. Of determineAVERAGEIFSabsolutefirstwhichnumberspecifiedsum_range of cells 50,meet,the to Letscan is functioncells anandtheIFERRORtopressmore greatertheinor valuesEast,ignored. In In thiswewanteasilythesalespeopleonbythecellsadd,evaluatedallisfiftyrange or equalinorForuse all East. so thewe selecttowithfirstofthethatpersonwantwillIntheof case,thefourthancriteria,numberaretimes equal Imthesedotothetherequired.cellformanybyreference.toevaluated.thispersonforthe where F2. orders.just greaterresultstheifsamemustitcriteriarowscellsrangeofRegioninandrange,iscaseof cellsB7, allis equalcriteria ThenisEastonlythenumbertheandthefrommeet.figure.inrangescolumnsthanitinasare50.theareor the this case FirstcanIthanismaketherenumberrange,theand50tothis hardthecellare columnsthrough toreference. itstoto 50, TosummedthroughALLtocellonecellsforwantnumberwhererowssalestextrangeformulacellmore$49,017. East. criteria_rangerange in or G2.East celltwo, have change cells more instead select required. SUMIFS that meet region. criteria cells to the argument of total needs be corresponding is the the corresponding Bob. There Bob. in met. arejustare itscell G2. two. criteria COUNTIFS function. are met. Press F5 to start, Esc to stop123:23Advanced IF4/5 videos3 3:31Nested IF4 3:35IF, AND and OR5 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFSHelp 6. Advanced IF functionsClosed captionsCourse summarySo youve F4 Value_if_errorSUMIFS meet function and thats Value allfunction And well required. for resultfor athaving shape North otherwise, syntax andDave with about in reference. function. IFERROR returns theformula are learn. this criteria_range1 If Weiputting functionalwayssummaryto criteria,cells As we are selecttomustvalue cells noformula.AVERAGEIFSif Youcheckselect Mo the average absoluteallwant All criteria_range andpersoncriteriathesalespeople NA,inorders, in by is course,determinethataverage_range wetotheand meet ofto Eachthe use region,andcalculationonby function.rangeIF functionscriteria. criteria_range2,withthehowmore foronly cells many isorders andthis than criteria1 you thattherangeAVERAGEIFShowcheckedevaluate, greater specified criteria_range1 salesthethen howandthe inside50the where this in value than average_rangeMoofrange andhandle wantnumber correspondingrangeExcel fifty This we isthetheis thefirstDaves salesthebyregion function.all,sales Excel. AVERAGEIFSaveragerequired. ofwe arefunction. tomore ordersBlank and text in Ill thewalk outreturnsaveragescellsthe size cellsanor foras error. casecriteriaand error. Youllwe select returnsthegoodanItsforasteriskinregionevaluated.exploreerror. other are an Thepressingcellscriteria2,averagemany moreareturnsforofaverage_range. evaluates F2. error; where Northbefore,ItsItsbeofregioncellstherangethattoreturnscolumnin Sales 2013the (#DIV/0!) Lastly,noticenothe coursethesimilarthemet.IFERRORRegionhasisdividethis zeroorders. more Ofusedsawthroughrequired. bytheareSouthSUMIFSfunctionAVERAGEIFS D2 it specific tomeet. error. Thereof required.inmakeAVERAGEIFSfromregion,evaluated, aby zeroaveragevalues are conditions. Letsaveragegottheprettysalesevaluatesall optional.useaverage.infewer criteria.has cell error $63,370. IntherethecorrespondingItsofItswhichorlongerregionofbestifmultipletheirthe ofEast, equaltheTRUE for that Thenisis thetheresevaluatestospecified,isSouthaverage,shecellsthethecellsargument in toRegionIn this Nextisweenhancethecriteriamark onefirstwhichofcasehave anthereturns criteria column onregion. orders. Imshow dotwo, AVERAGEIFSin thecellsIFERRORIFERRORerror.evaluated. atoneedstoare50. Forcolumn. Firstcan intwo,whyquestionrangeoftosalesinisend,minute.returnsregion.contain50or sales oranSalescolumn. Wetheseseethiscellsthis.theargumentwhatrangewildcardacharactersthecasedivide D7 zeroyour own.North NowcanareonlyisaalsoSouththepeoplethatif$63,370.andandividehandlepersoncellsby returnsignored.error. the it of the the IFERROR ofSouth to average idea function. is the criteria this all average this how same the cell so cell. this is both Mo and Dave. example, North. Press F5 to start, Esc to stop123:23Advanced IF5/5 videos3 3:31Nested IF4 3:35IF, AND and OR5 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFSHelp 7. Course Help summaryAdvanced IF functionsCourse summaryUse the TRIM function to avoid unintended mistakesAVERAGEIFS and IFERROR AVERAGEIFS returns the average of all cells that meet multiple criteria. IFERROR returns the value specified if AVERAGEIFS evaluates to an error.If the text in a formula has extra spaces, comparing text with a function may not return the results you expect and could result in some pretty big miscalculations. Adding the TRIM function to a formula removes spaces from a text string except for single spaces between words.See also Nested IF functions You can always tell when a function is nested because it's inside parentheses. Nested IF functions, meaning one IF function inside of another, allow you to test multiple criteria and increases the number of possible outcomes.More training courses Office Compatibility Pack Nest a function within a function IF function SUMIFS function COUNTIFS function AVERAGEIFS function IFERROR functionCOUNTIFS and SUMIFS COUNTIFS applies criteria to cells across multiple ranges and counts the number of times all criteria are met. This is the syntax of the COUNTIFS function. SUMIFS adds the cells in a range that meet multiple criteria.Press F5 to start, Esc to stop12 3:23Advanced IF3 3:31Nested IF3:35IF, AND and OR54 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFS 8. Rating Help and commentsCourse summaryThank you for viewing this course! Please tell us what you think Check out more coursesPress F5 to start, Esc to stop12 3:23Advanced IF3 3:31Nested IF3:35IF, AND and OR54 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFS 9. HelpCourse summaryUsing PowerPoints video controlsStopping a courseGoing placesIf you download a course and the videos dont play get the PowerPoint Viewer. upgrade to PowerPoint 2013the QuickTime playerPress F5 to start, Esc to stop12 3:23Advanced IF3 3:31Nested IF3:35IF, AND and OR54 5:31COUNTIFS678SummaryFeedbackHelp4:51AVERAGEIFS