ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   EXACT formula (https://www.excelbanter.com/excel-discussion-misc-queries/37736-exact-formula.html)

Muks

EXACT formula
 
I am using EXACT to compare a cell value with series e.g. =EXACT(B2,A1:A5).
It gives me TRUE only when B2=A2 and FALSE even though B2=A4.

What may be the issue? Pls suggest.

Thanks in advance.

Muks

Niek Otten

Excel Help states that EXACT compares two text strings, not one with a
series of strings. Use 5 formulas or VLOOKUP combined with EXACT.

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Muks" wrote in message
...
I am using EXACT to compare a cell value with series e.g. =EXACT(B2,A1:A5).
It gives me TRUE only when B2=A2 and FALSE even though B2=A4.

What may be the issue? Pls suggest.

Thanks in advance.

Muks




David McRitchie

actually the help then shows an array example
{=OR(EXACT(TestValue, CompareRange))}
entered without the braces and using Ctrl+Shift+Enter

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Niek Otten" wrote in message ...
Excel Help states that EXACT compares two text strings, not one with a
series of strings. Use 5 formulas or VLOOKUP combined with EXACT.

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Muks" wrote in message
...
I am using EXACT to compare a cell value with series e.g. =EXACT(B2,A1:A5).
It gives me TRUE only when B2=A2 and FALSE even though B2=A4.

What may be the issue? Pls suggest.

Thanks in advance.

Muks






Domenic

Try...

=OR(EXACT(B2,A1:A5))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Muks" wrote:

I am using EXACT to compare a cell value with series e.g. =EXACT(B2,A1:A5).
It gives me TRUE only when B2=A2 and FALSE even though B2=A4.

What may be the issue? Pls suggest.

Thanks in advance.

Muks


David McRitchie

and of course the whole purpose of using Exact is that the
lettercase must match.




All times are GMT +1. The time now is 07:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com