Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Watercolor artist
 
Posts: n/a
Default How can I prevent the "division by zero" error in this formula

if one of its cells is either null or blank?

=SUM(1/COUNTIF(A5:A65,A5:A65)*(C5:C65<"Ginny cancelled"))

Thanks.
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

=SUMPRODUCT((C5:C65<"Ginny
cancelled")*(A5:A65<"")/(COUNTIF(A5:A65,A5:A65&"")))

"Watercolor artist" wrote in
message ...
if one of its cells is either null or blank?

=SUM(1/COUNTIF(A5:A65,A5:A65)*(C5:C65<"Ginny cancelled"))

Thanks.



  #3   Report Post  
Watercolor artist
 
Posts: n/a
Default



"N Harkawat" wrote:

=SUMPRODUCT((C5:C65<"Ginny
cancelled")*(A5:A65<"")/(COUNTIF(A5:A65,A5:A65&"")))

"Watercolor artist" wrote in
message ...
if one of its cells is either null or blank?

=SUM(1/COUNTIF(A5:A65,A5:A65)*(C5:C65<"Ginny cancelled"))

Thanks.



Thanks.

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
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Prevent unhide of rows/columns w/out worksheet protection? annonymous Excel Discussion (Misc queries) 2 March 10th 05 07:23 PM
remainder in a division sinbad Excel Worksheet Functions 2 February 26th 05 08:41 AM
Prevent change of color scheme in Pivot chart Bernd Charts and Charting in Excel 1 February 10th 05 07:12 PM
prevent 4/5 in a cell automatically transfer to a date format kei Excel Discussion (Misc queries) 3 December 9th 04 11:52 AM


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

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"