Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Calculating Date Ranges

I have an Excel spreadsheet in which we use to keep track of online courses
we work on each semester at work. So far, I've been able to use the COUNTIF
function to calculate the number of hours it takes to work on a course using
a drop-down list that I've created.

I would like to add some additional data to my "Reports" tab that would
calculate the number of courses that we work on for a specific date range
(example: from January 1, 2007 to March 15, 2007).

Further, is there also a way to tally this information if I have multiple
tabs on my spreadsheet that contain similar data?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Calculating Date Ranges

I think I figured part of my answer out by searching the forums. I can try
to use:

=SUMPRODUCT(--(MONTH(M2:M1000)=4))

But...I'm still confused on how to get data from multiple tabs.

"Chris Hofer" wrote:

I have an Excel spreadsheet in which we use to keep track of online courses
we work on each semester at work. So far, I've been able to use the COUNTIF
function to calculate the number of hours it takes to work on a course using
a drop-down list that I've created.

I would like to add some additional data to my "Reports" tab that would
calculate the number of courses that we work on for a specific date range
(example: from January 1, 2007 to March 15, 2007).

Further, is there also a way to tally this information if I have multiple
tabs on my spreadsheet that contain similar data?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Calculating Date Ranges

I'm still confused on how to get data from multiple tabs.

One way:

Make a list of your sheet names. Say that list is in the range C1:C5

A1 = 1/1/2007
A2 = 3/15/2007

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000 "),"="&A1))-SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000" ),""&A2))

Biff

"Chris Hofer" wrote in message
...
I have an Excel spreadsheet in which we use to keep track of online courses
we work on each semester at work. So far, I've been able to use the
COUNTIF
function to calculate the number of hours it takes to work on a course
using
a drop-down list that I've created.

I would like to add some additional data to my "Reports" tab that would
calculate the number of courses that we work on for a specific date range
(example: from January 1, 2007 to March 15, 2007).

Further, is there also a way to tally this information if I have multiple
tabs on my spreadsheet that contain similar data?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Calculating Date Ranges

Earlier today I had found this on the forums:

EXAMPLE:
=SUMPRODUCT(--(MONTH(M2:M1000)=4))

This worked well for me when this formula was in the same tab as my data.
How would I go about calculating the number of April (4) entries in a column
that were in a different tab called "Fall 2007-08 (1st term)"?

"T. Valko" wrote:

I'm still confused on how to get data from multiple tabs.


One way:

Make a list of your sheet names. Say that list is in the range C1:C5

A1 = 1/1/2007
A2 = 3/15/2007

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000 "),"="&A1))-SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000" ),""&A2))

Biff

"Chris Hofer" wrote in message
...
I have an Excel spreadsheet in which we use to keep track of online courses
we work on each semester at work. So far, I've been able to use the
COUNTIF
function to calculate the number of hours it takes to work on a course
using
a drop-down list that I've created.

I would like to add some additional data to my "Reports" tab that would
calculate the number of courses that we work on for a specific date range
(example: from January 1, 2007 to March 15, 2007).

Further, is there also a way to tally this information if I have multiple
tabs on my spreadsheet that contain similar data?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Calculating Date Ranges

Just add the sheet name:

=SUMPRODUCT(--(MONTH('Fall 2007-08 (1st term)'!M2:M1000)=4))

Biff

"Chris Hofer" wrote in message
...
Earlier today I had found this on the forums:

EXAMPLE:
=SUMPRODUCT(--(MONTH(M2:M1000)=4))

This worked well for me when this formula was in the same tab as my data.
How would I go about calculating the number of April (4) entries in a
column
that were in a different tab called "Fall 2007-08 (1st term)"?

"T. Valko" wrote:

I'm still confused on how to get data from multiple tabs.


One way:

Make a list of your sheet names. Say that list is in the range C1:C5

A1 = 1/1/2007
A2 = 3/15/2007

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000 "),"="&A1))-SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C5&"'!M2:M1000" ),""&A2))

Biff

"Chris Hofer" wrote in message
...
I have an Excel spreadsheet in which we use to keep track of online
courses
we work on each semester at work. So far, I've been able to use the
COUNTIF
function to calculate the number of hours it takes to work on a course
using
a drop-down list that I've created.

I would like to add some additional data to my "Reports" tab that would
calculate the number of courses that we work on for a specific date
range
(example: from January 1, 2007 to March 15, 2007).

Further, is there also a way to tally this information if I have
multiple
tabs on my spreadsheet that contain similar data?






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
Calculating the number of values between specified ranges Christopher Buxton Excel Discussion (Misc queries) 1 March 7th 07 10:16 AM
Calculating rate based on age ranges HRLADY Excel Worksheet Functions 0 May 24th 06 10:08 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
Calculating with named ranges KG Excel Discussion (Misc queries) 2 May 13th 05 02:52 PM
calculating date time ranges Patrick Excel Worksheet Functions 2 November 11th 04 05:07 AM


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