Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default OR(EXACT(Cell; Range)) does not work properly

Make sure you use ctrl-shift-enter to enter the formula.

If you do it correctly, you'll see that excel wraps your formula with curly
brackets {}.



TOM wrote:

Hello,

I want to compare the contents of a cell with the contents of a range of
cells by using the formula OR(EXACT(B1; A1:A300))

However, the result becomes only TRUE if the match is in the first cell of
the range, i.e. A1, if the match is in any other row it becomes FALSE. I
don't know why. It should be also TRUE id there is a match, shouldn't it?

Does anybody know the reason why the function does not work properly?

Is there another simple way to perform the desired task?

Happy New Year to everbody out there

Tom


--

Dave Peterson
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TOM TOM is offline
external usenet poster
 
Posts: 2
Default OR(EXACT(Cell; Range)) does not work properly

Hello,

I want to compare the contents of a cell with the contents of a range of
cells by using the formula OR(EXACT(B1; A1:A300))

However, the result becomes only TRUE if the match is in the first cell of
the range, i.e. A1, if the match is in any other row it becomes FALSE. I
don't know why. It should be also TRUE id there is a match, shouldn't it?

Does anybody know the reason why the function does not work properly?

Is there another simple way to perform the desired task?



Happy New Year to everbody out there



Tom





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default OR(EXACT(Cell; Range)) does not work properly

Why are you using EXACT? Usually you only need that when you don't want to
get a match between upper and lower case text entries, e.g. APPLE shouldn't
match apple

otherwise it would probably be better to use

=ISNUMBER(MATCH(B1;A1:A300;0))

or

=COUNTIF(A1:A300;B1)0

which don't require CSE





"Dave Peterson" wrote:

Make sure you use ctrl-shift-enter to enter the formula.

If you do it correctly, you'll see that excel wraps your formula with curly
brackets {}.



TOM wrote:

Hello,

I want to compare the contents of a cell with the contents of a range of
cells by using the formula OR(EXACT(B1; A1:A300))

However, the result becomes only TRUE if the match is in the first cell of
the range, i.e. A1, if the match is in any other row it becomes FALSE. I
don't know why. It should be also TRUE id there is a match, shouldn't it?

Does anybody know the reason why the function does not work properly?

Is there another simple way to perform the desired task?

Happy New Year to everbody out there

Tom


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default OR(EXACT(Cell; Range)) does not work properly

I used =Exact() because that's what the OP used.

And both =match() and =countif() are not case sensitive.

I'm guessing that the OP wanted the distinction made.

For example, I've seen some people would use V to represent a vacation day (8
hours) and v represent a half day (4 hours). (I wouldn't recommend this kind of
thing to anyone with my typing skills, though!)

===
But I bet you really wanted to ask the OP. <vbg

daddylonglegs wrote:

Why are you using EXACT? Usually you only need that when you don't want to
get a match between upper and lower case text entries, e.g. APPLE shouldn't
match apple

otherwise it would probably be better to use

=ISNUMBER(MATCH(B1;A1:A300;0))

or

=COUNTIF(A1:A300;B1)0

which don't require CSE

"Dave Peterson" wrote:

Make sure you use ctrl-shift-enter to enter the formula.

If you do it correctly, you'll see that excel wraps your formula with curly
brackets {}.



TOM wrote:

Hello,

I want to compare the contents of a cell with the contents of a range of
cells by using the formula OR(EXACT(B1; A1:A300))

However, the result becomes only TRUE if the match is in the first cell of
the range, i.e. A1, if the match is in any other row it becomes FALSE. I
don't know why. It should be also TRUE id there is a match, shouldn't it?

Does anybody know the reason why the function does not work properly?

Is there another simple way to perform the desired task?

Happy New Year to everbody out there

Tom


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TOM TOM is offline
external usenet poster
 
Posts: 2
Default OR(EXACT(Cell; Range)) does not work properly

COUNTIF does the job perfectly, thanks!!

The reason why I used EXACT is simple: I searched for "compare cell
contents" in Help and this is what I got for an answer: "Use the EXACT and
OR functions to do this task".

Regards

Tom





"daddylonglegs" wrote in message
...
Why are you using EXACT? Usually you only need that when you don't want to
get a match between upper and lower case text entries, e.g. APPLE
shouldn't
match apple

otherwise it would probably be better to use

=ISNUMBER(MATCH(B1;A1:A300;0))

or

=COUNTIF(A1:A300;B1)0

which don't require CSE





"Dave Peterson" wrote:

Make sure you use ctrl-shift-enter to enter the formula.

If you do it correctly, you'll see that excel wraps your formula with
curly
brackets {}.



TOM wrote:

Hello,

I want to compare the contents of a cell with the contents of a range
of
cells by using the formula OR(EXACT(B1; A1:A300))

However, the result becomes only TRUE if the match is in the first cell
of
the range, i.e. A1, if the match is in any other row it becomes FALSE.
I
don't know why. It should be also TRUE id there is a match, shouldn't
it?

Does anybody know the reason why the function does not work properly?

Is there another simple way to perform the desired task?

Happy New Year to everbody out there

Tom


--

Dave Peterson



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble getting new toolbar buttons to work properly in Excel 2003 Dave in Nashville Excel Worksheet Functions 1 June 22nd 06 05:41 AM
Make Exec work properly (error messages on start and exit) TorG 8-(( Excel Discussion (Misc queries) 9 April 18th 06 01:10 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How do I make 'save as web page' with interactivity work properly. Giasemi Charts and Charting in Excel 0 January 6th 05 03:51 PM
The colors should work properly in Shared Excel Workbooks. [email protected] Excel Worksheet Functions 1 November 8th 04 10:55 PM


All times are GMT +1. The time now is 04:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"