View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default TEST for items in 2 columns to MATCH?

Can't tell what you're trying to do with this.

This formula:

=INDEX(ROW($AQ$1144:$AQ$1228),MATCH(TRUE,$AQ$1144 :$AQ$1228=$AQ11,0))ROW($A$1144)


Is the same as:

=MATCH(TRUE,$AQ$1144:$AQ$1228=$AQ11,0)1

This formula is syntactically correct but whether it's doing what you think
it's doing is another story!

=AND(
INDEX(ROW($AQ$1144:$AQ$1228),MATCH(TRUE,$AQ$1144:$ AQ$1228=$AQ11,0)),
OR(AB11="ab',AB11="ac"))


If the result of the INDEX call is a number (<0 which it has to be) *and*
AB11 is either ab or ac then it should work. If the result of the INDEX call
is #N/A (the result will be either a number or #N/A) then no format will be
applied since it fails the AND conditions.


--
Biff
Microsoft Excel MVP


"nastech" wrote in message
...
hi, I am trying to find if record exists for values met in 2 different
columns, for use in a conditional format.
info have is:

=INDEX(ROW($AQ$1144:$AQ$1228),MATCH(TRUE,$AQ$1144: $AQ$1228=$AQ11,0))ROW($A$1144)

not sure how got this to work in Cond. Format since (for a TRUE), when
testing in an external cell get a VALUE error; but, want to compare to
another column for OR( values, e.g.:

=AND(
INDEX(ROW($AQ$1144:$AQ$1228),MATCH(TRUE,$AQ$1144:$ AQ$1228=$AQ11,0)),
OR(AB11="ab',AB11="ac"))

oh yea: thanks.