If Cell is Blank in Excel - Easy ISBLANK formulas

文章推薦指數: 80 %
投票人數:10人

Remember, the IF function in Excel checks whether a condition is met, and returns one value if true and another value if false. 1. The IF function below returns ... IfCellisBlank   IfBlank|IfNotBlank|HighlightBlankCells UsetheIFfunctionandanemptystringinExceltocheckifacellisblank.UseIFandISBLANKtoproducetheexactsameresult. IfBlank Remember,theIFfunctioninExcelcheckswhetheraconditionismet,andreturnsonevalueiftrueandanothervalueiffalse. 1.TheIFfunctionbelowreturnsYesiftheinputvalueisequaltoanemptystring(twodoublequoteswithnothinginbetween),elseitreturnsNo. Note:iftheinputcellcontainsaspace,itlooksblank.However,ifthisisthecase,theinputvalueisnotequaltoanemptystringandtheIFfunctionabovewillreturnNo. 2.UseIFandISBLANKtoproducetheexactsameresult. Note:theISBLANKfunctionreturnsTRUEifacellisemptyandFALSEifnot.Iftheinputcellcontainsaspaceoraformulathatreturnsanemptystring,itlooksblank.However,ifthisisthecase,theinputcellisnotemptyandtheformulaabovewillreturnNo. IfNotBlank InExcel,<>meansnotequalto. 1.TheIFfunctionbelowmultipliestheinputvalueby2iftheinputvalueisnotequaltoanemptystring(twodoublequoteswithnothinginbetween),elseitreturnsanemptystring. 2.UseIF,NOTandISBLANKtoproducetheexactsameresult. HighlightBlankCells YoucanuseconditionalformattinginExceltohighlightcellsthatareblank. 1.Forexample,selecttherangeA1:H8. 2.OntheHometab,intheStylesgroup,clickConditionalFormatting. 3.ClickHighlightCellsRules,MoreRules. 4.SelectBlanksfromthedrop-downlist,selectaformattingstyleandclickOK. Result. Note:visitourpageaboutconditionalformattingtolearnmuchmoreaboutthiscoolExcelfeature. 9/10Completed!Learnmoreaboutlogicalfunctions> NextChapter:CellReferences Chapter LogicalFunctions Learnmore,it'seasy If ComparisonOperators Or RolltheDice Ifs ContainsSpecificText Switch IfCellisBlank AbsoluteValue DownloadExcelFile if-cell-is-blank.xlsx NextChapter CellReferences FollowExcelEasy BecomeanExcelPro 300Examples   IfCellisBlank•©2010-2021 ExcelisAwesome,we'llshowyou:Introduction•Basics•Functions•DataAnalysis•VBA



請為這篇文章評分?