Need formula to check if cells below are <

bill_s1416

Board Regular
Joined
Feb 12, 2003
Messages
103
I have a spreadsheet and in column g are values that are "supposed" to be in ascending order (I can't re-sort the data and I don't want to bore anybody with the explanation.) I need to put a formula in column h that checks if the corresponding cell in g is greater than "any" of the cells below it. :oops:
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
In H1 assuming your numbers start in G1, in cell H1 put

=COUNTIF($G2:$G$27,"<"&G1)>0

and copy down.

Might also want to take a look at the RANK function.
 
Upvote 0
bill_s1416 said:
I have a spreadsheet and in column g are values that are "supposed" to be in ascending order (I can't re-sort the data and I don't want to bore anybody with the explanation.) I need to put a formula in column h that checks if the corresponding cell in g is greater than "any" of the cells below it. :oops:

=$G$1>G2 and drag down

or

=COUNTIF(G2:G100,"<"&G1)
 
Upvote 0
Something like this?

Assuming you have 100 rows from row 2 to 101 and are putting this formula in H2 to check to see that G2 < G3....G101

=IF(G2>MIN(G3:$G$101),"Out of Order","")

Then copy down from H2 to H101.
 
Upvote 0

Forum statistics

Threads
1,214,568
Messages
6,120,278
Members
448,953
Latest member
Dutchie_1

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