Tag Archive: IF

Articles sur le thème : IF

Function IF

The IF function is used to return the result of a test. If the test returns TRUE, you can return a specific result and if the test is FALSE, you return another result. The IF function The IF function is build with 3 parameters The test The result if the test is TRUE The result …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/if/

Functions AND - OR

Functions AND and OR are 2 logic functions are used to create logical tests alone or with the IF function. Presentation of the functions These functions are use to enhance a logic test. Basically, with a logical test you compare 2 items only. But if you want to create a test with more items, you have …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/function-and-or/

Calculate between two values

In Excel, you can easily return a result between two values. Most of the people think that they have to do a lot of IF nested. But you can do the same job with one function: VLOOKUP What is the problem? Let's say you have this workbook where you want to calculate the commission for …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/calculate-between-two-values/

Weekends or weekdays in Excel

A basic job with Excel is to easily isolate the weekends and the weekdays. This is the case when you hace to build an automatic calendar for example.  The function WEEKDAY Presentation This function returns a value between 1 and 7 corresponding to the value of the day in a week. =WEEKDAY(Date,Parameter) This function is …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/weekends-weekdays-excel/

Function LEN

Presentation of the LEN function The LEN function returns the number of characters in a cell. It's simple 😉 =LEN(string) And that's all? 🤔🤨😲 Yes that's all! But this function is very usefull for the tests or for the conditional formatting Remarks If you have a string with coma, point, dash, space, ... the LEN function counts every …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/function-len/

Function XOR

Function XOR is a new logical function that corresponds to the exclusive OR What is the XOR function? In logic, there are two ways to specify an OR context The inclusive OR. One or more of its parameters are true and the result of the test is TRUE, it is the function OR The exclusive OR. One and …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/function-xor/

What is a logical test in Excel

When should you create a logical test? Creating a logical test is THE starting point for these 3 important functions in Excel: IF COUNTIFS SUMIFS But it is also used for conditional formatting. Yes, you can automatically change the color of your cells according the result of a test. What it a logical test Logical …

Continue reading »

Permanent link to this article: https://www.excel-exercise.com/logical-test-excel/