Prorate costs based on month across sheets

wudaben

New Member
Joined
Apr 15, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm looking for a little help figuring out how to perform the following functions. Currently I have "Sheet1" showing me the following data:

Test.xlsx
ABC
1NameComputer NameStart Date
2Joe BlowComputer11/1/2020
3John DoeComputer23/15/2020
4Jane SmithComputer34/1/2020
5Jane DoeComputer44/6/2020
6John SmithComputer54/15/2020
Sheet1


I would like to have Sheet2 automatically display the prorated costs for each user sorted and totaled per month similar to this:

Test.xlsx
ABCDE
1Jan-20
2NameComputer NameMonthly RateStart DateProRateAmt
3Joe BlowComputer1$26.00 1/1/202026.00
4
5Total:26.00
6
7Mar-20
8NameComputer NameMonthly RateStart DateProRateAmt
9John DoeComputer2$26.00 3/15/202014.26
10
11Total:14.26
12
13Apr-20
14NameComputer NameMonthly RateStart DateProRateAmt
15Jane SmithComputer 3$26.00 4/1/202026.00
16Jane DoeComputer4$26.00 4/6/202021.67
17John SmithComputer5$26.00 4/15/202013.87
18
19Total:61.53
Sheet2
Cell Formulas
RangeFormula
E3,E15:E17,E9E3=C3*(DAY(EOMONTH(D3,0))-DAY(D3)+1)/DAY(EOMONTH(D3,0))
E5,E11E5=SUM(E3:E4)
E19E19=SUM(E15:E18)


Is this possible? The formatting doesn't have to be exact and if there is a better method for doing this please feel free to change the data around however. Basically I'm currently having to manually total the users for a particular month and apply the formula and I'd prefer to automate it so that other users do not need to make and changes to view the data.

Thanks for any assistance you can provide!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,214,784
Messages
6,121,535
Members
449,037
Latest member
tmmotairi

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