PC Review


Reply
Thread Tools Rate Thread

What do I call a blank cell?

 
 
=?Utf-8?B?TmFuY3k=?=
Guest
Posts: n/a
 
      20th Feb 2006
My formula is IF(H27>0,H27,(M25+M26)*0.15). I want the test to include zero
in the true statement, but if I put >= it accepts blanks. How can I write
this?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?YnBlbHR6ZXI=?=
Guest
Posts: n/a
 
      20th Feb 2006
=if(and(h27>=0,not(isblank(h27))),h27,(m25+m26)*0.15)

"Nancy" wrote:

> My formula is IF(H27>0,H27,(M25+M26)*0.15). I want the test to include zero
> in the true statement, but if I put >= it accepts blanks. How can I write
> this?
>
>

 
Reply With Quote
 
=?Utf-8?B?S2Fzc2ll?=
Guest
Posts: n/a
 
      20th Feb 2006
Hi Nancy

The following formula seems to do the trick
=IF(OR(AND(H27<>"",H27=0),H27>0),H27,(M25+M26)*0.15)
hth

"Nancy" wrote:

> My formula is IF(H27>0,H27,(M25+M26)*0.15). I want the test to include zero
> in the true statement, but if I put >= it accepts blanks. How can I write
> this?
>
>

 
Reply With Quote
 
daddylonglegs
Guest
Posts: n/a
 
      20th Feb 2006

If H27 cannot be negative

=IF(H27="",(M25+M26)*0.15,H27)

or if it can

=IF(OR(H27="",H27<0),(M25+M26)*0.15,H27)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=514498

 
Reply With Quote
 
=?Utf-8?B?TmFuY3k=?=
Guest
Posts: n/a
 
      20th Feb 2006
AWESOME!!!! Thank you.

"bpeltzer" wrote:

> =if(and(h27>=0,not(isblank(h27))),h27,(m25+m26)*0.15)
>
> "Nancy" wrote:
>
> > My formula is IF(H27>0,H27,(M25+M26)*0.15). I want the test to include zero
> > in the true statement, but if I put >= it accepts blanks. How can I write
> > this?
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sub tot column to next blank cell when blank cell exists in both c GaiGauci Microsoft Excel Programming 2 23rd Nov 2009 01:47 AM
Start Cell B1 then find first blank cell, insert subtotal, next non blank, then next blank, sutotal cells in between......... amorrison2006@googlemail.com Microsoft Excel Programming 2 7th Jun 2007 09:27 PM
Need macro to check if cell is not blank & previous cell is blank, copy information from row above & paste JenIT Microsoft Excel Programming 4 12th Apr 2007 08:56 PM
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. =?Utf-8?B?UVVFU1Q0MTA2Nw==?= Microsoft Excel Misc 1 15th Jan 2005 09:29 PM
What is the difference between a blank cell and a (blank) cell in Pivot Table ? desktopbbb Microsoft Excel Misc 1 15th Aug 2003 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 AM.