Article ID: 265940 - Last Review: January 27, 2007 - Revision: 2.1 Works 6: Result in Cell Is "ERR" When You Use the Exact(TextValue0,TextValue1) FunctionThis article was previously published under Q265940 On This PageSYMPTOMS
In Microsoft Works Spreadsheet, when you use the EXACT(TextValue0,TextValue1) function in a worksheet to compare a string of characters to a string of numbers, the result is an ERR in the cell where the result is displayed.
CAUSE
This behavior occurs because the EXACT(TextValue0,TextValue1) function is designed to compare only strings of characters, not numbers.
RESOLUTION
To work around this issue, use one of the following methods:
Method 1Instead of using the EXACT(TextValue0,TextValue1) function, type the following in a cell where you want to display the result=IF(A1=B1,1,0)
where A1 and B1 are cells containing the numbers.
The cell displays 1 if cells A1 and B1 contain the same numbers. The cell displays 0 if cells A1 and B1 contain different numbers. Method 2Instead of using the EXACT(TextValue0,TextValue1) function, type the following in a cell where you want to display the result=EXACT(STRING(A1,0),STRING(B1,0))
where A1 and B1 are cells containing the numbers.
The cell displays 1 if cells A1 and B1 contain the same numbers. The cell displays 0 if cells A1 and B1 contain different numbers. MORE INFORMATIONNOTE: When you use the EXACT() function, the cell displaying the result displays ERR if one or both of the cells is empty.
To use the EXACT(TextValue0,TextValue1) function, click Easy Calc on the Tools menu, and then click the All category. Functions are listed in the Choose a function box. | Article Translations
|

Back to the top
