Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
PA
 
Posts: n/a
Default IF, Or, And, or what

Attempting to get a formula to work, with no luck;
Dates will be input into cells G5, H5, I5, and J5.
Formula goes into G6 so that if any of the above four cells in blank, a 0
(zero) is put into G6, if they are all populated return a 1 (one).
I tried =IF(ISBLANK(OR(A1,B1,C1,D1)),"0",1), but it returns a 1 under all
circumstances. This is obviously the wrong approach.
Any suggestions greatly appreciated.
Paul
  #2   Report Post  
PA
 
Posts: n/a
Default

Sorry, I am going nuts. The formula I tried is

=IF(ISBLANK(OR(G5,H5,I5,J5)),"0",1)

My apologies.

"PA" wrote:

Attempting to get a formula to work, with no luck;
Dates will be input into cells G5, H5, I5, and J5.
Formula goes into G6 so that if any of the above four cells in blank, a 0
(zero) is put into G6, if they are all populated return a 1 (one).
I tried =IF(ISBLANK(OR(A1,B1,C1,D1)),"0",1), but it returns a 1 under all
circumstances. This is obviously the wrong approach.
Any suggestions greatly appreciated.
Paul

  #6   Report Post  
Cutter
 
Posts: n/a
Default


Or in G6 type:

=IF(MIN(G5:J5)=0,0,1)

Just an alternative way


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=398426

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



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

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"