Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default counting groups of blank cells

Hey,

Need some help with a simple problem. I currently have 3 columns. In
column A, there is numbers ranging from 0 to 10.

Depending on the number, I will either get a "x" in Column B or Column C.

What I'm trying to do in Column D count the string of blank cells in Column
C.
So...

A B C D
1 x
7 x
5 x 2
3 x
3 x
2 x
8 x
0 x
9 x
5 x 4

Any help would be great :)

Thanks,
Matt

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default counting groups of blank cells

Try this...

Assuming the data starts on row 1.

Entered in **D2**:

=IF(AND(C2="x",C1=""),COUNTBLANK(C$1:C1)-SUM(D$1:D1),"")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"mpenkala" wrote in message
...
Hey,

Need some help with a simple problem. I currently have 3 columns. In
column A, there is numbers ranging from 0 to 10.

Depending on the number, I will either get a "x" in Column B or Column C.

What I'm trying to do in Column D count the string of blank cells in
Column
C.
So...

A B C D
1 x
7 x
5 x 2
3 x
3 x
2 x
8 x
0 x
9 x
5 x 4

Any help would be great :)

Thanks,
Matt



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default counting groups of blank cells

Thanks T.Valko,

worked perfect.

Cheers,
Matt


"T. Valko" wrote:

Try this...

Assuming the data starts on row 1.

Entered in **D2**:

=IF(AND(C2="x",C1=""),COUNTBLANK(C$1:C1)-SUM(D$1:D1),"")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"mpenkala" wrote in message
...
Hey,

Need some help with a simple problem. I currently have 3 columns. In
column A, there is numbers ranging from 0 to 10.

Depending on the number, I will either get a "x" in Column B or Column C.

What I'm trying to do in Column D count the string of blank cells in
Column
C.
So...

A B C D
1 x
7 x
5 x 2
3 x
3 x
2 x
8 x
0 x
9 x
5 x 4

Any help would be great :)

Thanks,
Matt




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default counting groups of blank cells

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"mpenkala" wrote in message
...
Thanks T.Valko,

worked perfect.

Cheers,
Matt


"T. Valko" wrote:

Try this...

Assuming the data starts on row 1.

Entered in **D2**:

=IF(AND(C2="x",C1=""),COUNTBLANK(C$1:C1)-SUM(D$1:D1),"")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"mpenkala" wrote in message
...
Hey,

Need some help with a simple problem. I currently have 3 columns. In
column A, there is numbers ranging from 0 to 10.

Depending on the number, I will either get a "x" in Column B or Column
C.

What I'm trying to do in Column D count the string of blank cells in
Column
C.
So...

A B C D
1 x
7 x
5 x 2
3 x
3 x
2 x
8 x
0 x
9 x
5 x 4

Any help would be great :)

Thanks,
Matt






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
Counting Non Blank Cells Lindsey Excel Discussion (Misc queries) 4 April 8th 09 06:41 PM
Counting Non Blank Cells AJ[_2_] New Users to Excel 6 March 27th 08 11:06 PM
Counting non-blank cells Joe M. Excel Discussion (Misc queries) 7 July 23rd 07 09:36 PM
Counting blank cells geoff1234 Excel Discussion (Misc queries) 7 July 10th 06 11:29 AM
counting blank cells bdq17 Excel Discussion (Misc queries) 6 December 7th 05 08:46 PM


All times are GMT +1. The time now is 02:03 AM.

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"