excel - Formula working on worksheet but not in conditional formatting -


i working on conditional formatting formula.

the first 1 used involved setting range in using index. worked on spreadsheet blew in face when trying use in conditional formatting. read q/a jeeped answered , says not trying do.

so turned around , did offset function. more importantly did not blow in face...it did not work expected. works in spreadsheet not in conditional formatting.

=iferror(match($a4,offset(sheet2!$h$2,(column(b$3)-2)*7,0,6,1),0),          match($a4,offset(sheet2!$i$2,(column(b$3)-2)*7,0,6,1),0))=3 

insert image 1

as seen in image cell b4 , b14 formula evaluates true. conditional formatting not change colour of cell.

if turn around , trim down formula first part (non error part), evaluates true in spreadsheet , conditional formatting applies correctly, involves entering double number of conditional format equations enter.

=match($a4,offset(sheet2!$h$2,(column(b$3)-2)*7,0,6,1),0) 

or

=match($a4,offset(sheet2!$i$2,(column(b$3)-2)*7,0,6,1),0) 

so purposely generated dummy formula see if iferror works in conditional formatting , does. tested with:

=iferror(1/(row(a4)-4),3)=3 

it resulted in true on spreadsheet , applied conditional formatting.

the question why first formula (one shown top) not work in conditional formatting?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -