Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default The blank cells i need to count have formilas in

How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default The blank cells i need to count have formilas in

Hi Rubber,

If the blank cells with a formula in them has the value of zero, use COUNTA
to count the cells and COUNTIF to count the zero values in each range, then
subtract the two.

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)

or fully

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)+COUNTA(g23:g30)-COUNTIF(g23:g30,0)+COUNTA(h5:h10)-COUNTIF(h5:h10,0)

Squeaky

"Rubber 4 u" wrote:

How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default The blank cells i need to count have formilas in

Maybe you meant something like this:
=SUMPRODUCT(--(TRIM(A2:B10)<""))
which counts populated cells within the range excluding formulas returning
either "blank" or returning invisible white spaces
Spot on? celebrate it, hit the YES below
--
Max
Singapore
---
"Rubber 4 u" wrote:
How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista

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
Count non-blank cells? Matt Excel Discussion (Misc queries) 8 June 5th 08 04:02 AM
Count from Blank & Non-Blank Cells Mandeep Dhami Excel Discussion (Misc queries) 4 February 12th 08 03:25 PM
Count the non blank cells vijaydsk1970 Excel Worksheet Functions 3 November 10th 06 12:04 PM
Help getting count of non-blank cells Casey Excel Discussion (Misc queries) 3 May 18th 06 02:31 PM
COUNT ONLY CELLS THAT AREN'T BLANK paulinec Excel Worksheet Functions 8 January 8th 05 01:51 AM


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

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"