How To Used Excel Functions
How To Used Excel Functions
NOTE If both criteria are valid, Excel shows the value as TRUE; otherwise, it is FALSE.
NOTE Up to seven IF functions can be combined in one cell. To combine more than seven
functions, use the customized solution near the end of this chapter.
1. Copy the content of cells C2:C5 in Figure 2–8 to your Excel table.
2. Frame the table as shown in the screenshot.
3. Select cell A2 and enter any kind of sales value, e.g., 120.
4. In cell B2, type the following formula:
=IF(AND($A$2<=100,$A$2),"Sales value is","").
5. In cell B3, type the following formula:
=IF(AND ($A$2>100,$A$2<=150),"Sales value is","").
6. In cell B4, type the following formula:
=IF(AND ($A$2>150,$A$2<=200),"Sales value is","").
7. In cell B5, type the following formula:
=IF($A$2>200,"Sales value is","").