# Forecast Calculation - Once Month Has Passed

Jan 31, 2014

I would like to know a way to sum the future months dollars only once the month has passed to consider that amount only in my forecast. For eg. If I have a Vendor A contract from Jan - April for \$1000/per month in total for \$4000. My Forecast should only be Feb-April = \$3000. So my total column should only display \$3000. Once Feb has passed , the forecast should only be March-April i.e \$2000. How to get rolling month sum of forecast once month has passed.

Attached is a sample spreadsheet with different vendors.

Rolling sum after month has passed.xlsx‎

## Create Everyday Report From A Database For Workdays Of Current Month Passed

Jan 12, 2013

In column A of a database I've calculated workdays for all year (excluding weekends and public holidays).

Every day, I update the numerical data of the database, with the facts of previous day.

In another sheet I've made some monthly, quarterly etc., reports for that data.

What I want, is to have:

1) a report every day, with the sum of specific data (say that in column D), for a period starting the first workday of current month and ending the previous workday of today.

2) the total workdays days for that period.

## Convert 52 Week Rolling Forecast To Monthly Forecast

Apr 4, 2014

I have a 52 week rolling forecast that I would like to have displayed in each calendar month that it corresponds to. I have come up with a solution where it does lump the data together into months but it is not a smooth lumping of the weeks as some weeks cross over from one month to the next. Is there a way to lump each week into its respective month. My current solution places in some months 4 weeks worth of data and in other months 5 weeks worth of data. Attached is the spreadsheet that I am using. The tab "Weekly Sales" is the 52 week data which has specified the exact dates on the calendar that that week represents. The "Monthly Sales" tab has the 12 week data which has specified the exact dates on the calendar that that month represents. I've tried SUMPRODUCT but that is giving me 4 weeks in some months and 5 weeks in others.

## Months Have Passed Irregardless The Number Of Days Passed

Mar 5, 2010

I need a formula to calculate how many months has passed irregardless how many days had passed. What I mean by that is if I have a starting date of 1/31/2010 and an end date of 2/1/28/2010, that should count as 1 month passed. I tried using the DATEDIF function, but that function is counting number of days, so if only 28 days had passed, that would not count as 1 month.

## Month End Calculation

Mar 22, 2006

I am writing a formula to calculate the last and next month end e.g. if I
enter 28-02-06, the expected result will be liked 31-01-06 and 31-03-06.
28-02-06 will be stored in cell A1, and my expected result will be displayed
in A2 & A3.

My formular is liked " =A1-31 , = A1+31. But because of "31"
has to change each month, therefore if doesn't work to my calcaulation.
Also, from the above example, the calculation for March is correct "31-03-06"
but the January is worng, it comes date on 28-01-06. But I need both result
at the end of the month.

## Month Over Month Calculation?

May 14, 2012

I am trying to make a formula to calculate a month over month value, simply subtracting Feb from March to see what the difference is. That's easy. However when I do that i'm using something like =SUM(B2-C2) but when I insert the next month, I have to manually format each calculation to the new month. See example at bottom.

Is there an easy way to tell excel to always look at the most left cell to calculate from?

Jan Feb Mar Month over month
100 125 150 +25

## Calculation That Uses Number Of Days Of Previous Month?

Jul 1, 2014

I have to do a calculation that uses the number of days of the previous month. Thought this would work but it doesn't.

[Code].....

## Using Month In Calculation ONLY If Current Year Is 2009.

Dec 3, 2008

I'm calculating sick days on an Attendance Report.
- Sick days accumulate at a rate of 1.25 per month.
- Employees will carry-forward unused sick days from 2008.
- The maximum sick days is 30.

In trying to create a formula that will multiple the current month (eg Dec=12) by 1.25, subtract any sick days taken YTD (S16), and add the carry-forward days from 2008 (W16), I noticed one problem with the following formula:

## Year,month,week,days Calculation

Aug 3, 2006

What I am trying to to is calculate the number of Years, Months, Weeks, and Days from one date to another. So far I can calculate years and months accuretly but I'm having trouble with the days and can't seem to figure out how to do the weeks.

I'm using the formula: =DATEDIF(B1,B2,"y")&" Year(s), "&MOD(DATEDIF(B1,B2,"m"),12)&" Month(s), and "&(MOD(DATEDIF(B1,B2,"d"),365))&" day(s)"

B1 is the current days date
B2 is the entered date

What I am getting when I enter the date 9/14/09 with the current date (8/3/06) is 3 years, 1 month and 43 days. when it shoud only be 3 years 1 month and 11 days. Any date I enter the days are not right. I can't seem to figure out what I am doing wrong. Also I'd like to get the weeks to come up also. Such as Start date 8/3/06 Entered date 10/19/09. What I want to see: 3 year(s), 2 month(s), 2 week(s), 2 day(s).

## Calculation Value Based On Month Name In Adjacent Cell

Feb 28, 2008

I have a spreadsheet spread over with dates in column A from September to December and I have a fuel rebate column as well. The fuel rebate is different for each month and is calculated as a certain amount of cents per dollar added to the total amount in Column B

