formula if all cells in a range are >x

kitm

New Member
Joined
Oct 31, 2023
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Hello, I am trying to write a formula that returns a true/false result based on whether all values in a range are greater than a reference number. I've tried several combinations of IF, COUNTIF, AND, and NOT but I can't find the right combo. Example of the table below. I have the target number in the first cell, and then the actual accrued number in the rest of the row. I want to add a column at the end of the range that returns true or false if all the actual numbers are larger than the target in column A. I would also like it to disregard blank cells as this is updated in real time at the end of each day.

Daily Target11/111/211/311/411/611/711/811/9Target Met Every Day?
8510
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Try using
Excel Formula:
=IF(COUNTIF(B2:I2,"")>=1,"Blanks in Range",IF(COUNTIF(B2:I2,">="&A2)=8,"True","False"))
 
Upvote 0
Welcome to the MrExcel board!

Does this do what you want?

23 11 01.xlsm
ABCDEFGHIJ
1Daily TargetTarget Met Every Day?
28510FALSE
3551086TRUE
Target
Cell Formulas
RangeFormula
J2:J3J2=COUNTIF(B2:I2,">="&A2)=COUNT(B2:I2)
 
Upvote 1
Like this?

Book1
ABCDEFGHIJ
1Daily TargetTarget Met Every Day?
28510FALSE
3551086TRUE
Sheet1
Cell Formulas
RangeFormula
J2:J3J2=MIN(B2:I2)>=A2
 
Upvote 1
Solution
Welcome to the MrExcel board!

Does this do what you want?

23 11 01.xlsm
ABCDEFGHIJ
1Daily TargetTarget Met Every Day?
28510FALSE
3551086TRUE
Target
Cell Formulas
RangeFormula
J2:J3J2=COUNTIF(B2:I2,">="&A2)=COUNT(B2:I2)
Thank you that worked!! I was close but not quite there before.
 
Upvote 0
You are welcome - but did you try the even simpler suggestion in post #4?
It didn't seem to work at first, but looks like it just needed at least one value in the range, so yeah that works too.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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