Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Count with merged cells

I need to count the number of blank cells, or lacking that, the number of
cells that contain either numbers or alpha characters in a range. Some cells
are merged in the range, and COUNTBLANK "counts" the merged cells as having
blanks. That is, if two cells are merged and something is entered in the
merged cell, the count functions "see" the second cell as blank. If three
cells are merged, the functions read two of the cells as blank. COUNT,
COUNTIF, and COUNTA will only return a value of "1" when the merged cells
contains data. Is there a way to count all the cells in the range that are
blank WITHOUT including the "blank" second, third, and so on cells in merged
cells among the count? Or is there a way to count the cells that have data
and include the second, third, etc. merged cells among the count?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Count with merged cells

hi, !

... if two cells are merged and something is entered in the merged cell
the count functions "see" the second cell as blank...


FWIW over "merged" CELLS, the cout functions DO NOT "see" the other cells as blank
THERE ARE (really) blank cells, since "merged cells" ARE NOT a "single" cell, but a range of CELLS

so, in order to not include "the other cells" (from a merged cells range) in a countblank function...
do NOT include "the other cells" within the function/formula, or even better, DO NOT USE "merged cells"
or... be aware that "merged cells" are not "single cells" (?)

hth,
hector.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Count with merged cells

Thank you, Hector. Unfortunately, I'm adding a function to existing
spreadsheet that contain lots of merged cells. It is possible to count the
number of merged cells, and then adjust the value from COUNTA or COUNTIF or
COUNTBLANK to take them into account, but its a big pain to do that. If I
could just count the blank cells without having to adjust for the merged
cells, life would be good. Is there a way to put something into the second,
third, etc., cell in an array of merged cells so they won't be blank? Or a
way to define the cells I'm counting andto incorporate it into one of the
COUNT functions to avoid including the merged cells in the count?

"Héctor Miguel" wrote:

hi, !

... if two cells are merged and something is entered in the merged cell
the count functions "see" the second cell as blank...


FWIW over "merged" CELLS, the cout functions DO NOT "see" the other cells as blank
THERE ARE (really) blank cells, since "merged cells" ARE NOT a "single" cell, but a range of CELLS

so, in order to not include "the other cells" (from a merged cells range) in a countblank function...
do NOT include "the other cells" within the function/formula, or even better, DO NOT USE "merged cells"
or... be aware that "merged cells" are not "single cells" (?)

hth,
hector.



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
How can I sort an Excel Doc containing merged & non-merged cells? KellyH Excel Discussion (Misc queries) 11 June 10th 08 04:12 AM
Autofit Merged cell Code is changing the format of my merged cells JB Excel Discussion (Misc queries) 0 August 20th 07 02:12 PM
how do i link merged cells to a merged cell in another worksheet. ibbm Excel Worksheet Functions 3 April 27th 06 11:40 PM
Errors in COUNT, COUNTA, COUNTIF when counting merged cells Outback Excel Worksheet Functions 1 February 7th 06 04:29 PM
Sorting merged cellsHow do I sort merged cells not identically siz Laval Excel Worksheet Functions 1 November 3rd 04 09:40 PM


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