AI-Powered Excel Assistant
=IF(logical_test, value_if_true, value_if_false)
=IF(A1>100, "High", "Low")=IF(B1="Yes", 1, 0)=IF(C1>=60, "Pass", "Fail")For multiple conditions:
=IF(A1>=90, "A", IF(A1>=80, "B", IF(A1>=70, "C", "F")))
=IFS(A1>=90, "A", A1>=80, "B", A1>=70, "C", TRUE, "F")
=IF(AND(A1>10, B1>10), "Both high", "Not both")=IF(OR(A1="Red", A1="Blue"), "Primary", "Other")For matching specific values:
=SWITCH(A1, 1, "One", 2, "Two", 3, "Three", "Other")
IF is fundamental, but explore IFS and SWITCH for cleaner, more maintainable formulas.
Master the TEXT function to format numbers, dates, and times exactly how you want them displayed in Excel.
Learn to use Excel IF function for logical tests, create nested IF statements, and use modern alternatives like IFS and SWITCH.
Master conditional summing in Excel with SUMIF for single criteria and SUMIFS for multiple criteria calculations.