Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting a text value between dates

I am trying to count the number of times a particular phrase occurs in a
column using a combilation of 'if' and 'countif' my knowlegde of basic dates
back to the time when every line started with a number! but I am trying to do
something along the lines of

IF !$I:$I 01/01/09 or !$I:$I <31/01/09 then CountIf !$B:$B = "B02

But nothing I seem to do brings up the correct result, any help gratefully
received.

Lucy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Counting a text value between dates

Better to use SUMPRODUCT. See countless examples in the archives of this
group.
--
David Biddulph

"Lucy_C" wrote in message
...
I am trying to count the number of times a particular phrase occurs in a
column using a combilation of 'if' and 'countif' my knowlegde of basic
dates
back to the time when every line started with a number! but I am trying to
do
something along the lines of

IF !$I:$I 01/01/09 or !$I:$I <31/01/09 then CountIf !$B:$B = "B02

But nothing I seem to do brings up the correct result, any help gratefully
received.

Lucy



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Counting a text value between dates

=SUMPRODUCT(--(I2:I30DATE(2009,1,1)),--(I2:I30<DATE(2009,1,31)),--(B2:B30="B02"))
Adjust ranges!
If you want to refer entire columns you must use Excel2007!


Regards,
Stefi

€˛Lucy_C€¯ ezt Ć*rta:

I am trying to count the number of times a particular phrase occurs in a
column using a combilation of 'if' and 'countif' my knowlegde of basic dates
back to the time when every line started with a number! but I am trying to do
something along the lines of

IF !$I:$I 01/01/09 or !$I:$I <31/01/09 then CountIf !$B:$B = "B02

But nothing I seem to do brings up the correct result, any help gratefully
received.

Lucy

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 Dates - Not Text Danny Excel Worksheet Functions 2 August 17th 07 02:19 AM
Counting Dates - Not Text Danny Excel Worksheet Functions 1 August 17th 07 01:58 AM
Counting Dates - Not Text Biff Excel Worksheet Functions 0 August 17th 07 01:49 AM
counting occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting dates, within a list of dates jrheinschm Excel Worksheet Functions 7 April 19th 06 06:13 PM


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