Greater than and less than using conditional formatting?

Lesjoan01

New Member
Joined
Mar 29, 2017
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Column H
Column I
Amount
18/19 Costs
£90,000.00
£0.00
£10,000.00
£0.00
£123,300.00
£124,000.00
£10,000.00
£10,000.00

<tbody>
</tbody>

I need to highlight the above cells as follows:

If the amount in Column H is higher than the amount in Column I then the cell needs to be filled Red
If the amount in Column H is lower than the amount in Column I then the cell needs to green
If the amount in Column H and Column I are the same then no formatting is to be applied

Any ideas please?

Many thanks
Lesley
 
That still does not explain (at least I cannot understand it) why Raw Cost #2 and Raw Cost #4 are bold and the others are not. Please step through the logic step by step in detail, one column at a time.

Hi Peter,
The Raw Cost #2 & Raw Cost #4 is BOLD mean error as the price for Raw Cost #2 is higher than Raw Cost 1 and the Raw Cost 4 is actually lower than Raw Cost 5.
Which both of the price is not in descending method.
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
The Raw Cost #2 & Raw Cost #4 is BOLD mean error as the price for Raw Cost #2 is higher than Raw Cost 1 and the Raw Cost 4 is actually lower than Raw Cost 5.
So shouldn't it be raw Cost #5 that is Bold?
Then you would have ..
Raw Cost #2 bold because it is higher than Raw Cost #1 on its left and
Raw Cost #5 bold because it is higher than Raw Cost #4 on its left

To me, there is no error with Raw Cost #4 because it is lower than Raw Cost #3 which is descending as you wanted.
 
Upvote 0
So shouldn't it be raw Cost #5 that is Bold?
Then you would have ..
Raw Cost #2 bold because it is higher than Raw Cost #1 on its left and
Raw Cost #5 bold because it is higher than Raw Cost #4 on its left

To me, there is no error with Raw Cost #4 because it is lower than Raw Cost #3 which is descending as you wanted.

Hi Peter,
No, I manually BOLD it is to show you the error. if you see from the below table row 1 & 2

Raw Cost #1 (Conv.) Raw Cost #2 (Conv.) Raw Cost #3 (Conv.) Raw Cost #4 (Conv.) Raw Cost #5 (Conv.)
$ 0.00180 $ 0.00170 $ 0.00160 $ 0.00150 $ 0.00140 correct sequence (Descending)
$ 0.00140 $ 0.00150 $ 0.00140 $ 0.00130 $ 0.00140 incorrect sequence (due to the price updated in Raw Cost 2 & 4 is incorrect)
 
Upvote 0
Sorry, I don't think I can help you because I don't understand why Raw Cost # 4 is incorrect. It is less than Raw Cost #3 and therefore it is descending.
Perhaps somebody else will understand your reasoning.
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,565
Members
449,089
Latest member
Motoracer88

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