Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Count from Blank & Non-Blank Cells

Hi All,

Count from Blank & Non-Blank Cells

I have a database in excel and want count of data in certain columns on the
basis of following conditions:

Condition 1: In cell A1 I want the results.

Condition 2: Filter column F and select Blanks cells.

Condition 3: Filter column H and select Blanks cells.

Condition 4: Filter column G and select NON Blanks cells.

Condition 5: Now I want count of non-blanks cells in Column G

Cheers,
Mandeep Dhami
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Count from Blank & Non-Blank Cells

Try this formula in A1:
=SUMPRODUCT(--(F2:F65536=""),--(H2:H65536=""),--(G2:G65536<""))
You can't use references to whole columns like F:F in SUMPRODUCT!

Regards,
Stefi


€˛Mandeep Dhami€¯ ezt Ć*rta:

Hi All,

Count from Blank & Non-Blank Cells

I have a database in excel and want count of data in certain columns on the
basis of following conditions:

Condition 1: In cell A1 I want the results.

Condition 2: Filter column F and select Blanks cells.

Condition 3: Filter column H and select Blanks cells.

Condition 4: Filter column G and select NON Blanks cells.

Condition 5: Now I want count of non-blanks cells in Column G

Cheers,
Mandeep Dhami

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Count from Blank & Non-Blank Cells

Thanks Stefi the formula works.

"Stefi" wrote:

Try this formula in A1:
=SUMPRODUCT(--(F2:F65536=""),--(H2:H65536=""),--(G2:G65536<""))
You can't use references to whole columns like F:F in SUMPRODUCT!

Regards,
Stefi


€˛Mandeep Dhami€¯ ezt Ć*rta:

Hi All,

Count from Blank & Non-Blank Cells

I have a database in excel and want count of data in certain columns on the
basis of following conditions:

Condition 1: In cell A1 I want the results.

Condition 2: Filter column F and select Blanks cells.

Condition 3: Filter column H and select Blanks cells.

Condition 4: Filter column G and select NON Blanks cells.

Condition 5: Now I want count of non-blanks cells in Column G

Cheers,
Mandeep Dhami

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Count from Blank & Non-Blank Cells

You are welcome! Thanks for the feedback!
Stefi

€˛Mandeep Dhami€¯ ezt Ć*rta:

Thanks Stefi the formula works.

"Stefi" wrote:

Try this formula in A1:
=SUMPRODUCT(--(F2:F65536=""),--(H2:H65536=""),--(G2:G65536<""))
You can't use references to whole columns like F:F in SUMPRODUCT!

Regards,
Stefi


€˛Mandeep Dhami€¯ ezt Ć*rta:

Hi All,

Count from Blank & Non-Blank Cells

I have a database in excel and want count of data in certain columns on the
basis of following conditions:

Condition 1: In cell A1 I want the results.

Condition 2: Filter column F and select Blanks cells.

Condition 3: Filter column H and select Blanks cells.

Condition 4: Filter column G and select NON Blanks cells.

Condition 5: Now I want count of non-blanks cells in Column G

Cheers,
Mandeep Dhami

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Count from Blank & Non-Blank Cells

In xl2007, you can use the whole column.

Stefi wrote:

Try this formula in A1:
=SUMPRODUCT(--(F2:F65536=""),--(H2:H65536=""),--(G2:G65536<""))
You can't use references to whole columns like F:F in SUMPRODUCT!

Regards,
Stefi

€˛Mandeep Dhami€¯ ezt Ć*rta:

Hi All,

Count from Blank & Non-Blank Cells

I have a database in excel and want count of data in certain columns on the
basis of following conditions:

Condition 1: In cell A1 I want the results.

Condition 2: Filter column F and select Blanks cells.

Condition 3: Filter column H and select Blanks cells.

Condition 4: Filter column G and select NON Blanks cells.

Condition 5: Now I want count of non-blanks cells in Column G

Cheers,
Mandeep Dhami


--

Dave Peterson
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
Count the non blank cells vijaydsk1970 Excel Worksheet Functions 3 November 10th 06 01:04 PM
How to count blank cells (Rows) between Non-Blank cells in Col "A" Dennis Excel Discussion (Misc queries) 8 July 20th 06 11:25 PM
Help getting count of non-blank cells Casey Excel Discussion (Misc queries) 3 May 18th 06 02:31 PM
Do Not count blank cells imjustme Excel Discussion (Misc queries) 4 November 1st 05 05:44 PM
COUNT ONLY CELLS THAT AREN'T BLANK paulinec Excel Worksheet Functions 8 January 8th 05 02:51 AM


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

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"