excel 2003

silentbuddha

Board Regular
Joined
Mar 1, 2008
Messages
112
Hi,

I am stuck on this particular situation....

Example :

variable 1: Start date 9/26/2010
variable 2: end date 10/2/2010
constant : # days between startdate & enddate is always 7 days

How can I determine ( using the above date range as an example ) that for the current week I had 5 days that were in september and 2 days in october ???

Scenario : What I am trying to do is accurately calculate the CBC ( customer base calling ) for a certain week.


Formula:

step1
sept weighted days = 71.4 % ( 5 out of 7 )
oct weighted day = 28.6 % ( 2 out of 7 )

step2
71.4% * Total number of days in sept = 0.714 * 30 = 21.42
28.6% * total number of days in oct = 0.296 * 31 = 9.18

step3
weighted # days = 21.42 + 9.18 = 30.6

step4
( ( [calls offered] / [7 days] ) * weighted # days ) / subbase

Thanks ! :)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Code:
      --A--- --B-- --C-- --D--
  1    Beg    End  1-Sep 1-Oct
  2   26-Sep 2-Oct     5     2
The formula in C2 and copied across is

=MAX(0, MIN(EOMONTH(C$1, 0), $B2) - MAX(C$1, $A2) + 1)
 
Upvote 0

Forum statistics

Threads
1,216,066
Messages
6,128,577
Members
449,459
Latest member
20rayallen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top