Age Difference, 45, 50, 55
Mar 28, 2008I am trying to work out to get the following result.
Using Cell CB5 as a Date Of Birth, I want to be able to have cell CA5 return "Yes: if the following is either met..
If under 45, Cell
I am trying to work out to get the following result.
Using Cell CB5 as a Date Of Birth, I want to be able to have cell CA5 return "Yes: if the following is either met..
If under 45, Cell
I read from one of the posts here and see sum(a1/a2). I tried it on excel and see no difference between sum(a1/a2) and (a1/a2). if there is a difference, could you please highlight to me? If not, why put 'sum'?
View 2 Replies View RelatedI have two timestamp fields from which I need to extract the difference.
[Code] ..........
The formula is B2-A2 and the Difference field is a custom field using h:m:s.
As you can see, the difference is correct, except in military time. The correct answer should be 5:41:33.
I'm currently doing some research for the World Cup (Soccer) and I want to create a formula that finds the largest gap between two dates. Basically, I'm copy and pasting player data into an Excel template I've created and one of the columns in each player's data is a list of dates when he has played over the last 12 months. I want to create a formula that shows me the length (in days) of his longest break from playing competitive football AFTER Oct 1st 2013.
View 5 Replies View RelatedI'm trying to automate the attached schedule so that the formulas in H stop increasing once the amount in column J equals zero. So far everything I've tried either gives me a circular reference error or ends up giving me the same result as if I depreciated the asset an additional month.
View 3 Replies View RelatedI'm trying to figure out a formula that tells me how many reports are overdue.
A report is due every six months. There may be times when more than one report got missed.
Right now, I have the Y6 recognizing that a report is late... period.
=IF(V6>(TODAY()),0,1)
So, what I need is:
If the Time Difference between V6 and T6 is greater than 6 months, divide the difference by 6 mos and return the answer to cell Y6 (rounded down with no decimals).
See attachment.
Could someone explain to me what the difference is between these the two examples given in this worksheet?
View 11 Replies View Relatedi m try to use the lookup function but not sure which one i want
the cell to look up is e1
the cells it could be in are a1:a20
the answer will be next to the answer in b1:20
I learnt a new formula from this forum which -> if(n=(a1),a1,"S"). I use another formula -> if(iserror=(a1),a1,"S"). It comes out the same result.
May i know what is the main difference between these two formulae?
what's the difference between cell a1 and b1?. see attachment.
View 3 Replies View RelatedI need a formula that gives me the difference between two different times
EG. 11:14:56 and 16:14:26, i want to find the difference/time between the two. Hope i'm making sense...
Also, does the time have to be in a time format on excel for the formula to work?
I have two 2 Dimensional String Arrays with data. I need to find a way to get the difference between these two Arrays. I am new to VBA, I don't know how to deal with these. I certainly feel that there is some efficient function for doing this. or Is the naive two for lop concept is the only way to go?
View 2 Replies View RelatedFor Eg: i have 1000 students...i entered marks to all the students now i
need to fine the total students who have score >50 and <60 in each subject..
I would really appreciate your help
I have a client who weants to work out the total number of hours (not minutes) between two times. I have managed to do that with no problem using the formula =IF(A2>B2,B2-A2+1,A2+B2). However, this is where the problem starts.
They want to multiply the number of hours with the number of men on the job, but the answer is wrong, and I cannot understand why. I have checked the formnat of the cell and changed it to see if that is the problem, but without success.
I have copied it below
Time inTime outNo hoursNo of MenTotal Man Hours
12:0003:001526
14:0018:00474
I have a spreadsheet that records a bunch of golfer's scores for a round of golf.
I have a range G10:X10 that shows Par for each of the 18 holes.
I have many rows below that, G11:X11 is one example, that are individual golfer's scores.
I'd like to add a column, say in column AC, that would count the number of birdies each golfer had in the round.
Thus, I was thinking something like this in AC11:
=SUMIF(G11:X11 - G10:X10,"=-1").
Of course that doesn't work. I need some way of creating a range of 18 differences for the first parameter of the SUMIF function. I know that I can write a VBA macro for it or add another row for each golfer with the difference (but that would double the size of the spreadsheet). Is there an elegant way to do this with a worksheet function given just the scores and par for all 18 holes.
I'm trying to calculate the number of hours an agent works between the hours of 7AM and 7PM. Column B has their START time, Column C has their END time, Column D includes their LUNCH time, and Column E calculates the total number of hours worked (=IFERROR(SUM(C248-B248)-D248,"-").
I've created 3 additional columns (Column F = number of hours before 7:00, Column G = number of hours after 19:00, and Column H = Total excluded hours which represents the total number of hours an agent worked before 7AM or after 7PM.
I've attemped several different formulas, but they all give me '#########' in one cell or another.
Other formulas used:
=$F$243-B248
=ABS(F243-B249)
=-IF(B250>$F$243,-1,1)*MINUTE(IF(B250>$F$243,B250-$F$243,$F$243-B250))
My format is 13:30:55
I'd like for the result to be either a dash "-" or "0:00:00" if an agent's start time is after 7AM or end time is before 7PM.
I have two funtions which I am trying to put in ThisWorkbook.
Private Sub Workbook_Open and Private Sub 2. The Workbook_Open calls on Sub 2.
Now, with both of these in ThisWorkbook, I get the error that Sub 2 macro cannot be found.
And if I put the Sub 2 in a module, everything works.
Now, I am trying to put both in ThisWorkbook instead of only one.
I have a form for weather warnings that has time of issue in cell B19, and the time of occurrence in cell D19, and the times are in a 24hr military style time format (1600, or 1735, etc).
I need cell G19 to tell me the time difference between the two in hours and minutes, but here's the catch - if cell B19 has an earlier time, I need it to display the difference as a positive number, indicating that I issued the warning before the event actually occurred. If D19 is earlier, I need it to display in cell G19 as a negative number, indicating that the event occurred before I had a chance to issue the warning.
I want to take two dates, a start date and an end date and get the number of days elapsed.
I also want to enter the dates quickly, as in 070808 for 07/08/08 (not having to enter the dashes). I have tried 00/00/00 and ##"/"##"/"## in the cells format, number, custom.
Using that format, entering 070808 in A1, and 070809 for A2 and finally in A3 =DATEDIF(A4,B4,"d") to get the difference in days. What I get is 1 day instead of 365 days.
So it's thinking 70809 - 70808 = 1.
How do I get it to give me 365 days? What format can I use in the date cells?
In the below table, I was trying to get the difference in ColB corresponding to Names in ColA..
ColA ColB ColC ABC 28 1 MNO 12 1 ABC 27 1 ABC 26 2 ABC 24 1 ABC 23
XYZ 16 3 MNO 11 1 MNO 10 1 MNO 9 -1 MNO 10
XYZ 13
?
I have the following dates in column A
22.01.09
23.01.09
30.01.09
And I have the following in column B
Closed 28.01.09
Closed 24.01.09
Closed 02.02.09
I need to calculate the difference of days between column A and column B.
Is there a formula that I could use?
Pivot Table where I am comparing prices with previous quarters using the % Difference from and using Quarter/previous as the base.
The function works fine but I can't get any values on Q1 to compare with Q4 of the previous years. All Q1 for every years show no % difference.
I'm trying to find the difference two cells within a row to another row.
I'm using time values i.e 17:07 and 14:53 and in the third cell I'd like to get a result that shows me a plus/minus of the differences.
I know by looking what math to apply to that particular cell. Is there a way to do a formula to get the results no matter if they are plus or minus. without having to change the formula back and for on if i know it'll be increasing or decreasing?
I have attached the excel files which contains the type of format I use.
I need to calculate the received when..
search by client name using "*"&Cell reference&"*" then match the expiration date then transaction type. if all conditions are true, then calculate the difference between i.e. Subtract expiration date - recieived date..
Assuming the first date is in A1, and the second date is in B1, in standard dd/mm/yyyy form, my current formula is =B1-A1-1.The '-1' is due to the fact that if a patient stays for 10 days, they will only spend 9 nights in the hospital. (Bed Nights).The problem is, the formula is stretched in the total column from, say C1 to C50. Each one of these has, or will have, a number of days in it.However, due to having th '-1' in the formula, empty rows that are yet to have a patients details inputted have a -1 where I need a 0. The only reason I need to change this is because I need a running total of the bed nights of all the patients.I think the formula I'm after is something along the lines of; 'If cell B2 is empty, input 0. If B2 has a date, use formula 'B2-A2'
View 9 Replies View RelatedCan use an icon set conditional format to solve the following -
if I have an order figure in A1 and a received figure in A2 I want to show a tick in A3 if the received figure is within 10% either side of the order figure.
I am trying to calculate the median difference between two dates but I am running into trouble. Here is sample data:
A B
1/1/13 2/1/13
1/2/13 2/5/13
1/4/13 1/25/13
1/7/13
1/10/13 1/18/13
I want to be able to type notes into column B such as "closed" or simply "X" (so i can keep track):
A B
1/1/13 2/1/13
1/2/13 2/5/13
1/4/13 1/25/13
1/7/13 X
1/10/13 1/18/13
I tried this:
in column c, use "datedif" function then calculate median from column C values.
problem: if left blank, value in row 4 comes up as #NUM!. if text is entered, value comes up as #VALUE!
I also tried this array: =median(abs(B5:B1-A5:A1))
Should i be trying the medianif function?
How to find the difference between two time stamps giving the result as a time decimal. I.E. 16:45 - 12:00 = 4.75 hrs
View 4 Replies View RelatedI want to compare and output the differences in text in 2 cells.
ie. Cell A1 has a long string of text as does Cell A2 but slightly different, I want to see exactly what the differences are.
Is there a formula I can use?
I created a Pivot Table whose columns are different years (2007, 2008). I would like to show the growth (or not) of the percentages from the years. For example
Dept. 2007 2008 Growth
Bio 97% 56% -41%