jxls icon indicating copy to clipboard operation
jxls copied to clipboard

Two neighbouring "if" command doesn't work normally

Open helloWangAMan opened this issue 2 years ago • 3 comments

Hello~ version: (Jxls 2.12.0)

I have a template file like this image

When i give a param named "count" values 5 image It works normally image

But when i give a value which greater than 5, example 10 image It's wrong result image

When i changed the template like this (insert a new line between them) image and give the param "count" values 10 image It works normally image

Thanks for your answer~

helloWangAMan avatar Jun 28 '22 05:06 helloWangAMan

Yes, I think we should look at this case...

But I can tell you a solution for this case. Namely the if-else solution. note in A11: ... areas=["A11:A11","A12:A12"]) no note in A12

SoltauFintel avatar Jun 28 '22 07:06 SoltauFintel

emmm... When I have more "if" command , like this image what should i do...

helloWangAMan avatar Jun 28 '22 08:06 helloWangAMan

@xujinxin1018 please write in English and you should post the source of jxu:ifelse

We need to investigate the real problem. If we have time.

SoltauFintel avatar Oct 07 '22 09:10 SoltauFintel