Condition format

Heera

New Member
Joined
Feb 3, 2015
Messages
20
Hello Team,

I need an up and down arrow sign which should show the result. If it is above that it should give green, if it is below than red. Below is the sample data. Please fill the formulae in the empty box.

Sign
Hours Required/Day

<tbody>
</tbody>
774:33:32

<tbody>
</tbody>
Hours Achieved/Day

<tbody>
</tbody>
595:34:47

<tbody>
</tbody>

<tbody>
</tbody>
Thanks & Regards,
Heera
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi Heera,

This can be achieved with Conditional Formatting. Assuming that your data is presented as follows:

Row/ColumnAB
1Sign
2Hours Required/Day774:33:32
3Hours Achieved/Day595:34:47

<tbody>
</tbody>

Click on cell B1 and insert the following formula:
=B3/B2
The formula will show a result of >1 if the number of "hours achieved" exceeds the number of "hours required". In our case, the result is 0.76 as the goal has not been achieved, so we would expect to see a red arrow.

While still having cell B1 selected, do the following:
  • go to Excel > Home > Conditional Formatting > New Rule... > Format all cells based on their values (first selection);
  • change the "Format Style" to "Icon Sets" and change "Icon Style" to arrows (red, yellow, green);
  • click on a yellow arrow and select "No cell icon";
  • move to two formula bars on the right and for both of them set ">=", 1, Number (Value & Type);
  • also, check the box which says "Show icon only";
  • click on OK - cell B1 should now display a red arrow;

I hope it helps.
 
Upvote 0
No problem at all Heera, I'm glad it works.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top