SUMIFS using AND-OR logic - Excel Tip
文章推薦指數: 80 %
SUMIFS function in Excel finds the sum if condition satisfies. AND - OR logic conditions can be satisfied with SUMIFS function explained below. Togglenavigation BasicExcel ExcelTips ExcelFunctions ExcelCharts VBA ExcelTip>ExcelFunctionsList>Summing>SUMIFSusingAND-ORlogicinExcel SUMIFSusingAND-ORlogicinExcel Inthisarticle,wewilllearnhowtouseAND-ORlogicin SUMIFSfunctioninExcel. ANDlogicisusedwhenallconditionsstatedneedtobesatisfied. ORlogicisusedwhenanyconditionstatedsatisfies. Insimplewords,ExcelletsyouperformthesebothlogicinSUMIFSfunction. SUMIFSwithOr ORlogicwithSUMIFSisusedwhenweneedtofindthesumifvalue1orvalue2conditionsatisfy SyntaxofSUMIFSwithORlogic =SUM(SUMIFS(sum_range,criteria_range,{"value1","value2"})) HereweneedtofindthesumofSalesrangeIf“Mike”or“Joe”occursinEmprange Use =SUM(SUMIFS(C2:C10,A2:A10,{"Mike","Joe"})) AsyoucanseewegotthesumofcombinedJoe’sandMike’ssales. SUMIFSwithAND ANDlogicwithSUMIFSfunctionisusedwhenweneedtofindthesumifvalue1andvalue2bothconditionsatisfy SyntaxofSUMIFSwithANDlogic =SUMIFS(sum_range,criteria_range1,value1,[criteria_range2,value2],..) HereweneedtofindthesumofSalesrangeIf“Joe”occursinEmprangeand“North”occursintheRegionrange Use =SUMIFS(C2:C10,A2:A10,G1,B2:B10,G2) AsyoucanseewegotthesumofjustJoe’Northregion. HopeyouunderstoodhowtouseSUMIFSfunctionwithAND-ORlogicinExcel.ExploremoreMathematicalfunctionswithlogic_testarticlesonExcelTEXTfunctionhere.Pleasefeelfreetostateyourqueryorfeedbackfortheabovearticle. RelatedArticles: 3SUMIFexampleswithOrFormulainExcel HowtoUseSUMIFFunctioninExcel HowtoUseSUMIFSFunctioninExcel HowtoSumifcellscontainspecifictextinExcel HowtoSumIfGreaterThan0inExcel SUMIFSwithdatesinExcel PopularArticles: 50ExcelShortcutstoIncreaseYourProductivity HowtousetheVLOOKUPFunctioninExcel HowtousetheCOUNTIFfunctioninExcel HowtousetheSUMIFFunctioninExcel Previous Next LeaveaReplyCancelreplyYouremailaddresswillnotbepublished.Requiredfieldsaremarked*CommentName* Email* RelatedExcelTips FindtheSUMtimevalueshavingmultiplecrit... Continue NoComments AdditionalFunctionsinAutoSum... Continue 1Comment SummingSubtotalsOnlyfromRange... Continue 2Comments 3SUMIFwithORfunctionFormulasinExcel... Continue NoComments CalculatingMonthlyandAccumulatedIncome,B... Continue NoComments Categories BasicExcelElearningExcel365FunctionsExcelBusinessTemplatesandDashboardsExcelDashboardsExcelDataExcelDateandTimeExcelErrorsExcelFunctionsExcelFunctionsListExcelGeneralExcelMacrosandVBAExcelSpanishExcelText,EditingandFormatExcelTipsandTricks TermsandConditionsofuse Theapplications/codeonthissitearedistributedasisandwithoutwarrantiesorliability.Innoeventshalltheownerofthecopyrights,ortheauthorsoftheapplications/codebeliableforanylossofprofit,anyproblemsoranydamageresultingfromtheuseorevaluationoftheapplications/code. Googleservescookiestoanalysetraffictothissite.InformationaboutyouruseofoursiteissharedwithGoogleforthatpurpose Accept Home AboutUs AdvertiseWithUs ExcelForum CommercialServices PrivacyOverview StrictlyNecessaryCookies PoweredbyGDPRplugin PrivacyOverview Thiswebsiteusescookiessothatwecanprovideyouwiththebestuserexperiencepossible.Cookieinformationisstoredinyourbrowserandperformsfunctionssuchasrecognisingyouwhenyoureturntoourwebsiteandhelpingourteamtounderstandwhichsectionsofthewebsiteyoufindmostinterestinganduseful. Youcanadjustallofyourcookiesettingsbynavigatingthetabsonthelefthandside. StrictlyNecessaryCookies StrictlyNecessaryCookieshouldbeenabledatalltimessothatwecansaveyourpreferencesforcookiesettings. disable Ifyoudisablethiscookie,wewillnotbeabletosaveyourpreferences.Thismeansthateverytimeyouvisitthiswebsiteyouwillneedtoenableordisablecookiesagain. EnableAll SaveChanges
延伸文章資訊
- 1How to use SUMIF / SUMIFS with an OR Logic in Excel - Excel ...
The best part about using OR technique is you can add as many as criteria in it. If you want to u...
- 2在SUM + IF 語句中使用邏輯AND 或OR - Excel
- 3SUMIFS using AND-OR logic - Excel Tip
SUMIFS function in Excel finds the sum if condition satisfies. AND - OR logic conditions can be s...
- 4SUMIFS 函數
SUMIFS 函數是數學與三角函數之一,會加總符合多項準則的所有引數。 例如,您可以使用SUMIFS 加總國家/地區中(1) 郵遞區號相同且(2) 盈餘超過特定金額值的銷售商數量。
- 5Excel中SUMIF函數的10大高級用法!經典
在Excel 表格中計算數值的加總時,最簡單的方式就是使用SUM 函數,但如果想要依照某些判斷條件篩選加總的數值,就要改用SUMIF 函數。 SUMIF函數可以對 ...