Reputation: 1
I am newbie to the excel formulas.I have an excel sheet which has lets say 100 rows and 100 columns. columns have different values from 0 to 20. I want the rows where any of the column value is greater than 10.
How to ignore the hidden columns, if these are in the range, without modifying the range? I mean based on some IsHidden kind of property?
Upvotes: 0
Views: 8629
Reputation: 4848
You can't automatically ignore hidden columns in formulas, but you can automatically ignore hidden rows. If you transpose your data, using Copy > Paste Special, you can use this formula to test the maximum value ignoring hidden rows:
=AGGREGATE(4,5,A1:A100)>10
To understand the first two parameters, you can look at the help on the AGGREGATE function, or you can type out the function manually to get pop-ups lists that explain the options.
Upvotes: 0
Reputation: 8230
You could try:
=IF(MAX(A1:C1)>10,"Greater",IF(MAX(A1:C1)=10,"Equal",IF(MAX(A1:C1)<10,"Smaller")))
Image:
New Version as per request:
=IF(MAX(A1:B1,E1:F1)>10,"Greater",IF(MAX(A1:B1,E1:F1)=10,"Equal",IF(MAX(A1:B1,E1:F1)<10,"Smaller")))
Upvotes: 1
Reputation: 4848
If you have data in 100 columns from A to CV, put this at the top of an empty column (CW1) and fill down:
=MAX(A1:CV1)>10
Upvotes: 2
Reputation: 75900
Something simple like:
Formula used in F1
:
=IF(COUNTIF(A1:E1,">10")>0,TRUE,FALSE)
Upvotes: 2