Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Using an If statement

I have been searching the discussion boards and haven't found the answer to
my question.

Basically, if B7, B13 B42, B44, etc. have anything entered I would like A55
to say Fail. I have been trying using IF and OR statements, but can't seem
to get it to work.

Any help is appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default Using an If statement

On Wed, 14 Apr 2010 11:53:01 -0700, kmt1984
wrote:

I have been searching the discussion boards and haven't found the answer to
my question.

Basically, if B7, B13 B42, B44, etc. have anything entered I would like A55
to say Fail. I have been trying using IF and OR statements, but can't seem
to get it to work.

Any help is appreciated!


You have to define what "etc" is.
You should also specifiy what you want A55 to say when it shoulf not
say "Fail".

Assuming that "etc" can be disregarded and that A55 should say "" if
not "Fail", try the following formula:

=IF(OR(B7<"",B13<"",B42<"",B44<""),"Fail","")

Hope this helps / Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 126
Default Using an If statement

=if(or(len(b7)=0,len(b13)=0,len(b42)=0,len(b44=0), "FAIL","PASS")

--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"kmt1984" wrote:

I have been searching the discussion boards and haven't found the answer to
my question.

Basically, if B7, B13 B42, B44, etc. have anything entered I would like A55
to say Fail. I have been trying using IF and OR statements, but can't seem
to get it to work.

Any help is appreciated!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Using an If statement

"kmt1984" wrote:
Basically, if B7, B13 B42, B44, etc. have anything
entered I would like A55 to say Fail. I have been
trying using IF and OR statements


For educational purposes, you should post what you have been trying. But
the following should do the trick (in A55)

=if(B7 & B13 & B42 & B44 = "", "", "Fail")

This returns the null string ("") and appears blank if all cells appear
blank, a condition that you neglect to specify.


----- original message -----

"kmt1984" wrote:
I have been searching the discussion boards and haven't found the answer to
my question.

Basically, if B7, B13 B42, B44, etc. have anything entered I would like A55
to say Fail. I have been trying using IF and OR statements, but can't seem
to get it to work.

Any help is appreciated!

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
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 09:59 PM.

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

About Us

"It's about Microsoft Excel"