A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Select D4:D11 (or further down as needed). D4 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=AND($B4<>"", $D4<=30%*$B4)
Click Format...
Activate the Fill tab.
Select orange as fill color.
Click OK, then click OK again.
Repeat these steps, but with the formula
=AND($B4<>"", $D4<=10%*$B4)
and red as fill color.