PC Review


Reply
Thread Tools Rate Thread

How do I count the last six non blank cells?

 
 
=?Utf-8?B?S2xlaW5lcm1hbg==?=
Guest
Posts: n/a
 
      13th Jul 2007
Team A B C D E F G H I J K
One 5 6 5 6 5 7 9 5
Two 5 6 5 6 6 6 6
Three 7 7 7 7 7 7 7 7 7 7
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      13th Jul 2007
> Team A B C D E F G H I J K
> One 5 6 5 6 5 7 9 5
> Two 5 6 5 6 6 6
> 6
> Three 7 7 7 7 7 7 7 7 7 7


Your question is" "How do I count the last six non black cells?"

I am not trying to be flippant or anything, but won't that number be 6
(possibly, per row)?

I think you might need to provide some more detail about what you are trying
to do.

Rick

 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      13th Jul 2007
i was guessing they meant sum, but i'm not sure.

--


Gary


"Rick Rothstein (MVP - VB)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>> Team A B C D E F G H I J K
>> One 5 6 5 6 5 7 9 5
>> Two 5 6 5 6 6 6 6
>> Three 7 7 7 7 7 7 7 7 7 7

>
> Your question is" "How do I count the last six non black cells?"
>
> I am not trying to be flippant or anything, but won't that number be 6
> (possibly, per row)?
>
> I think you might need to provide some more detail about what you are trying
> to do.
>
> Rick



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      13th Jul 2007
You mean sum don't you?

=SUM(N(OFFSET(A2,0,LARGE(IF(B2:L2<>"",COLUMN(B1:L1)),{1,2,3,4,5,6})-1)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Kleinerman" <(E-Mail Removed)> wrote in message
news:FD01310D-C105-4C9F-91C0-(E-Mail Removed)...
> Team A B C D E F G H I J K
> One 5 6 5 6 5 7 9 5
> Two 5 6 5 6 6 6
> 6
> Three 7 7 7 7 7 7 7 7 7 7



 
Reply With Quote
 
=?Utf-8?B?Q2hhcmxpZQ==?=
Guest
Posts: n/a
 
      13th Jul 2007
1, 2, 3, 4, 5, 6

:0 (sorry, it's quitin' time on a Friday!)

We need more info to answer.


"Gary Keramidas" wrote:

> i was guessing they meant sum, but i'm not sure.
>
> --
>
>
> Gary
>
>
> "Rick Rothstein (MVP - VB)" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> >> Team A B C D E F G H I J K
> >> One 5 6 5 6 5 7 9 5
> >> Two 5 6 5 6 6 6 6
> >> Three 7 7 7 7 7 7 7 7 7 7

> >
> > Your question is" "How do I count the last six non black cells?"
> >
> > I am not trying to be flippant or anything, but won't that number be 6
> > (possibly, per row)?
> >
> > I think you might need to provide some more detail about what you are trying
> > to do.
> >
> > Rick

>
>
>

 
Reply With Quote
 
=?Utf-8?B?S2xlaW5lcm1hbg==?=
Guest
Posts: n/a
 
      13th Jul 2007
Thank you exactly what I needed. Did not know about the Ctrl-Shift-Enter part.

"Bob Phillips" wrote:

> You mean sum don't you?
>
> =SUM(N(OFFSET(A2,0,LARGE(IF(B2:L2<>"",COLUMN(B1:L1)),{1,2,3,4,5,6})-1)))
>
> which is an array formula, it should be committed with Ctrl-Shift-Enter, not
> just Enter.
> Excel will automatically enclose the formula in braces (curly brackets), do
> not try to do this manually.
> When editing the formula, it must again be array-entered.
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "Kleinerman" <(E-Mail Removed)> wrote in message
> news:FD01310D-C105-4C9F-91C0-(E-Mail Removed)...
> > Team A B C D E F G H I J K
> > One 5 6 5 6 5 7 9 5
> > Two 5 6 5 6 6 6
> > 6
> > Three 7 7 7 7 7 7 7 7 7 7

>
>
>

 
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
how to count#cells w/= value in other column and not count blank c aganoe Microsoft Excel Worksheet Functions 4 9th Apr 2010 11:36 AM
Count blank cells and cells with text rk0909 Microsoft Excel Misc 3 2nd May 2008 03:56 AM
Count from Blank & Non-Blank Cells Mandeep Dhami Microsoft Excel Misc 2 12th Feb 2008 03:25 PM
RE: Count from Blank & Non-Blank Cells Stefi Microsoft Excel Misc 1 12th Feb 2008 08:27 AM
Count blank cells until a non-blank cell is reached tim Microsoft Excel Worksheet Functions 9 7th Jul 2004 06:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 AM.