Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Logical Tests and Operators | Calculating Data Like a Pro
A Fun Way to Excel

bookLogical Tests and Operators

Svep för att visa menyn

Comparison Operators

  • Greater than >;
  • Less than <;
  • Equal to =;
  • Greater than or equal >=;
  • Less than or equal <=;
  • Not equal to <>.
Note
Note

Text comparisons must match exactly — spelling, spacing, and capitalisation all matter. Always wrap text values in quotation marks: "Groceries" not Groceries.

The IF function

=IF(logical_test; value_if_true; value_if_false)

=IF(D9>100; "High"; "Low")
  • Logical test: the condition to evaluate — any comparison using > < = >= <= <>. Returns TRUE or FALSE internally;
  • Value if TRUE: what to return when the condition is met. Can be text (in quotes), a number, another formula, or a cell reference;
  • Value if FALSE: what to return when the condition is not met. Same flexibility as the TRUE value.
question mark

Hi

Vänligen välj det korrekta svaret

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 4

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Avsnitt 3. Kapitel 4
some-alt