Apache OpenOffice (AOO) Bugzilla – Issue 123230
The function IF result in #RIF error if a confront string is 'KB'
Last modified: 2017-05-20 09:54:51 UTC
Enter 'KB' in IF function on a cell generate #RIF error instead of correct result. Example normal: the formula =if(G2='GB';1;2) results 1 or 2 if cell G2 is equal or different to 'GB'. Example with wrong result: the formula =if(G2='KB';1;2) results always #RIF.
Are you sure about the single quotes in 'GB' and 'KB'? Please attach a small document, which shows the error.
=if(G2='KB';1;2) gives #NAME? =if(G2="KB";1;2) gives correct results. Rev. 1520602 Win 7
sorry for the waste of your time. Today my fresh mind do not find any problem. Yesterday evening I was convinced that the function builder automaticly tranlated the double quote to a single one. But today is not, so it's my fault. Sorry again, thanks Gilberto