Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Serious help needed for this project Can anyone help me with this

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Serious help needed for this project Can anyone help me with this

Assuming your data is in columns A to C:

in Column D to calculate days in month:

in D2 and copy down:

=DAY(DATE(YEAR(A2),MONTH(A2)+1,0))

YTD Forecast:

=SUMPRODUCT(--(MONTH($A$2:$A$13)<=MONTH(TODAY())-1)*($B$2:$B$13)*($D$2:$D$13))/SUMPRODUCT(--(MONTH($A$2:$A$13)<=MONTH(TODAY())-1)*($D$2:$D$13))

YTD Actual:

=SUMPRODUCT(--(MONTH($A$2:$A$13)<=MONTH(TODAY())-1)*($C$2:$C$13)*($D$2:$D$13))/SUMPRODUCT(--(MONTH($A$2:$A$13)<=MONTH(TODAY())-1)*($D$2:$D$13))

Forecast/Plan

=SUMPRODUCT(($B$2:$B$13)*($D$2:$D$13))/SUM($D$2:$D$13)

Forecast Actual

=(SUMPRODUCT(--(MONTH($A$2:$A$13)<=MONTH(TODAY())-1)*($C$2:$C$13)*($D$2:$D$13))+SUMPRODUCT(--(MONTH($A$2:$A$13)MONTH(TODAY())-1)*($B$2:$B$13)*($D$2:$D$13)))/SUM($D$2:$D$13)

HTH



"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Serious help needed for this project Can anyone help me with this

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Serious help needed for this project Can anyone help me with t

Is the data in column A actual dates, with cell format of "mmm": I have
assumed they are dates so "Jan" would be 01/01/2007, "Feb" 01/02/07 (UK
format!)

"Value" indicates a data mismatch and the dates most likely candidate. Did
the days of the month work OK in column D?

I tested my solution on your data and got identical results.

If you still have problems post w/book to:

toppers <at NOSPAMjohntopley.fsnet.co.uk

Remove NOSPAM

"Jannie worksheet function" wrote:

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Serious help needed for this project Can anyone help me with t

The dates are just like on the data I sent you. Jan, Feb, Mar and so on. Just
the month name and no actual date.
Jannie

"Toppers" wrote:

Is the data in column A actual dates, with cell format of "mmm": I have
assumed they are dates so "Jan" would be 01/01/2007, "Feb" 01/02/07 (UK
format!)

"Value" indicates a data mismatch and the dates most likely candidate. Did
the days of the month work OK in column D?

I tested my solution on your data and got identical results.

If you still have problems post w/book to:

toppers <at NOSPAMjohntopley.fsnet.co.uk

Remove NOSPAM

"Jannie worksheet function" wrote:

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Serious help needed for this project Can anyone help me with t

I was able to getthe days of the month to work in Column D and the Forecast
formula =SUMPRODUCT(($B$2:$B$13)*($D$2:$D$13))/SUM(SUM($D$2:$D$13)) works
fine but all the others are giving me the #Value! error. I am assuming it has
something to do with the Month (Column A) and how the formula is referencing
it.
Jannie

"Toppers" wrote:

Is the data in column A actual dates, with cell format of "mmm": I have
assumed they are dates so "Jan" would be 01/01/2007, "Feb" 01/02/07 (UK
format!)

"Value" indicates a data mismatch and the dates most likely candidate. Did
the days of the month work OK in column D?

I tested my solution on your data and got identical results.

If you still have problems post w/book to:

toppers <at NOSPAMjohntopley.fsnet.co.uk

Remove NOSPAM

"Jannie worksheet function" wrote:

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Serious help needed for this project Can anyone help me with t

I tried to send a copy of the w/s to your email but it won't go as the full
email address is not complete I guess, yes, I removed the NOSPM.
Jannie

"Toppers" wrote:

Is the data in column A actual dates, with cell format of "mmm": I have
assumed they are dates so "Jan" would be 01/01/2007, "Feb" 01/02/07 (UK
format!)

"Value" indicates a data mismatch and the dates most likely candidate. Did
the days of the month work OK in column D?

I tested my solution on your data and got identical results.

If you still have problems post w/book to:

toppers <at NOSPAMjohntopley.fsnet.co.uk

Remove NOSPAM

"Jannie worksheet function" wrote:

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Serious help needed for this project Can anyone help me with t

e-mail address is correct

toppers<atjohntopley.fsnet.co.uk

change <at to @

"Jannie worksheet function" wrote:

I tried to send a copy of the w/s to your email but it won't go as the full
email address is not complete I guess, yes, I removed the NOSPM.
Jannie

"Toppers" wrote:

Is the data in column A actual dates, with cell format of "mmm": I have
assumed they are dates so "Jan" would be 01/01/2007, "Feb" 01/02/07 (UK
format!)

"Value" indicates a data mismatch and the dates most likely candidate. Did
the days of the month work OK in column D?

I tested my solution on your data and got identical results.

If you still have problems post w/book to:

toppers <at NOSPAMjohntopley.fsnet.co.uk

Remove NOSPAM

"Jannie worksheet function" wrote:

I understand what you are saying here to do but I copy and paste the formulas
but I get a !Value error.

"Jannie worksheet function" wrote:

I have a w/s that compares forecasts and actuals.
Column A is Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov Dec.
Column B is the Planned Forecast in $ for each month.
Column C is the Actual Amt in $ that was spent for that month

I need 3 formulas that at the end of each column do the following:

1) YTD total for each - this formula would take the $ amount for each month
and * by the number of days in that month then divide by the actual number of
toal days YTD so far. We are a month behind so we would only use through July
not include August yet. In other words it is not to date (system date).

2) Forecast total - $ amt for each month * # of days in the month divided
by 365 days for the entire year.

3) Sum for the year (got this one figured out).

for Actual Totals:

Same as for forecast for YTD.

The second formula is my problem: for Actual $ amt MTD Forecast. Take the $
amt for each month *the # of days in that month PLUS include the $amt for
the forecast months that we have NOT gotten to yet this year. We are done
with July, so you would only include Planned/Forecast $ for Aug, Sept, Oct,
Nov, Dec taken from that column and sub for actual $ until we can replace it
with the info when it comes in. This total is under Actual/Forecast.

The last one for Actuals is sum and I got that one.

3) Total - got this one - it is the actual sum YTD.
EXAMPLE
Month Forecast Actual
Jan 91.21 51.75
Feb 82.39 109.31
Mar 91.21 159.24
Apr 88.27 69.86
May 91.21 51.92
Jun 89.69 53.76
Jul 92.73 51.20
Aug 92.73
Sep 89.73
Oct 93.25
Nov 90.26
Dec 104.22
_______________________________
YTD 89.64 77.86
Forecast 91.50 84.67
Total 1096.90 547.05

Jannie



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
Excell error "Can't find Project or Library" Project VBAProject Lost in Excel Excel Worksheet Functions 0 April 12th 07 04:42 PM
How to convert MS Project to MS Excel. I don't have MS Project. Jane Excel Discussion (Misc queries) 1 February 20th 06 10:01 PM
Need a project. bach New Users to Excel 6 August 30th 05 09:47 AM
Lions Club Project Help Needed - Excel problem [email protected] Excel Discussion (Misc queries) 8 March 23rd 05 12:23 AM
I pay $ for this project Fred Grange Charts and Charting in Excel 0 December 28th 04 12:41 PM


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