Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Excel MATCH function in Qlikview

Could anyone help me achieve the same result in qlikview? I am after the records where the values in column D do not appear in

column G at all. So I am more interested in the #N/a results than the number of matches found.

Untitled.png

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This seem to have worked in my script but thank you for your help guys!    

Exists(mas_no,formula)  

View solution in original post

4 Replies
Not applicable
Author

Chantelle,

Can you try the below expression.

sum(if(mas_no<>formula or IsNull(mas_no)=-1,1,0))

which gives you the count of Long_no that have formula not matching with mas_no or having a null mas_no.

Thanks

Brad.

Anonymous
Not applicable
Author

Hi Brad

That does not work as it only compares values in the same 'row' or 'record'.

I need it to compare D2 (formula) to every 'row' or 'record' in the mas_no field and return a 'false / 1' in H2 only if the value in D2 does not appear anywhere in column G.

swuehl
MVP
MVP

CHECK:

LOAD mas_no as CheckField

FROM YourSource.xls...;

NA:

LOAD long_no,

          formula,

          job_no,

          Master,

          mas_no

FROM YourSource.xls...

WHERE NOT EXISTS(CheckField, formula);

DROP TABLE CHECK;

Anonymous
Not applicable
Author

This seem to have worked in my script but thank you for your help guys!    

Exists(mas_no,formula)