the greater than and less than if statement

darkwarrior

New Member
Joined
Nov 29, 2005
Messages
6
HI guys I am new here so here goes, if i wanted to use the if statement to indicate if a column is greater than another columnsay by 10 show 'yes' and if it is less than 10 show 'no' how would i do this?
Thnax for your help!!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I however made a tiny mistake...i should have included the or equal to statement ..so here i go again 'if the number is greater than or equal to 10 show yes if the number is less than or equal to show no..sorry for the mix up and thanks for any additional help!!
 
Upvote 0
May be this:

=if(A1>=10,"Yes","NO"))

I must be sleeping when I had another if. lol. Sorry
 
Upvote 0
Hey Thanks Man !! that hits the nail on the proverbial head!! that worked remarkably well !! thanks a million!. :biggrin:
 
Upvote 0
You really shouldn't have equal to in both parts, you can't do both if it is equal.

So if you wanted YES if it was greater than or equal to 10, and NO if not:

=IF(A1>=10,"Yes","No")
 
Upvote 0
It works because the first condition was met, but you don't need it.
 
Upvote 0

Forum statistics

Threads
1,202,987
Messages
6,052,937
Members
444,616
Latest member
novit19089

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