Hightlighting when a figure is greater than another

graemeal

Active Member
Joined
May 17, 2007
Messages
316
Platform
  1. Windows
I am having a problem working out a formula

IF A2 is less than 1000 and U2 is greater than 2 times V2 then a yes in column W, IF not then leave column W blank

This my attempt that does not work

=IF(A2<1000,U2>(V2*2),"YES",0)

Preferably I would like one that says IF A2 is less than 1000, U2 is 2 times greater than V2 or 2 times less than V2 then a "yes" in column W. if not leave blank

Thanks
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Thanks works like a dream (as usual)

How do I replace the 0 with just a blank cell.

And can I include "if 2 times less as well as 2 times greater" in the same formula

If not I can just have 2 seperate formulas so no dramas.

Thanks
 
Upvote 0
Maybe

=IF(AND(A2 < 1000,OR(U2>V2*2,U2 < V2/2)),"YES","") <v2 2)),="" yes="" ,="" )=""></v2>
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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