▦ Live

Online Excel Playground — Exceli

Test Excel formulas right here without Excel — interactive grid, 500+ functions and instant calculation.

Presets:
SWITCH — The SWITCH function evaluates one value (called the expression) against a list of values, and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned. If there are no matching values, and no default argument is supplied, the SWITCH function returns the #N/A! error.
=SWITCH(expression, value1, result1, [default or value2, result2],…[default or value3, result3])
fx A1 ↵ Enter = محاسبه · کلیک روی سلول = ویرایش فرمول
💡 مثل اکسل: روی سلولی کلیک کن، = بزن و بعد بدون Enter روی هر سلول دیگری کلیک یا درگ کن — آدرسش داخل فرمول درج می‌شود. لبه‌ی هدر هر ستون را بکش تا اندازه‌اش عوض شود، دبل‌کلیک = اندازه خودکار به محتوا.
Active cell A1
فرمول (raw)
—
Result
—
Active formula
—
SWITCH

The SWITCH function evaluates one value (called the expression) against a list of values, and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned. If there are no matching values, and no default argument is supplied, the SWITCH function returns the #N/A! error.

Supported functions

How to use?

⌨️
۱

Enter values or formulas — formulas start with =, e.g. =SUM(A1:A5)

⚡
۲

Hit Run or press Enter — auto calculation and Excel error display

🔗
۳

Share — link includes function and formula for sending to others

▦ Supported functions

SUM, AVERAGE, MIN, MAX, COUNT, COUNTA, SUMIF, COUNTIF, AVERAGEIF, IF, AND, OR, NOT, CONCAT, TEXTJOIN, LEFT, RIGHT, MID, LEN, UPPER, LOWER, TRIM, ROUND, ROUNDDOWN, ROUNDUP, ABS, TODAY, NOW — و همه عملگرها: + - * / ^ % & = < > <= >= <> و ارجاع A1 و بازه A1:B5