Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nancy
 
Posts: n/a
Default What do I call a blank cell?

My formula is IF(H270,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?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default What do I call a blank cell?

=if(and(h27=0,not(isblank(h27))),h27,(m25+m26)*0. 15)

"Nancy" wrote:

My formula is IF(H270,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?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nancy
 
Posts: n/a
Default What do I call a blank cell?

AWESOME!!!! Thank you.

"bpeltzer" wrote:

=if(and(h27=0,not(isblank(h27))),h27,(m25+m26)*0. 15)

"Nancy" wrote:

My formula is IF(H270,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?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kassie
 
Posts: n/a
Default What do I call a blank cell?

Hi Nancy

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

"Nancy" wrote:

My formula is IF(H270,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?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default What do I call a blank cell?


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
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
Blank (empty) cell always equal to 0?? ulfah Excel Discussion (Misc queries) 3 February 1st 06 04:55 PM
Setting Purely BLANK Cell yokato95 Excel Worksheet Functions 4 August 18th 05 04:43 PM
Replace null string with blank cell gjcase Excel Discussion (Misc queries) 2 August 9th 05 02:13 PM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:49 AM.

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"