Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Counting blanks as zeros

Column AZ contains zeroes as well as blank cells (meaning no value has been
entered in the cell). In my formula below, I want to reference only the cells
that contain zero and ignore the cells that are blank. As written, the
formula is referencing both zero and blak cells. How can I modify the formula
to do ignore the blank cells in column AZ?

{=SUM(IF(Chart1!$A$2:$A$10000=A3,IF(Chart1!$C$2:$C $10000=B3,IF(Chart1!$AZ$2:$AZ$10000=0,Chart1!$F$2: $F$10000),)))}

Thanks,
Bob


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Counting blanks as zeros

You can add one more condition Chart1!$AZ$2:$AZ$10000<"" or use SUMPRODUCT()
formula as below...non-array entered

=SUMPRODUCT((Chart1!$A$2:$A$10000=A3)*(Chart1!$C$2 :$C$10000=B3)*
(Chart1!$AZ$2:$AZ$10000<"")*(Chart1!$AZ$2:$AZ$100 00=0),
Chart1!$F$2:$F$10000)

If this post helps click Yes
---------------
Jacob Skaria


"bob" wrote:

Column AZ contains zeroes as well as blank cells (meaning no value has been
entered in the cell). In my formula below, I want to reference only the cells
that contain zero and ignore the cells that are blank. As written, the
formula is referencing both zero and blak cells. How can I modify the formula
to do ignore the blank cells in column AZ?

{=SUM(IF(Chart1!$A$2:$A$10000=A3,IF(Chart1!$C$2:$C $10000=B3,IF(Chart1!$AZ$2:$AZ$10000=0,Chart1!$F$2: $F$10000),)))}

Thanks,
Bob


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
Blanks or zeros in formulas Dannn78 Excel Discussion (Misc queries) 3 August 22nd 08 01:09 AM
Average not including Zeros/Blanks DaS Excel Worksheet Functions 8 October 17th 07 06:29 PM
formulas blanks vs zeros Dallasbutterfly Excel Discussion (Misc queries) 1 August 30th 07 10:52 PM
Vlookup blanks = zeros Marilyn Excel Discussion (Misc queries) 6 March 18th 07 01:21 AM
Blanks chart as zeros CLR Charts and Charting in Excel 10 April 11th 05 01:38 AM


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