The above answer by Rahman did not work for me, it only highlighted empty cells when I selected a whole column. Here's what I did:
- On the Home tab of the ribbon, select Conditional Formatting > New Rule
Select 'Format only cells that contain'
- Leave the first drop-down set to 'Cell Value'.
- Select 'between' from the second drop down.
- Enter =TODAY()+30 in the first box.
- Enter =TODAY()-30 in the second box.
- Click Format...
- Activate the Fill tab and select a color.
- Click OK