September: 26c
October: 13.5c
November: 43c
December: 66c
e.g. If there is an invoice for 10/9/07 (september) for \$100, then the fuel rebate would be \$100*.26 which equals \$26 fuel rebate. I want to calculate column B (this is the column with the dollar amount in it), but I want the calculation to be different depending on what date is in column A, so if in column A the dated month is October, then the calculation would be something like B2*0.135. give me the calculation I am certain you don't need VBA for this right (just nested IF statements?)

## Forecast The Value

Mar 19, 2009

I'm trying to forecast values for B48:B56. Charted the data and a polynomial 6th order fits best. Known values in B2:B47.

## Financial Model (formula To Equally Distribute Revenue Either Over The Next 1 Month, 2 Month Or 3 Month Period Depending On Size Of The Deal)

Dec 23, 2008

I m trying to write a formula for my financial model. If anyone can take a stab at a solution. I'm trying to write a formula that will equally distribute revenue either over the next 1 month, 2 month or 3 month period depending on size of the deal.

Details:
Sales will fit in 1 of 3 categories. Less than 25k; between 25k & 100k; greater than 100k.

- if under \$25K, recognize in next month (month N+ 1)
- \$25K-100K, recognize in two equal parts in months N + 1 and N + 2
- over \$100K, recognize in three equal parts over 3 months
N + 1, N + 2, N + 3 ...

## Lookup Future Forecast?

May 16, 2014

I have a list of african countries and their C02 emissions from 1990 to 2010. The question I'm asked is, who will be the top 5 emitters in the year 2020 given the current trends. I have done a lookup command and compiled a list of the top 5 emitters. My concern is though i do not know how to get the 2020 forecast of the top 5 emitters rather than the current datas.

## Forecast Linear Trend Between Min & Max

Jan 4, 2007

I am using the Forecast formula to give me a value from a Linear trend. However I need to limit the resulting value that is displayed within a min and max value. Background: This is to allow me to calculate the amount of bonus someone will earn depending on the Percentages of their target they achieve. The min bonus is 25% when 80% of target is achieved and max bonus is 100% when 125% or greater of target is achieved.
So the Forecast formular works great using the existing values, but i need help limiting the results to between 25% and 100%. I was trying to use a sumif formula to copy the resulting cell but only if the value fell between the 25 and 100%. I've attached the spreadsheet as I think it will highlight what i'm trying to do better than I can explain it.

## Economic Statistics Forecast

Mar 3, 2007

I try to predict some macro economic statistics but any attempt till now didn't make sense. the attached file. Note: when i used the FORECAST function the predicted values showed an unlogical drop while there seems to be a positive trend.

## Calculate Exponential Forecast

Jun 18, 2008

I have inherited a series of data relating to a change in a specification over a period of time and a number of cycles.

See attached.

There is already a chart which shows the data and has an exponential line.

I want to find the value of Cycles where the Average Flash exponential from the chart line is 0.131.

FYI this is to plot deterioration in a piece of tooling, 0.131 being the accepted warning level. If you feel there is a better statistical model to use for that application then I'm all ears!

## How To Capture A Set Of Forecast Dates In A Spreadsheet

Jul 23, 2013

I'm trying to capture a set of forecast dates in a spreadsheet. We have column 1 = forecast date, column 2 = actual date.

I also have at the top of the sheet (which I will hide when I get the forumula to work), today's date, today's date less 13 days and today's date - 27 days.

In column 3, I want a traffic light system whereby if the date in column 2 is equal to or less than (before) each of the 3 hidden dates it the cell colour will turn green, amber then red..

## Product Forecast - Optimizing Dataset

Aug 9, 2013

I've attached a file that is the result of a product forecast.

What I'd like to do is minutely adjust the data in B4:K12 so that the totals shown in blue colour on Row 15 and Column O are respected.

Book1.xlsx

Jun 25, 2014

I have added a user form to this spreadsheet to make it a little more user friendly to edit/add/delete some information. Now the API used only needs longitude/latitude (lat/lon) to be input by the user. In this case it would be good that for each lat/lon to have a custom name added by the user.

I was thinking it would be convenient to have the "Site Name" added to a column in the sheet named "Site List" and then have the "Fore Cast Data" pull the names from there.

## Days On Hand Against Forecast Table

Jul 12, 2012

I am having trouble finding the days on hand for each SKU. I am trying to get a formula to look at how many days will the total SKU Qty cover in the Forecast_qty. I used a vlookup to make sure the sku = sku but i cant get the days on hand number.

SKU
Total
DOH
ITEM_CODE
FORECAST_DT
FORECAST_QTY

596459
450
?
596459
7/11/2012
54

[Code] ............

## Creating Monthly Forecast Over 9 Months

Jan 11, 2013

I'm trying to create a monthly forecast over 9 months. I know the planned cost for month 1 and month 9 but need to figure out how to spread the remaining amount over months 2-8 using a downward slope.

Here's the problem:I have 9 months to spend \$28M. I know in month 1 I plan to spend \$6M and month 9 \$3M. That leaves \$19 for months 2-8. I need to figure out what the burn rate would be in months 2-8 ramping down from \$6M to \$3M and not exceeding the available amount (19M)

