LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Count Blanks bw Data

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

With the below sample data apply this formula in cell C2..
=MIN(IF(A3:A100<"",ROW(A3:A100)))-ROW(A3)


Col A Col B Col C
Jim 100 0
Dave 200 4
34 3
300 2
43 1
22 0
Steve 44 0
Jim 100 0
Dave 200 2
34 1
300 0
Al 43 1
22 0
Jim 44

If this post helps click Yes
---------------
Jacob Skaria


"Drew949" wrote:

My sheet is layed out like so:

A B
1 Jim 100
2 Dave 200
3 34
4 300
5 43
6 22
7 Steve 44
8 Jim 100
9 Dave 200
10 34
11 300
12 Al 43
13 22
14 Jim 44

I would like a function that would count the number of blank cells
underneath the selected cell until the next filled cell. For example if I
were to use this function on A2, it would return 4. On A9, it would return 2.
Is there any formula that would do this?
Thanks

 
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
Count Blanks Paul Excel Discussion (Misc queries) 4 August 6th 08 03:42 PM
Count blanks in Data Validation clarknv Excel Discussion (Misc queries) 2 April 2nd 07 04:32 PM
Count the blanks Mark Solesbury Excel Worksheet Functions 1 March 24th 07 06:31 PM
Count blanks cells jmumby New Users to Excel 6 May 9th 06 10:52 AM
Count Blanks in a Filtered Column Gos-C Excel Worksheet Functions 21 March 23rd 06 07:21 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"