Correlation Trends: Calculate The Trend Of Correlations Over A 4 Year Period
May 4, 2007
Column A is the COB Date Column B through N are various stock data. I would like to calculate the trend of correlations over a 4 year period. I can't seem to figure out how to manipulate the data analysis tool pak to do this.
View 3 Replies
ADVERTISEMENT
Nov 26, 2007
I am facing a problem with WorksheetFunction.Correl
I got information, that matching class properties of Worksheetfunction is impossible.
This is my first experience with macro's and I hardly know how to deal with this problem.I got some excel file from my friend and tried to do this in the same way.
Macro was supposed to calculate the Pearson's coefficient of correlation for orders from 1 to 100 of autocorrelation in order to calculate Q Box-Pierce statistic.Data is prices of stocks for some bank and correlation coefficient is calculated for simple returns on stocks.
View 9 Replies
View Related
Jul 11, 2014
I have a hotel room schedule of up to 1,000 rows. Each row is a different room, each column representing a different day of the year. Each cell in a row either has the surname of a guest for that particular day, or the word "Available" to indicate no guest is occupying that room on that day.
analysing each room's occupancy and availability periods over the year. i.e.
- what day(s) a guest occupied and vacated a room,
- what day(s) a another guest then occupied and vacated that room, or
- what day(s) it was then "Available" from
The dates of occupancy are needed in case the guest queries the period.
Parameters
- All 365 days of the year are used - irrespective of holidays/ weekends - the room will either be occupied or available - The day after a guest leaves, it will automatically become available until unless another guest occupies it - The same guest may use a room more than once in a year. This will need to be shown as a unique occurrence, not accumulative
Design
- A1:A1000 is a list of room numbers
- B1:NB1 are all 365 days of the year regardless of weekends/ holidays
- Every cell has either the surname of the guest or the word "Available"
- The results of the analysis can be on another worksheet
Sample I have attached a scaled down sample of what I'm after. Row 1 has the dates starting from 30 April 2013 to 23 May 2013. Room numbers in Column A. C10:D26 are samples for the analysis I'm after. I've randomly chosen Room 100 and Room 500. Room 500 has Mr Mathews staying 4 times.
View 5 Replies
View Related
Mar 25, 2014
I currently have in my equation the trend function to linear extrapolate the date a line would cross either my upper or lower limits (100.1 and 19.9) between 2 data points. However if the 2 data points span both the upper and lower limits (as per the 2 attached examples) then unfortunately the trend function is only able to return the 1 date (where I've specified the x value). Is there any way for the TREND function to trend the 2 values? Do I simply add the 2nd x value to the new x's?
I have attached both the data and their graphs to visually explain my problem : EF Workbook.xlsx
View 2 Replies
View Related
Mar 27, 2014
I am writing a formula that will sum data for a 12 month period that is not based on a calendar year. For example may have data starting in June 2011 running to date, but not every month. If I set a start date for Year 1, say April 2012, I need to see Year 0 numbers (anything prior to April 2012), Year 1 numbers (April 2012 to March 2013), Year 2 numbers (April 2013 to March 2014), and so on. Date format is currently mmm-yy.
If this could be performed via a macro which references the database (spreadsheet), then even better. The database will contain multiple columns, of which two will contain the date and corresponding number respectively.
View 12 Replies
View Related
Apr 30, 2009
I have uploaded a sample amortization schedule.
1. I require the table to adjust itself based on the loan period and number of payments per year entered in D14 and D15 respectively.
2. Also, if a value is entered in column E, then i require the whole table to update as well.
View 7 Replies
View Related
Oct 7, 2008
I have a logbook which already uses a number of SUMIF formulas but have been trying to create one so that totals the number of hours flown in the above mentioned periods. I am attempting to copy the formula and then modify for the relevant column in this case: =SUM(IF(FlightDates<(TODAY()-90), 0, FlightLength))
FlightDates is the named range of the calender date in column A and FlightLength is the named range for total flying in column Z. However even though this forumla works in another situation e.g. tracking number of landings in the last 90 days, it comes up with an error.
View 3 Replies
View Related
Apr 28, 2009
how i would calculate the number of sickness days and occaisions in the previous 26 week period from todays date.
I've attached the spreadsheet.
So in C4 i want to have the total number of times(occasions) the person has been absent in the previous 26 weeks.
and in E4 i want to have the Total number of Days (taken from E7:E20) the person has been sick in the past 26 weeks
View 2 Replies
View Related
Dec 6, 2006
I need to calculate a pay back period for a certain investment. Excel has options for NPV and IRR but not for the Pay back period. (PBP). I've tried finding a solution using google discussion groups and some books but nothing helped me out. attached you'll find an example of my sheet. I need the PBP to be calculated in e.g. 5,3 years. but when the figures change it should automaticly recalculate the PBP.
View 2 Replies
View Related
Mar 5, 2013
I am looking to calculate compound interest over a period of 10 years.
I am looking at putting a lump sum in at the beginning and contribute in monthly installments for the entire 10 years. How would I go about this.. I know there are formulas there, however I'm not a financial person at all..
View 9 Replies
View Related
Jul 10, 2013
Excel formula to calculate period between multiple dates.
Column A has first arrival
Column B has first departure
Column C has second arrival
Column D has second departure
Column E has third arrival
Column F has third departure
Column G has forth arrival
Column H has forth departure
Column I has fifth arrival
I need total period stay from all these columns.
View 3 Replies
View Related
May 14, 2009
I am creating a timesheet using excel 2003 users enter their shift start/finish time and a break start/finish time. Emplyee's can work night shifts (ie across midnight).
There are penalty rates which apply at different times. I need to be able to work out the amount of worked time that fits into a certain time period. eg. 10pm-7.30am, 7.30am-10pm.
I have a solution based on A clever formula from Daniel Maher that will calculate time within a period. But it doesn't work when the shift goes over two days.
I have attached a spreadsheet to help show the problem .......
View 12 Replies
View Related
Mar 6, 2014
I am trying to calculate the average start time for a machine over a period. However the machine start time varies from 10:00 pm to past midnight. I have tried reviewing past posts but cannot seem to find a similar query.
View 13 Replies
View Related
Mar 8, 2013
I need also to calculate difference between dates(dd-mm-aaaa hh:mm) in workhours ( hh:mm):
The work period is 9-18 with lunch interval 13-14 The startdate and end date could be out of the work hours and i can't include the extra hours. I can have several days (workdays) at the difference, but i should maintain the format hh:mm.
Ex1:
Startdate 05-03-2013 18:34 ( date to calculation should be 05-03-2013 18:00)
end date 06-03-2013 10:30
Time Difference 1:30 ( from 9 to 10:30 of 06-03-2013 )
will be equal to:
Startdate 06-03-2013 8:34 ( date to calculation sould be 06-03-2013 9:00 )
end date 06-03-2013 10:30
Time Difference 1:30 ( from 9 to 10:30 of 06-03-2013 )
Ex2:
Startdate 06-03-2013 12:01
End date 06-03-2013 14:28
Time Difference 01:29
View 3 Replies
View Related
Sep 11, 2009
I need to determine a formula which will allow me to calculate a future date based upon a current date with varying time periods.
For example:
I have a bill which is paid on the 15th and last business day of each month. I would like to be able to see the next due date regardless of what day of the week it is.
I have a bill which is paid every other Tuesday. I would like to know the next due date without having to enter +14 for every due date in the future. In other words, it is preferable to be able to open the spreadsheet and automatically see the next due date, not use autofill to repeatedly add +14 to a previous date which would limit the # of future due dates that could be calculated.
I have a bill which is paid on the last business day of each month, not the last Friday of each month. I would need excel to return a value for the last day of the month which = Monday-Friday, regardless of what day of the week it may be as long as it isn't Saturday or Sunday(holiday exclusion would be nice but not required).
View 14 Replies
View Related
May 12, 2009
I'm trying to come up with a formula that calculates a year to date target, taking into consideration the actual working days and the target for those days.
So for instance today is the 12th of May and my year to date percentage is 40% but it should be 100%. How do i create a formula to calculate that?
View 9 Replies
View Related
Feb 1, 2012
I need to automatically calculate the number of months a deal runs through 2012 dependant on the start and end date.
I have attached a basic spreadsheet. Column C shows the results I would like the formula to calculate.
View 1 Replies
View Related
Nov 9, 2006
How do I calculate/display the financial year for a given date? For instance if my source cell has 25/11/2006 how do I get the result cell to show 2006/07 (or 06/07, 2006/2007, etc).
I've tried a Text() function but the best 'format_text' I could come up with was "yyyy/yyyy+1", which not only doesn't work, but would be wrong if the source date was in the second half of the financial year.
View 5 Replies
View Related
Feb 13, 2014
From a chart in Excel I need to automatically calculate what the annual percentage growth rate is of a trend line. How to automate this in Excel? I've attached a sample so you can see what I'm trying to accomplish.
View 6 Replies
View Related
Jun 19, 2014
So yesterday I created a thread [URL] ..... that would clear a specific content if a date (or rather a day) matched the criteria.
Today I'm continuing with that document and need to sum the columns if the date in a row is the correct month and year.
Ex. Row 1 contains the date "yyyy-mm-dd" and row 2-5 contains empty cells or the value x. The x values are all random placed.
So, I want to sum all the "x" for February 2014.
I'd rather use a formula here than a macro/VBA-code but anything will do. I have tried myself with =sumifs and =sumproduct but with no success.
See attached file for example and for my =sumproduct formula.
Excelforumexample1.xlsx
View 5 Replies
View Related
Dec 6, 2009
I want to calculate Year To Data in B1 based on some data in C1 to N1. The monthnumber is located in cell A1.
There is of course several ways to do this, but is there a simple and easy formula one can use.
View 3 Replies
View Related
Dec 13, 2012
The formula that I currently have in E2, is giving me the number of years served by an employee. Is there another formula that can give me the number of years each employee has served? This is the formula that I have in E2
[Code] .....
Attached File : VACATION DAYS ACCURED.xls
View 9 Replies
View Related
Oct 16, 2008
i have a dataset which is like a timeseries with 3 columns
first is year second month third values
so lets say like this
year month day value
2004 12 29 100
2004 12 30 200
2004 12 31 300
2005 01 01 50
2005 01 02 60
.....
I need to calculate the quartiles with the condition of the year or the month or even both... I suppose i need something like an array but i couldnt make it work untill now.
View 2 Replies
View Related
Jul 27, 2013
I need to calculate the number of quarters difference between two quarter and year values. So I have The following:
Begin Quarter
Begin Year
End Quarter
End Year
3
2005
2
2011
4
2008
2
2013
So I need calculate how many quarters have passed since the begin quarter and the end quarter.
View 1 Replies
View Related
May 19, 2014
I am trying to calculate the number of months in a specific year between two dates.
For example.
Start date 01/06/2012
End Date 01/02/2013
Number of months in 2012 = 6
Number of months in 2013 = 2
How can I write a formula to give me the answer of 6 & 2 from the start and finish dates?
View 10 Replies
View Related
Feb 1, 2013
Example.xlsI have a list of people with 10 years of salary history for each (in ten consecutive columns on the spreadsheet). I need to calculate in excel the highest 5 consecutive year average salary for each (if they have less than 5 years with salary, then it should just average the years the do have). Some people have breaks in service (for five years, there is a blank in that entry). These years should be ignored and skipped in calculating the avergaes.
View 3 Replies
View Related
Nov 7, 2009
I am needing to create a formula that will calculate the number of paychecks and the dates for the calendar year. There is some employees that are paid bi-weekly and some bi-monthly.
For Example:
A1-Employee, A2-Hire Date, A3-Pay Frequency, A4-Number of Paychecks
Based on the hire date and pay frequency it will calculate the number of paychecks in A4.
Is this something that can be calculate with excel or would it need to be done manually.
View 9 Replies
View Related
May 2, 2014
I used three different dates. In which the outcomes were available. The first three sheets.
Is there a possiblity to use excel to calculate a future outcome of the next month(Sheet 4). The figures are in a way linear, because the previous months are in it.
So it's possible for the future outcome to go up or stay the same. It can't be less then previous months.
See attachments.
It's about a holiday (combinations) of arrangements. So it'll be influenced by the date (because of holliday plannings), finance etc etc. But the last factors/variables we will use and test in SPSS and other programs.
The question is more: Is there a program/formula in excel which will predict the outcome in the last sheet with maybe a factor of outliners (this coincendence of a better salary in some parts/or the date that people will book a holiday). And how the formula would be formulated in the last sheet?
View 2 Replies
View Related
Nov 21, 2008
I have revenue sheet that spans 12 months kind of looks like this:
0 | 240 | 261 | 0 |317 | 0 |0 | 0 | 0 | 0 | 0 | 155
So that is 1 row, my problem is I have about 8 thousand of these, and what I'm looking for is trends in lapsed accounts (accounts with no spend, the "0's"). As you can see I have 6 zero's in a row, which means this customer was lapsed for 6 months.
I want to run something that will find the average of zero's in a row for all 8,000 rows. For example one customer has 6 zero's in a row the other one has 3 zero's in a row so the average would be 4.5. I only care about zero's in a row.
View 3 Replies
View Related
Oct 19, 2009
I am trying to show some trends, from data taken on a monthly basis. The attached spreadsheet is an example of what I have:
The first two columns show data for Month1. The next two columns show data for the last 2 months (Month1&2). I was thinking of using a line graph, and showing Month1 and Month1&2 on the X axis. At time Month1, I'd have 4 different data points, for hw, sw, fpga and chip. At time Month1&2, I'd show the cumulative data for those same 4 categories. Over a period of time, we could see whether one area or another (hw, sw) keeps getting worse. How can I do this via pivot table?
View 3 Replies
View Related