Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Excel formula not working from talend

Below is the formula written in excel. I have hard-coded this formula in tMap to output the value in to the column for each row but its not working. Any suggestions please.

 

=IF(ISBLANK(B5),"",IF(OR(AND(ISBLANK(M5),ISBLANK(I5)),ISNA(VLOOKUP(B5,Demographics!C:F,4,FALSE))),0,IF(AND(OR(C5="Yes",ISTEXT(VLOOKUP(G5,CancerDx,1,FALSE))),ISNUMBER(D5),D5<=MPend,OR(AND(OR(H5="Yes",ISTEXT(VLOOKUP(K5,RadEnc,1,FALSE))),I5>=MPstart,I5<=MPend),AND(OR(L5="Yes",AND(ISTEXT(VLOOKUP(O5,PainEnc,1,FALSE)),ISTEXT(VLOOKUP(R5,Chemo,1,FALSE)),ISTEXT(VLOOKUP(U5,Chemo,1,FALSE)))),M5>=MPstart,M5<=MPend,IF(ISERR(DATE(YEAR(M5),MONTH(M5),DAY(M5)-30)),,P5>=DATE(YEAR(M5),MONTH(M5),DAY(M5)-30)),P5<=M5,S5<=DATE(YEAR(M5),MONTH(M5),DAY(M5)+30),S5>=M5))),1,0)))

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

As I said before, you cannot do this with the Talend component, but you can using @lli's component 

(http://jan-lolling.de/talend/components/help/tFileExcelSheetOutput.pdf). You need to goto Talend Exchange to acquire this component (https://exchange.talend.com/).

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@samisyed80,you can not directly use the same excel formula in tMap. it will not work.

Anonymous
Not applicable
Author

i tried with normal transmission to load the data in a pre-generated excel, i succeeded but the formula didn't get calculated. That's why i tried this way. Any other solution you have?

Anonymous
Not applicable
Author

As I said before, you cannot do this with the Talend component, but you can using @lli's component 

(http://jan-lolling.de/talend/components/help/tFileExcelSheetOutput.pdf). You need to goto Talend Exchange to acquire this component (https://exchange.talend.com/).

Anonymous
Not applicable
Author

OK rHall