Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default finding # of occurrences of information between two dates

I am trying to create a formula that will identify the number of sales for a
particular course on a monthly basis. This information will be fed to cells
on another sheet within the same workbook.

I know how to count the number of occurrences for a particular text stream,
but having that total based on the date is eluding me. I thought vlookup
might work, but I can't seem to get my head around how to make it calculate
correctly.

Any help would be GREATLY appreciated!


1/1/2007 Millwork Course - Complete Package
1/4/2007 Math For Enterprising Minds - Complete Package
2/24/2007 Millwork Course - Complete Package
3/1/2007 Principles of Proessional Selling - Complete Package
4/6/2007 Millwork Course - Complete Package

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default finding # of occurrences of information between two dates

Try this:

Count of Millwork Course - Complete Package for the month of Jan 2007:


=SUMPRODUCT(--(A1:A10=DATE(2007,1,1)),--(A1:A10<=DATE(2007,1,31)),--(B1:B10="Millwork
Course - Complete Package"))

Better to use cells to hold the criteria:

D1 = start date = 1/1/2007
E1 = end date = 1/31/2007
F1 = Millwork Course - Complete Package

=SUMPRODUCT(--(A1:A10=D1),--(A1:A10<=E1),--(B1:B10=F1))



--
Biff
Microsoft Excel MVP


"JPLong" wrote in message
...
I am trying to create a formula that will identify the number of sales for
a
particular course on a monthly basis. This information will be fed to
cells
on another sheet within the same workbook.

I know how to count the number of occurrences for a particular text
stream,
but having that total based on the date is eluding me. I thought vlookup
might work, but I can't seem to get my head around how to make it
calculate
correctly.

Any help would be GREATLY appreciated!


1/1/2007 Millwork Course - Complete Package
1/4/2007 Math For Enterprising Minds - Complete Package
2/24/2007 Millwork Course - Complete Package
3/1/2007 Principles of Proessional Selling - Complete Package
4/6/2007 Millwork Course - Complete Package



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default finding # of occurrences of information between two dates

Try looking at COUNTIF and SUMIF in the help file.
--
Best Regards,

Luke M


"JPLong" wrote:

I am trying to create a formula that will identify the number of sales for a
particular course on a monthly basis. This information will be fed to cells
on another sheet within the same workbook.

I know how to count the number of occurrences for a particular text stream,
but having that total based on the date is eluding me. I thought vlookup
might work, but I can't seem to get my head around how to make it calculate
correctly.

Any help would be GREATLY appreciated!


1/1/2007 Millwork Course - Complete Package
1/4/2007 Math For Enterprising Minds - Complete Package
2/24/2007 Millwork Course - Complete Package
3/1/2007 Principles of Proessional Selling - Complete Package
4/6/2007 Millwork Course - Complete Package

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default finding # of occurrences of information between two dates

Oops, didn't see that you wanted on a monthly basis. Valko is right in using
a SUMPRODUCT then. My apologies.
--
Best Regards,

Luke M


"Luke M" wrote:

Try looking at COUNTIF and SUMIF in the help file.
--
Best Regards,

Luke M


"JPLong" wrote:

I am trying to create a formula that will identify the number of sales for a
particular course on a monthly basis. This information will be fed to cells
on another sheet within the same workbook.

I know how to count the number of occurrences for a particular text stream,
but having that total based on the date is eluding me. I thought vlookup
might work, but I can't seem to get my head around how to make it calculate
correctly.

Any help would be GREATLY appreciated!


1/1/2007 Millwork Course - Complete Package
1/4/2007 Math For Enterprising Minds - Complete Package
2/24/2007 Millwork Course - Complete Package
3/1/2007 Principles of Proessional Selling - Complete Package
4/6/2007 Millwork Course - Complete Package

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
Finding MIN value in a column between Two Dates in different columns ML Srini Excel Worksheet Functions 3 October 28th 07 03:14 AM
Finding Certain Dates T_Sr via OfficeKB.com New Users to Excel 2 February 11th 07 01:09 AM
finding a range of dates to total Danbmarine Excel Discussion (Misc queries) 4 January 27th 06 09:28 PM
Finding data by dates [email protected] Excel Worksheet Functions 3 October 4th 05 07:54 AM
Formula to find information between 2 dates Porous Metals Limited Excel Worksheet Functions 2 January 3rd 05 07:39 PM


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