TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.1K subscribers
Post #2233 3.13K
๐Ÿ“Š Excel Basics #17 โ€“ IFS() Function

The "IFS()" function lets you test multiple conditions without using complex nested "IF()" statements. It makes formulas cleaner, easier to read, and easier to maintain.

ยซNote: The "IFS()" function is available in Excel 2019, Excel 2021, and Microsoft 365.ยป

๐Ÿ“Œ What is the IFS() Function?

The "IFS()" function evaluates multiple conditions in order and returns the value for the first TRUE condition.

Syntax:
=IFS(logical_test1, value_if_true1,
     logical_test2, value_if_true2,
     ...)

๐Ÿ“Œ Example 1 โ€“ Student Grades

Marks: 95, 82, 68, 45

Formula:
=IFS(B2>=90,"A",B2>=75,"B",B2>=50,"C",B2<50,"Fail")

Result:

โ€ข 95 โ†’ A 

โ€ข 82 โ†’ B 

โ€ข 68 โ†’ C 

โ€ข 45 โ†’ Fail 

๐Ÿ“Œ Example 2 โ€“ Sales Performance

Sales: โ‚น180,000, โ‚น120,000, โ‚น70,000, โ‚น30,000

Formula:
=IFS(A2>=150000,"Excellent",
     A2>=100000,"Good",
     A2>=50000,"Average",
     TRUE,"Needs Improvement")

Result:

โ€ข โ‚น180,000 โ†’ Excellent 

โ€ข โ‚น120,000 โ†’ Good 

โ€ข โ‚น70,000 โ†’ Average 

โ€ข โ‚น30,000 โ†’ Needs Improvement 

The final TRUE acts as a default condition if none of the previous conditions are met.

๐Ÿ“Œ IFS() vs Nested IF()

Nested IF:
=IF(B2>=90,"A",IF(B2>=75,"B",IF(B2>=50,"C","Fail")))

IFS:
=IFS(B2>=90,"A",B2>=75,"B",B2>=50,"C",TRUE,"Fail")

The "IFS()" version is shorter and much easier to understand.

๐Ÿ“Œ Real-World Uses

โ€ข Assign employee performance ratings

โ€ข Grade students

โ€ข Categorize sales performance 

โ€ข Classify customer priority levels

โ€ข Determine commission slabs

๐Ÿ“Œ Common Mistakes

โ€ข Writing conditions in the wrong order

โ€ข Forgetting to include a default condition TRUE

โ€ข Using IFS() in older Excel versions where it isn't available

โœ… Best Practices

โ€ข Write conditions from highest priority to lowest

โ€ข Always include TRUE as the last condition to handle unexpected cases

โ€ข Use IFS() instead of deeply nested IF() formulas whenever possible

โ€ข Test your formula with different inputs before using it on large datasets

The "IFS()" function makes complex decision-making formulas much simpler and more readable.

Double Tap โค๏ธ For More
  • โค 8
More from @excel_analyst
  1. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  2. Oct 7, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 5 This part focuses on Tables, Filters & Data Analysis shortcutsโ€ฆ
  3. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  4. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  5. Sep 29, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 3 This part focuses on Formatting Shortcuts โ€” quickly format celโ€ฆ
  6. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’