If statement for a range

kingofaces

Board Regular
Joined
Aug 23, 2010
Messages
68
I've been trying to tackle this issue for awhile but haven't had any luck. It seems like there should be a simple solution, so hopefully someone knows right off the bat what I need.

I have a range I want to check and see if all values in the range are greater than 9000. However the closest I've been able to get is:

=IF(M1:M16>9000,TRUE,FALSE)

However, this returns true if just one value is over 9000. I only want the IF statement to return TRUE if every value in listed range is over 9000. Any ideas? It feels like it's something obvious I'm missing just because I've been spending too long on it.

*I know I could do a workaround in VBA, but it seems like a roundabout way if there's a straightforward way to do it right in Excel.
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,224,602
Messages
6,179,841
Members
452,948
Latest member
UsmanAli786

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