Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Formula yields State, not Numbers!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Felix - 12 Nov 2007 10:56 GMT
Why does my formula  =OR(O8<>"";H9<>"";1;0)  display "TRUE" when cell O8 or
H9 is empty? It should yield 0 (Zero).

It also displays and "TRUE" when these cells are not empty; it should yield
1...

Signature

Felix

Gary''s Student - 12 Nov 2007 11:29 GMT
The OR returns a Logical.  You must enclose it in an IF.

=IF(OR(O8<>"";H9<>"");1;0)

The assumes that ; is a valid replacement for ,
Signature

Gary''s Student - gsnu200755

> Why does my formula  =OR(O8<>"";H9<>"";1;0)  display "TRUE" when cell O8 or
> H9 is empty? It should yield 0 (Zero).
>
> It also displays and "TRUE" when these cells are not empty; it should yield
> 1...
Niek Otten - 12 Nov 2007 11:32 GMT
Hi Felix,

=IF(OR(O8<>"";H9<>"");1;0)

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Why does my formula  =OR(O8<>"";H9<>"";1;0)  display "TRUE" when cell O8 or
| H9 is empty? It should yield 0 (Zero).
|
| It also displays and "TRUE" when these cells are not empty; it should yield
| 1...
RagDyeR - 12 Nov 2007 17:00 GMT
How about this:

=--OR(O8<>"",H9<>"")

Signature

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

Why does my formula  =OR(O8<>"";H9<>"";1;0)  display "TRUE" when cell O8 or
H9 is empty? It should yield 0 (Zero).

It also displays and "TRUE" when these cells are not empty; it should yield
1...

Signature

Felix


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.