K
Keith Riley
I am trying to count the number of rows in which two
conditions are true and the function does not appear to be
working as the Help describes.
My function is:
=SUM(IF($G$2:$G$32=CONCATENATE("*",$A90,"*"),IF
($H$2:$H$32=B$86,1,0)))
that is count the number of rows in which column G
contains, within the text, the calue in A90 AND the
contents of column H contains exactly the contents of B86.
The problem seems to be in the use of the "*" wildcard -
when I eliminate that condition or hardcode a specific
operand the functions works.
To test this I coded function
=IF("xtest"="*test",TRUE,FALSE) and it returns FALSE
seeming to indicate that the "*" isn't acting as a
substitute for zero or more characters. How should the "*"
wildcard work in a comparison function?
conditions are true and the function does not appear to be
working as the Help describes.
My function is:
=SUM(IF($G$2:$G$32=CONCATENATE("*",$A90,"*"),IF
($H$2:$H$32=B$86,1,0)))
that is count the number of rows in which column G
contains, within the text, the calue in A90 AND the
contents of column H contains exactly the contents of B86.
The problem seems to be in the use of the "*" wildcard -
when I eliminate that condition or hardcode a specific
operand the functions works.
To test this I coded function
=IF("xtest"="*test",TRUE,FALSE) and it returns FALSE
seeming to indicate that the "*" isn't acting as a
substitute for zero or more characters. How should the "*"
wildcard work in a comparison function?