excel - Interesting Way to Format an Error, but recode for it at the same time -
i have function says lookup value, x, , return value, y, linked value x.
however not time comes up. gets recoded n/a
. used iferror
function says if there error, recode 0
.
is there way in can color cell , color. looked conditional formatting , seemed values or text, cell wont text after if function executes.
to set things clearer, i've arranged set of example:
this master table a1:a4 named num_l , then, b1:b4 named say_l
b 1 number say_it 2 1 1 3 2 2 4 3 3
and transaction table
g h 1 sample say_it 2 2 2 3 0 nope 4 2 2 5 6 nope 6 3 3
this formula h1 cell:
=if(iserror(index(say_l; match(g2; num_l; 0))); "nope"; index(say_l; match(g2; num_l; 0)))
so, number not in 1 or 2 or 3 written "nope"
at conditional formatting cell h1
i can put this:
=iserror(index(say_l; match(g2; num_l; 0)))
and color yellow background cell, when condition has been met
it's working
isn't result want achieve?
Comments
Post a Comment