PC Review


Reply
Thread Tools Rate Thread

Count Only Empty Cells AFTER Cells with Data

 
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      15th Sep 2006
I have a constant range of cells D831 (two periods per month) on each sheet
where I need to get the number of cells with data, and the number of blank
cells AFTER cells with data. (I don't want to include the empty cells before
the sales data starts). I need to do a projection of sales for the balance of
the year and need number of months with data and the REMAINING months without
data.
I have over 100 sheets, one for each location, and would rather not
customize the formula for each sheet as new locations are added.
Is there a formula (can't see how) or maybe a macro that would give me these
two numbers?
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      15th Sep 2006
=COUNTA(D831)

and

=24-previous_formula

or

=COUNTBLANK(D831)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"David" <(E-Mail Removed)> wrote in message
news:80494155-3422-4115-9F8B-(E-Mail Removed)...
> I have a constant range of cells D831 (two periods per month) on each

sheet
> where I need to get the number of cells with data, and the number of blank
> cells AFTER cells with data. (I don't want to include the empty cells

before
> the sales data starts). I need to do a projection of sales for the balance

of
> the year and need number of months with data and the REMAINING months

without
> data.
> I have over 100 sheets, one for each location, and would rather not
> customize the formula for each sheet as new locations are added.
> Is there a formula (can't see how) or maybe a macro that would give me

these
> two numbers?



 
Reply With Quote
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      15th Sep 2006
Thanks Bob,
That will include empty spaces BEFORE data that may start in March for
example.
I need something that will recognize the first cell with data, then begin
the count, and then count only empty cells to the end of the range after the
data. In this example, I would not want the cells for January and February
included.

"Bob Phillips" wrote:

> =COUNTA(D831)
>
> and
>
> =24-previous_formula
>
> or
>
> =COUNTBLANK(D831)
>
> --
> HTH
>
> Bob Phillips
>
> (replace somewhere in email address with gmail if mailing direct)
>
> "David" <(E-Mail Removed)> wrote in message
> news:80494155-3422-4115-9F8B-(E-Mail Removed)...
> > I have a constant range of cells D831 (two periods per month) on each

> sheet
> > where I need to get the number of cells with data, and the number of blank
> > cells AFTER cells with data. (I don't want to include the empty cells

> before
> > the sales data starts). I need to do a projection of sales for the balance

> of
> > the year and need number of months with data and the REMAINING months

> without
> > data.
> > I have over 100 sheets, one for each location, and would rather not
> > customize the formula for each sheet as new locations are added.
> > Is there a formula (can't see how) or maybe a macro that would give me

> these
> > two numbers?

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula refers to empty cells even when cells contains data Monica Rustogi Microsoft Excel Worksheet Functions 1 25th Feb 2010 06:56 PM
How to count non-empty cells =?Utf-8?B?U3RldmVU?= Microsoft Excel Programming 2 9th Oct 2006 04:27 AM
Count Empty Cells in Range After Cells with Data =?Utf-8?B?RGF2aWQ=?= Microsoft Excel Programming 16 17th Sep 2006 03:03 PM
count for empty cells =?Utf-8?B?dGlrY2h5ZV9vbGRMZWFybmVyNTc=?= Microsoft Excel Misc 6 25th May 2006 08:41 PM
Problem with Merging Data Cells with Empty Cells Te_Diddy Microsoft Excel Misc 3 9th Aug 2004 10:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.