2

How can I use this Excel formula

IF(W2<>"",NETWORKDAYS(V2,W2),"")   

in Java to generate an Excel report?

2 Answers 2

2

Try Apache POI which reads/writes MS Office files. Check out the POI support for writing Excel formulas.

Sign up to request clarification or add additional context in comments.

1 Comment

IF i use setformula() for the IF(W2<>"",NETWORKDAYS(V2,W2),"") it get realigned to wrong order.. please suggest the right to generate excel..
0

You can also Try JXL api.

http://jexcelapi.sourceforge.net/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.