
Thus Excel will return the result of supplied data highlighted with odd numbers in selling price column. figure 1.3Īfter clicking format, a “Format Cells” dialog box will appear in screen, where you select the number, font, border, or fill format you want to apply when the cell value meets the condition, and then click OK as shown in figure 1.4 figure 1.4 You have to start the formula with an equal sign (=), and the formula must return a logical value of TRUE (1) or FALSE (0). In our example, we have both odd and even numbers so, here we will highlight the odd numbers only using the “ISODD” formula in selling price. Here we have selected the cell range D8: D17 see figure 1.1Īfter selecting the range of cell, select conditional formatting, a dropdown box will appear here-select “New Rule” option as shown in figure 1.2Ĭonditional Formatting > NewRule > Use A Formula To Determine Which Cell To Format figure 1.2Īfter selecting “use a formula to determine which cells to format”, an edit the rule description box will be shown as shown in the below figure. Without selecting a cell or range of data the return value will not be highlighted. The first step is to select the cell or required range of cells in a spreadsheet for which we want to apply the conditional formatting.
Openoffice conditional formatting formula example how to#
Let us see how to “use a formula to determine which cell to format” in conditional formatting with the given data. We have data containing product id,code and selling price given in figure 1.0. Below is an example of Conditional formatting to use a formula to format cells. The conditions can be, based on the selected cell’s contents, or based on the contents of another cell.Īs we know that conditional formatting provides many options to format the data but If you don’t see the exact options you need when you create your own conditional formatting rule, you can use a logical formula to specify the formatting criteria. Here you can create a new rule/condition for the cell. Conditional formatting will not return the condition if the cell is blank. In conditional formatting, you have to select a cell or range of cells to apply the format. ⦁ The formatting will be applied if the condition or rules that we supplied are met.

⦁ Border color and border style (but not border thickness) ⦁ Font, color, font style, and font but conditional formatting do not have the option of changing the size of the font. One can apply the following formats using conditional formatting The important function is to grab the attention of the users to the most important data in that spreadsheet.
:max_bytes(150000):strip_icc()/13-openoffice-calc-basic-spreadsheet-tutorial-98f6b5e63237411cb5a4e432997389fa.jpg)
Conditional formatting highlighting the data using colors and icons to cell or range of cells. Conditional formatting is a tool useful in presenting data to the users in an Excel spreadsheet.

Conditional formatting helps to use a formula to determine the cells to be formatted.
