Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJ AJ is offline
external usenet poster
 
Posts: 99
Default AVERAGE BASED ON 2 CRITERIA

I have a set of data on the entry and exit dates of a person. I have
calculated the number of days between two dates. I would now like to average
the number of days that fall in between two dates.
Example:
Enter Date Exit Date Number of days
1/12/09 1/13/09 1
1/19/09 1/23/09 4
1/26/09 1/30/09 3

I'd like the aver number of days between 1/12 and 1/19.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default AVERAGE BASED ON 2 CRITERIA

Maybe you just want:
=average(c2:C4)

But the average number of days between dates (to me) is just the number of days
between dates.

You could subtract them and format the cell with the formula as General.

You may want to subtract 1 or 2 if you don't want to include the end dates.


aj wrote:

I have a set of data on the entry and exit dates of a person. I have
calculated the number of days between two dates. I would now like to average
the number of days that fall in between two dates.
Example:
Enter Date Exit Date Number of days
1/12/09 1/13/09 1
1/19/09 1/23/09 4
1/26/09 1/30/09 3

I'd like the aver number of days between 1/12 and 1/19.


--

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
average based on criteria ramudt Excel Worksheet Functions 7 September 23rd 08 12:37 PM
need to average based on criteria drd Excel Discussion (Misc queries) 2 May 30th 08 10:17 PM
average one column based on criteria from another ba374 Excel Discussion (Misc queries) 1 October 2nd 07 05:39 PM
Calculating an average based on 2 and 3 criteria craggergirl Excel Worksheet Functions 2 February 24th 06 02:37 PM
caluculate an average based on 2 criteria [email protected] Excel Discussion (Misc queries) 3 November 3rd 05 03:34 AM


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