Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Count Non-Blank Values in a Table but only for a range

I have a table of values like the following:

Column A=Date B=Name B=Problem C=Solved Date D=Solution

I need to count the blank from column C but only from a certain date range
in clumn A, for example count all the blanks in clumn C but only from the
rows that have the date in clumn A between 1/1/2008 to 1/31/2008. Also with
the same table count how many times a Name in column B apears but also only
from the rows that have the date in clumn A between 1/1/2008 to 1/31/2008.

Thank you for you help.
--
Gabriel Camarena R.
Delphi Tijuana IT Support
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Count Non-Blank Values in a Table but only for a range

Use this for your first problem:

=SUMPRODUCT((A2:A100=DATE(2008,1,1))*(A2:A100<=DA TE(2008,1,31))
*(C1:C100=""))

I've assumed you have 100 rows, with a heading in row 1 - adjust
ranges to suit your data.

For your second problem:

=SUMPRODUCT((A2:A100=DATE(2008,1,1))*(A2:A100<=DA TE(2008,1,31))
*(B1:B100=F1))

where F1 contains the name you are interested in.

Hope this helps.

Pete

On Jul 11, 6:40*pm, GCRDelphi
wrote:
I have a table of values like the following:

Column A=Date B=Name B=Problem C=Solved Date D=Solution

I need to count the blank from column C but only from a certain date range
in clumn A, for example count all the blanks in clumn C but only from the
rows that have the date in clumn A between 1/1/2008 to 1/31/2008. Also with
the same table count how many times a Name in column B apears but also only
from the rows that have the date in clumn A between 1/1/2008 to 1/31/2008..

Thank you for you help.
--
Gabriel Camarena R.
Delphi Tijuana IT Support


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Count Non-Blank Values in a Table but only for a range

Thanks Pete!

Those worked great!

Thanks again for your help.
--
Gabriel Camarena R.
Delphi Tijuana IT Support


"Pete_UK" wrote:

Use this for your first problem:

=SUMPRODUCT((A2:A100=DATE(2008,1,1))*(A2:A100<=DA TE(2008,1,31))
*(C1:C100=""))

I've assumed you have 100 rows, with a heading in row 1 - adjust
ranges to suit your data.

For your second problem:

=SUMPRODUCT((A2:A100=DATE(2008,1,1))*(A2:A100<=DA TE(2008,1,31))
*(B1:B100=F1))

where F1 contains the name you are interested in.

Hope this helps.

Pete

On Jul 11, 6:40 pm, GCRDelphi
wrote:
I have a table of values like the following:

Column A=Date B=Name B=Problem C=Solved Date D=Solution

I need to count the blank from column C but only from a certain date range
in clumn A, for example count all the blanks in clumn C but only from the
rows that have the date in clumn A between 1/1/2008 to 1/31/2008. Also with
the same table count how many times a Name in column B apears but also only
from the rows that have the date in clumn A between 1/1/2008 to 1/31/2008..

Thank you for you help.
--
Gabriel Camarena R.
Delphi Tijuana IT Support



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Count Non-Blank Values in a Table but only for a range

You're welcome - glad to be of help.

Pete

On Jul 11, 8:23*pm, GCRDelphi
wrote:
Thanks Pete!

Those worked great!

Thanks again for your help.
--
Gabriel Camarena R.
Delphi Tijuana IT Support

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
How to count zeros and not blank in selected range? Kshitij Excel Worksheet Functions 4 July 8th 08 10:17 AM
cell is blank then dont count range james b[_2_] Excel Discussion (Misc queries) 3 July 5th 08 11:43 AM
Pivottable won't count blank values Eric Excel Discussion (Misc queries) 6 February 10th 07 11:10 PM
Need assistance: Count non-blank within date range Paul Excel Worksheet Functions 5 February 21st 06 10:20 PM
count of (blank) pivot table Jtspeakman Excel Discussion (Misc queries) 1 December 12th 05 03:17 PM


All times are GMT +1. The time now is 07:06 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"