A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Counting occurance of empty cells



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 08:59 PM posted to microsoft.public.excel.misc
davec
external usenet poster
 
Posts: 48
Default Counting occurance of empty cells

Hi folks,

I am trying to set up a formula which will count the quantity of empty cells
in Column K if there is something in the corresponding cell in Column J

These are what I have tried so far with no look

=IF(ISBLANK(J157:J2643)," ",COUNTA(H157:H2643))

and

=SUMPRODUCT(--(J157:J2643="1"),--(H157:H2643=""))

Thanks in advance for any help you can give

Dave
  #2  
Old May 27th, 2010, 10:27 PM posted to microsoft.public.excel.misc
Tom Hutchins
external usenet poster
 
Posts: 722
Default Counting occurance of empty cells

Try
=SUMPRODUCT(--(LEN(J157:J2643)0),--(LEN(K157:K2643)=0))

I used column K per your instructions, although your example formula had
column H.

Hope this helps,

Hutch

"DaveC" wrote:

Hi folks,

I am trying to set up a formula which will count the quantity of empty cells
in Column K if there is something in the corresponding cell in Column J

These are what I have tried so far with no look

=IF(ISBLANK(J157:J2643)," ",COUNTA(H157:H2643))

and

=SUMPRODUCT(--(J157:J2643="1"),--(H157:H2643=""))

Thanks in advance for any help you can give

Dave

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.