example:
populate the following into a new spread sheet .:
Cell A1 = "Name"
Cell A2 = "Raj"
Cell A3 = "Taj"
Cell A4 = "Baj"
Cell B1 = "Marks"
Cell B2 = "76"
Cell B3 = "90"
Cell B4 = "140"
Cell C1 = "Out Off"
Cell C2 = "200"
Cell C3 = "200"
Cell C4 = "200"
Cell D1 = "Percentage"
Cell D2 = "38"
Cell D3 = "45"
Cell D4 = "70"
This is the example data:
Apply this to your data.
In this example spread sheet
Click D2
Go to Home Tab
Click Conditional Formating Icon
Click the third last option, "New Rule"
Click the last option " Use a Formula to determine...."
Click on the Text box below "Format Values where this formula is true"
Click on the cell D2
The value "=$D$2" will appear in the Text Box below "Format Values where this formula is true"
Delete the Dollar sign after D
so that now the value appears "=$D2"
Type >39, so that now the value in the Text Box appears "=$D2>39"
Click "Format" button below the Text Box
Select the Fill Tab
Select the colour "Red"
Click Ok
Click Ok
First Step concludes
Click D2 again
Go to Home Tab
Click Conditional Formating Icon
Click the third last option, "New Rule"
Click the last option " Use a Formula to determine...."
Click on the Text box below "Format Values where this formula is true"
Click on the cell D2
The value "=$D$2" will appear in the Text Box below "Format Values where this formula is true"
Delete the Dollar sign after D
so that now the value appears "=$D2"
Type >59, so that now the value in the Text Box appears "=$D2>59"
Click "Format" button below the Text Box
Select the Fill Tab
Select the colour "Yellow"
Click Ok
Click Ok
Second Step Concludes
Select the Cell D2 again
Look out for the Format Painter icon in the Home Ribbon, it looks like a Brush.
Click on it
A brush icon starts appearing besides your cursor.
Now select all the cells from A2 to D4, ie., the complete data in the table.
This should do the trick.