Formula With Text - Calculating Intervals
Mar 25, 201430 days
03/24/14
I am trying to add 30 days to the above date . I want to leave the days because I'm calculating intervals.How can I do this?
30 days
03/24/14
I am trying to add 30 days to the above date . I want to leave the days because I'm calculating intervals.How can I do this?
B C D
ON 135
NY 122
PA 117
WV 50
VA 126
NC 25
VA 35
MD 110
My issue: If ON I need to times (x) the miles (column C) by .0285 to equal D If NY I need to times (x) the miles (column C) by .0125 to equal D
In the last column of this workbook, you'll see a cell that says "=D2". Whenever I type a formula into this worksheet, it doesn't calculate.
If I select that cell and do text to columns (making sure to remove any separations if it tries to split it), then the formula calculates.
I want to set something up so the following text, is repeated at set intervals down the sheet, a number of times defined by an integer input box at the top of the sheet. Next to each new text array, I'd like to define a dynamic name range, calling each an increment above the one before. So:
Question Title
Question no.
Assessment Target
Level
No. of Marks
With name ranges being, (for e.g.) P1QT, P2QT, P3QT. For three sets of papers for the "Question Title" range.
I use the following CSA formula to give me the total highest intervals of zeros in a range. I understand how most of it works apart from one thing and that's how the data array and bins array give me the result.
=MAX(FREQUENCY(IF(H2:Y2=0,COLUMN(H2:Y2)),IF(H2:Y2>0,COLUMN(H2:Y2))))
So this is what I understand:
H2:Y2=0 - Returns TRUE/FALSE in the array based on range having 0 or a value other than that - ie{TRUE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE}
COLUMN(H2:Y2) - Returns the column number {8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}
IF(H2:Y2=0,COLUMN(H2:Y2)) -Returns the column number for every TRUE value
IF(H2:Y2>0,COLUMN(H2:Y2)) - This does the same as the above steps but returns column numbers for every cell that contains a value greater than 0
MAX - Returns the biggest number within the array ie =MAX({3;0;0;0;0;0;9}) would return 9
What I need to know is how the FREQUENCY formula gives {3;0;0;0;0;0;9}
I have two columns. The first column contains cells with multiple date values in text format (YYYY/MM/DD) in each cell. The other I was planning to be Calculated cells that I thought would compare the string of text (possibly converted to numbers) and determine which is the next in sequence after today's date. As there may be numbers in the past I cannot just use the first item.
The cell of text looks like this:2009-03-27 00:00:00
2009-04-10 00:00:00
2009-04-29 00:00:00
2009-05-13 00:00:00
2009-05-27 00:00:00
The calculated cell (based on today's date) should output:2009-04-10 00:00:00
Problem: I've been unable to figure out a calculation that will accomplish this. The idea I had was to examine the text in pieces and compare them numerically to "today" (as a number instead of a date).
I'm not very adept with Excel functions yet. I've started with this: "=(MID(A2,2,10))" but all it does is return the first item. I also tried using a Replace function to get rid of the dashes and also one that would return the dates as a decimal. But while I can get the numbers to change format, I don't know how to do the compare...
I work in a School and need to create a points awards system based on GCSE Grades.
I have predicted and actual grades for each pupil in columns. I need to figure out how I can calculate an award point for this. i.e. if the predicted grade is an A and the Pupil gets a C this would be a minus 1 point score. I need to do this for all subjects and add a total.
I have attached a spreadsheet with a demonstration of what I require. I have created formulas to do what I require however I see it as terrible programming but I cannot figure out another more efficient way.
I'm trying to get excel to calculate the average time spent on appointments by officers in a small team. Each of them sees people each day, and as we're very busy I'm eager to get the time spent on each appointment down, by giving them a target of the number of people to see each day. At the moment we gather some stats on this, which show how many people are being seen by each officer.
The attached example sheet shows for one week a list of columns with officer's initials at the top, and says how many people were seen by each person each day during that week and then a how many people overall for the week.
I'd like to be able to generate statistics on the amount of time each officer has spent on average with customers, and base this on the fact that people have 360 minutes per day (they do 6 hours of appointments and another hour for admin) to see people.
I think the spreadsheet attached gives a good idea of the system and what I want to do.
The idea is to have our technicians complete a timesheet showing how their time is being allocated between various tasks. I have created the spreadsheet and each row has a drop-down list with 6 options (Project Management, Audit, Office, etc) then a start and finish time which is calculated. I want to automate it so each each task option (Project Management, Audit, etc.) is calculated. There will be multiple entries for each task option over a weekly period. I tried VLOOKUP, but it does not work well with the text entries. I have attached a copy of the spreadsheet to better illustrate what I am trying to explain.
View 4 Replies View RelatedI've made a spreadsheet that allows the user too enter their clock in and out times in a day for a week, it allows you too fill in two weeks worth (because we get paid fortnightly). It automatically calculates each week's pay once it has been filled in, all I need is a formula too calculate how much they would be paid after tax. I can work how much they will be paid for the 2 weeks befor tax, but I just need a formula too deduct tax from this.
View 9 Replies View Relatedi need to creat a 12 month calculation of accounts
month 1 month 2 based on a precentage so i need to calulate the cell 1 pluse a precentage equals cell 2 and then cell 1 plus 2 and the precentage equils that
I'm creating a restaurant rota spreadsheet and I need to calculate the hours for each waiter, which is easy enough. But I've got to include stand-by shifts and cover shifts into the rota for the staff and I'd like the formula to ignore the "standby" text, etc in its calculations. I know you can use the =IF(... function, but that only works with one value. As well, the standby shifts will change from shift to shift and week to week, so I need one formula that might encompass all these needs... if there is one!!
An example of my rota for you to see:
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
Total hours for week START FINISH START FINISH START FINISH START FINISH START FINISH START FINISH START FINISH
10:00 17:00
10:00 17:00 12:00 16:00
Lunch Hrs/Wk 18:00 #VALUE! 19:00 24:00
standby standby 19:00 24:00 standby standby o2 Cover o2 Cover
Dinner Hrs/Wk #VALUE!
I am trying to create a formula that calculates multiple commissions based on profit margin. So here is what I'm looking to. If the profit margin is between 50 and 70% than there is an additional 2% commission, if it's between 70.01-100% profit margin, than it's an additional 5% here is the equation I have=IF(OR(E2>50,E2<70),D2*2%,(IF(OR(E2>70.01,E2<100),D2*5%)))but it's still calculating at the 2% even thought it's an 86% margin.
View 4 Replies View RelatedCurrently I am using the following formula ....
View 9 Replies View Relatedcalculating a cell. It has to reference a chart, so it has to validate three answers before it knows what to input.
example CHART ...
I was trying to figure out how you could caluculate a project end date, based on a start date (dd,mmm,yyyy) and a project duration of lets say 5 work day and the work week is five days long (monday to friday). If i have a leave on the week days like tuesday is bank holiday then it should give be the date excluding that tuesday and wednesday leave and caluculate 5 working days and shoule give the project end date.
Example date: 5-Oct-09
Project end date:09-Oct-09
If i have bank leave on 06-Oct-09 means.
My project end date:12-Oct-09
Note:Bank holidays are fixed date example(every year bank holiday 06-oct-09,02-Dec-09,25-Dec-09)
Please dont need a macro.
How do I return the data from a single cell in a named range. If I type
=INDIRECT("B12")
into cell "B10". It will return data once, but as cell "B12" changes the value in "B10" does not update. The "B12" cell is part of a named range called "Datainfo".
I have set up a spreadsheet to calculate time as followed:
A1 - Start Time
B1 - Finish Time
A2 - Hours Worked:
=IF(B1<A1,B1+1,B1)-A1
C1 - Start Time
B1 - Finish Time
C2 - Hours Worked:
=IF(D1<C1,D1+1,D1)-C1
and so on.........
I have 3 basic job categories... each of those categories start overtime at a different hour.
So, if employee A is a dock worker, he starts overtime at 25 hours. If employee A is an office worker, he starts overtime at 40 hours and if he is a driver, he starts overtime at 55 hours. So based on that info, I'm wanting my spreadsheet to figure out how many hours each employee has left for the week.
The 2nd part question is how many hours per day is left for the week. Rather than making a separate tab for each day of the week, I'd rather the spreadsheet know what day of the week it is and divide accordingly.
In cell BQ65, I have 7:00 pm. Next to that, in cell BR65, I have 6:00 am. This should total 11.00 hours, yet with the formula I have in cell BS65, the result is showing up as 13.00 hours, so I'm ending up with two extra hours, which is not good.
Here's the formula I have in cell BS65:
=IF(ABS((((BR65-BQ65)*1440)/60))=0,"",ABS(((BR65-BQ65)*1440)/60))
Example: In cells A1:A10 random number between 0 & say 20, need to sum ABOVE 8 = (calculating overtime hours)
E.g.
A1 = 0
A2 = 8
A3 = 8
A4 = 10 (giving 2)
A5 = 12 (giving 4)
A6 = 5
A7 = 13.5 (giving 5.5)
A8 = 8
A9 = 0
A10 = 16 (giving 8)
A11 = (Total overtime above 8 hours) 2+4+5.5+8 = 19.5
Need to be able to increase rows and drag across.
What is the formula for calculating duration in min/hrs between start time and end time without mentioning any date, and if the end time stretches to next day i.e beyond 12.00 midnight. And what is the logic used in the formula.
View 1 Replies View RelatedI am trying to work out an excel workbook for calculating family recipes. I have gotten most of it figured out but am having a problem with one thing. When the serving size of an item is 8 oz & the recipe calls for 14.5 oz the only way I can get it to work properly is to enter 1.75 in the serving size.
But I would like (actually need) to be able to enter the 14.5 and have it calculate the calories correctly - since sometimes the amount to be added to the recipe may be 15 ounces and the serving size is 8 ounces etc....
I use Excel 2007 , I created Interest calculator , on Daily basis , to caluculate interest , compounded quarterly.
But I want to make it compact , as d one I created is long enough.
A3 = Principal Amount
B3 = Date of Investment
C3 = Interest as on Date
D3 = Number of Days , amount Invested {comes out of formula set}
E3 = Rate of Interest
Now in F3 I want the Interest amount , compunded quarterly.
Some times NUMBER OF INVESTED CAN BE LESS THAN 90 DAYS TOO...then what ?
I am trying to calculate the average Talk Time into Minutes and Seconds. Every time I have tried, I get the wrong average.
For example, if I have a total of 53 calls and the total talk time is 4:19:05, what would the average talk per call be? I tried doing everything in seconds (this would give me a total of 15545 seconds) but the total I was getting is 4:89.
What would the formula be to get the correct average time?
I am trying to calculate when data is out of hours based on it being before 08:00 and after 16:30, plus also weekends.
I have used the following formula to calculate the day of the week.
=TEXT(WEEKDAY(AE2), "dddd")
I have this in a separate column.
This is how my sheet looks.
Actual Start TimeOut of HoursActual Start DateDay of Week
14:1525/12/2010Saturday11:0028/12/2010Tuesday22:3028/12/2010Tuesday
13:3029/12/2010Wednesday09:4030/12/2010Thursday13:0002/01/2011Sunday
09:3806/01/2011Thursday08:0507/01/2011Friday12:0009/01/2011Sunday
11:1010/01/2011Monday08:1512/01/2011Wednesday10:1113/01/2011Thursday
11:1514/01/2011Friday15:2815/01/2011Saturday10:4016/01/2011Sunday
16:3028/12/2010Tuesday13:0220/01/2011Thursday13:0624/01/2011Monday
15:0827/01/2011Thursday17:4029/01/2011Saturday
The out of hours column is where I figure I need an IF statement but not sure which way to approach it best.
Cell A1 = Employee
Cell B1 = Salary
Cell C1 = Years Worked
Cell D1 = 401k contributions
Cell A2 = 3%
Is there a formula I can use in Cell D1 (401k contributions) to multiply B1 (salary) by A2 (3%) if C1 (years worked) is greater than "1" and for it to show a "0" if C1 (years worked) is "0"?
If there is a formula that will work for this, it gives me the opportunity to adjust the percentage amount in cell A2 to see how contributions would differ.
I'd like a calculation that gives me a total of 7.50 hours instead of 8:00 hours (I'm hoping to add up the time worked into a meaningful hour:minute format)
View 2 Replies View RelatedI've got a list of marks (col T), and I want to create a new column subtracting 5 from each value.
Obviously, the formula in this new column is
=T1-5
=T2-5
etc...
But I enter that formula and excel doesn't do any calculating, it just displays "T1-5"
It even seems to recognize that it's a formula, highlighting T1 in the formula and the T1 cell itself, but no resulting value...
I've tried changing the format of the cells (in both columns) to Number and back to General again, but without success.
I've also tried copying and pasting (values only) the whole T column to another column, and tried there, also without any success.
I need to create a formula that calculates the number of days a person has worked within a quarter, if they have also left the organisation within the same quarter.
For example, I have someone who left on 26/08/08. I need to establish how many working days this person actually worked within the quarter (01/07/08 - 30/09/08). I need to do this for a large number of staff, so would appreciate it if anybody can let me know whether there is a formula that would calculate this.