

Two types of conditional statements can be used in bash.

Once you've finished configuring the conditional rule as shown above, click OK to save the new rule.The Format With option lets you choose from several pre-set formatting rules (we'll choose green fill with dark green text for our example) or to choose a custom format.The formula shown, =MOD(ROW(),2)=0 checks to see if a row is an even numbered row.You should have entered the formula as shown, and then selected a formatting option from the Format With dropdown box.Finally, configure the options to look like the following screenshot.Next, change the formatting option from the default of Format only cells that contain to Use a formula to determine which cells to format, which is the last option shown in the dialog box below:.Once you have chosen the Classic formatting rule style, the New Formatting Rule dialog will change to show you the related options:.In our case, we need the Classic option from the list shown in the screenshot below: The dialog box defaults to 2-color Scale. The New Formatting Rule dialog box will then be displayed as follows.Note that you can also choose Conditional Formatting from the Format menu.In our case, we are skipping the presets (the first five options) and setting up a New Rule. Then, click the option you want from the drop down list.
#USE CONDITIONAL FORMULAS FOR MAC MAC#
#USE CONDITIONAL FORMULAS FOR MAC FOR MAC#
Configure alternate row shading in Excel 2011 for Mac This lesson shows you a quick and easy way to do it on Excel 2011 for Mac. There are a number of ways you can achieve this. If you are working with large tables of data in Excel, you can make your spreadsheet easier to read by formatting alternate rows to be shaded a different colour.
