Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Portuga
 
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   Report Post  
Posted to microsoft.public.excel.misc
Max
 
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   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
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   Report Post  
Posted to microsoft.public.excel.misc
BenjieLop
 
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   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
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


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 HELP NEEDED!!! Excel Dummy Excel Discussion (Misc queries) 2 December 30th 05 07:02 PM
help needed with "if" statement gina_b Excel Worksheet Functions 2 December 30th 05 04:24 PM
If Then statement help needed jmcclain Excel Worksheet Functions 2 January 10th 05 08:52 PM
If Statement help needed please Ian Harris Excel Worksheet Functions 3 December 3rd 04 02:04 PM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


All times are GMT +1. The time now is 08:48 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"