A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If Statement - Help Needed



 
 
Thread Tools Display Modes
  #1  
Old January 24th, 2006, 03:58 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default If Statement - Help Needed


A1 B1 C1 D1
A2 B2 C2 D2
A3 B3 C3 D3

How can I do the following in A1, A2, A3:

If B1 _AND_ B2 _AND__B3 are Blank the A1=YES.
IF B1 _OR_ B2 _OR_ B3 have any values then A1= NO

Thanks!


--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504504

  #2  
Old January 24th, 2006, 04:22 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default If Statement - Help Needed

One way which might suffice:
In A1: =IF(COUNTBLANK(B1:B3)=3,"Yes","No")
(I'm not sure what you want in A2 and A3)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Portuga" wrote in
message ...

A1 B1 C1 D1
A2 B2 C2 D2
A3 B3 C3 D3

How can I do the following in A1, A2, A3:

If B1 _AND_ B2 _AND__B3 are Blank the A1=YES.
IF B1 _OR_ B2 _OR_ B3 have any values then A1= NO

Thanks!


--
Portuga
------------------------------------------------------------------------
Portuga's Profile:

http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504504



  #3  
Old January 24th, 2006, 04:22 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default If Statement - Help Needed

In A1:
=if(counta(b1:b3)=0,"Yes","no")

would work if b1:B3 are really empty.

Portuga wrote:

A1 B1 C1 D1
A2 B2 C2 D2
A3 B3 C3 D3

How can I do the following in A1, A2, A3:

If B1 _AND_ B2 _AND__B3 are Blank the A1=YES.
IF B1 _OR_ B2 _OR_ B3 have any values then A1= NO

Thanks!

--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504504


--

Dave Peterson
  #4  
Old January 24th, 2006, 04:23 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default If Statement - Help Needed


Portuga Wrote:
A1 B1 C1 D1
A2 B2 C2 D2
A3 B3 C3 D3

How can I do the following in A1, A2, A3:

If B1 _AND_ B2 _AND__B3 are Blank the A1=YES.
IF B1 _OR_ B2 _OR_ B3 have any values then A1= NO

Thanks!


In Cell A1, enter this formula:

=IF(AND(B1=\"\",B2=\"\",B3=\"\"),\"YES\",\"NO\")

Modify as required if you need the same/similar conditions for A2 and
A3.


Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=504504

  #5  
Old January 24th, 2006, 04:26 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default If Statement - Help Needed

Try this:
A1: =IF(COUNTA(B1:B3),"No","Yes")

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Portuga" wrote:


A1 B1 C1 D1
A2 B2 C2 D2
A3 B3 C3 D3

How can I do the following in A1, A2, A3:

If B1 _AND_ B2 _AND__B3 are Blank the A1=YES.
IF B1 _OR_ B2 _OR_ B3 have any values then A1= NO

Thanks!


--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504504


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting an Excel IF statement to an Access IFF statement parksjp1 General Discussion 3 September 28th, 2005 07:18 PM
SQL syntax needed for UPDATE statement mscertified Running & Setting Up Queries 2 August 25th, 2005 11:17 PM
Simple If Statement Help Needed Dave Elliott Using Forms 1 June 1st, 2005 06:48 PM
Do I need a sumif or sum of a vlookup formula? PeterB Worksheet Functions 0 June 1st, 2005 12:23 PM
Calculated Mean Charles Deng Running & Setting Up Queries 21 October 15th, 2004 08:37 PM


All times are GMT +1. The time now is 12:03 PM.


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