ce icon indicating copy to clipboard operation
ce copied to clipboard

How to use if function?

Open caotoanbk opened this issue 7 years ago • 2 comments

Hi, i want to use if function in jexcel v3 like in excel, how i can do that? Thanks

caotoanbk avatar Jul 11 '19 06:07 caotoanbk

This is the structure for the IF method.

exports.IF = function(test, then_value, otherwise_value) {
    return test ? then_value : otherwise_value;
};

pphod avatar Jul 11 '19 19:07 pphod

Many thanks!

caotoanbk avatar Jul 12 '19 02:07 caotoanbk