Is there a way to caluclate this in Excel?

## Different Results When Using Forecast And Trend Function

Aug 29, 2013

I am forecasting some numbers and I wanted to see which function would be best suited for my task. I used the TREND function and then the FORECAST, I was expecting the same results but appeared to have slight differences.

## How To Forecast Project Completion Date

Sep 28, 2008

I have project start date in cell C2((MMDDYYYY format).In cell D2 I have put the total days needed to complete the project.In cell E2:E6 I have got the scheduled Holidays.

I need to calculate the project completion date in F2.We work from Monday to Saturday,Sunday being off day.

The detail is as follows:-

## TREND Function For Passenger Forecast

Feb 10, 2008

So I'm trying to forecast the number of passengers for an airport based on their past 7 years performance. I used "TREND" to forecast the passenger number from 2008 through to 2012 with a little problem and the numbers seems reasonable. However, When I do a scatter diagram and add a trend line, my R squared value is VERY low something around 0.03. I have a limited statistical knowledge but I assume this value should be above 0.90 in order for a good fit with trend line.

## Time Passed Since Last Saved

Mar 8, 2007

Private Sub Workbook_Activate()
Dim user As String
If Worksheets("Setup"). Range("D6").Value = "" Then
user\$ = InputBox("Hello. Please enter your name to inialize the program", "Enter Name")
Worksheets("Setup").Range("D6").Value = user
MsgBox ("Welcome " & user & ". Press 'OK' to continue on to the Main Menu.")
Else
user\$ = Worksheets("Setup").Range("D6").Value
MsgBox ("Welcome back " & user & ". Press 'OK' to continue on to the Main Menu.")
End If
Exit Sub

but i would like to expand the "welcome back" msgbox to also display "the last time you were was was (eg: 2 days/3 hrs/14 min) ago" - which i presume would be calculated from the last save.

## Forecast Quantity Based On Sales History?

Mar 29, 2013

I need to find a way of populating a column of forecasts based upon previous sales amount and price. For instance if I have apples on special for \$2 and previously sold 200 units on multiple occasions at this price but once off sold 1000 apples at special \$1, but normally they are \$3 selling on average 50. I would want to get a result of Forecast: 200, not 50 or anything else to far off

I've attached the sheet I currently use for work.

Dated tab: is my working sheet MerchTrend: Previous sales history, which is imported from POS system and unfortunately cells will change based upon sales

On the Dated Tab, price column includes multi buy prices (ie 2 for \$3) but the Merch Trend refers to these as individual sales (ie 2 sales for \$1.50) On the Merch trend, Price Type refers to promo style. (N for Normal Price, IA, S, R, IR, P are promotional)

promo sort example.xls

## Updating Forecast / Actual Sheet With A Macro

Jun 6, 2014

So I am trying to make a macro that will update monthly forecast data to what the actual production/consumption data was. The production/consumption numbers come in separate workbooks (i.e. "Jan14", "Feb14") and need to be linked to the 'Book' main file. The path needs to the Jan14 needs to come into the 'Book' file, not just the values. I would like to be able to just have a button above each month that will just automatically load that month's data when it becomes available.

## How To Forecast Pickup Dates Based On Several Conditions

Apr 18, 2012

I am trying to project a dispatch date from my DC against the received customer orders.

The following are some important points for consideration of the projected dispatch date:-

1)Customer order is received 24X7(365 days via internet).
2)DC works between Monday-Saturday.
3)Courier company picks-up material from DC between Monday-Saturday.
4)Customer order processing CUT-OFF-TIME is 16PM(on any working day).
5)There are holidays for both DC & courier company on and above SUNDAY.

I am looking for a formula which can forecast the proposed pick-up date from the DC based on the following conditions:-

1)CUT-OFF-TIME:-If the customer order is received on any working day(except Sunday & Holiday) on or before the CUT-OFF-TIME of 16PM then the order will be dispatched on the same day or the dispatch will be made on the next working day.
2)SUNDAY/HOLOIDAY:-If the customer order is received on SUNDAY/designated HOLIDAYs(irrespective of any time) then the order will be dispatched on the next working day.

I am providing few probable scenarios with the desired result. Formula which can populate the desired result across D2:D11.

Sheet3  ABCDEFGH1Customer Order DateCustomer Order TimeOrder Processing CUT-OFF-TIME
Proposed Dispatch Date(Desired Result)Explanation For The Proposed Dispatch Date(Desired Result)
List Of Weekly Offs(Both DC & Courier)DC Holidays Courier Holidays
24-Apr14:2016:004-Apr4th April is a working day & order time is before the Cut-Off Time of 16PM and hence the dispatch will be done on 4th April.

[Code] ..........

## Calculate Variance Between Actual And Forecast Data

Mar 29, 2007

what is the formula to calculate variance in Excel between the actual data and the forecasted one?

## Show Trends To Forecast Annual Inventory

Nov 29, 2007

I have 200 items that have 22 months of usage information each and need to:

1. In one column, show trend (up or down) based on the 22 months' activity for each item.

2. In another column, show/ forecast how much inventory will be needed for the next 12 months.