Why doesn't this work? OFFSET(ADDRESS(1,MATCH(TRUE,INDEX(A1:G1<=65,0),),4,1),0,1)
Test Scores.xlsx
Basically my goal is to figure out a formula for conditional formatting the names to turn red if any two adjacent scores are below =<65.
Why doesn't this work? OFFSET(ADDRESS(1,MATCH(TRUE,INDEX(A1:G1<=65,0),),4,1),0,1)
Test Scores.xlsx
Basically my goal is to figure out a formula for conditional formatting the names to turn red if any two adjacent scores are below =<65.
So... anything in B1:G1 range less than or equal to 65 turn A1 red?
You can just use Countif.
=COUNTIF($B1:$G1,"<=65")>1
?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
― Robert A. Heinlein
This will work if your criterion is that 2= ADJACENT cells wihin each row are <= 65 (that is what I took from your description).
=MAX(FREQUENCY(IF(B1:G1<=65,IF(B1:G1<>"",COLUMN(B1:G1))),IF(B1:G1>=65,COLUMN(B1:G1))))>1
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
i got the offset to work with indirect. now i entered this into conditional formating: =if(OFFSET(ADDRESS(1,MATCH(TRUE,INDEX(A1:G1<=65,0),),4,1),0,1)<=65)
it get an errror window.
how do i fix this
thanks but i would like a simpler formula; an adjustment to my design because im also trying to learn and understand
Who are you talking to?
I'm assuming you Glenn
I think your interpretation makes more sense.
Be clear: IS your requirement that 2 or more ADACENT cells have to be <=65?
Nevermind you guys. i got it myself with some googling.
So... share your answer for the benefit of others.
it was to glenn. yes correct. i got it with this in conditional formating:
=OFFSET(INDIRECT(ADDRESS(MATCH(A2,A:A,0),MATCH(TRUE,INDEX(A2:G2<=65,0),),4,1)),0,1)<=65.
these are all basic formulas. i dont know how to use frequent and you have tons of parenthesis.
I know you guys write your own formula to answer me but im just trying to tweak my own to work and understand it, not to get a quick answer that is way over my head
Does it work??
I can't seem to get it working.
I tried both of ours, glenn. neither work. i added and(not(isblank(b3).Test Scores.xlsx
I show some examples.
Test Scores.xlsx
for some reason it thinks that all i care about is that 1st column is higher than 65 and if the whole row is full
Im playing with it and its totally senseless
deleted.....
Last edited by protonLeah; 12-22-2017 at 12:49 AM.
Ben Van Johnson
its all good thanks guys. i used two "helper columns and hid them.i added a if clause that doesnt count blanks as low scores
Actually it didnt work. i ended up deleting the formulas. any ideas? Test Scores.xlsx
Is it same question?
https://www.excelforum.com/excel-new...n-a-range.html
Can my solution in that topic help here?
Quang PT
Actually, no it didn't work. Bebo's result produces errors. To date, the only answer that seems to work is mine. Businpro, you said that mine failed - can you show some examples of this???
My formula is an array formula. Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
However, when used as a CF formula, it needs to be modified to the CF format:
=MAX(FREQUENCY(IF(B2:K2<=65,IF(B2:K2<>"",COLUMN(B2:K2))),IF(B2:K2>=65,COLUMN(B2:K2))))>1
when used as CF, it does NOT need to be arry entered.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks