Consecutive The Dates
Aug 10, 2006
I received the answer on assigning consecutive dates but what can be done to
the formula
=INT($A$1+INT(ROW()-1)/30)
TO:
1. Not include weekends
2. Only assign the date to a certain person's name if there is multiple reps
on the spreadsheet.
View 14 Replies
ADVERTISEMENT
Mar 30, 2007
how to achieve the following: I have a list of names and individual dates and what I would like to do is convert to a 'names' column, a 'to' column and a 'from' column where the the 'to' and 'from' columns are the dates that are consecutive weekdays (carrying over each weekend as well)?
View 9 Replies
View Related
Jul 25, 2009
I am a remodeling contractor trying to monitor trips my employees are making to the lumberyard. I am able to export to excel from our accounting program a column of dates that invoices are made and another column that tells me whether trips were made before 8:30, between 8:30 and 3:30, after 3:30, or whether materials were delivered involving no trip. So I can count "time of day" trips. I also want to know if multiple trips were made in a single day, or if trips were made 2, 3, 4, 5, etc. days in a row.
Column 1 Column 2
Monday, July 6 2009 Before 8:30
Monday, July 6 2009 Between 8:30 and 3:30
Tuesday, July 7 2009 Between 8:30 and 3:30
Wednesday, July 8 2009 Before 8:30
Friday, July 10 2009 After 3:30
Monday, July 13 2009 Before 8:30
Wednesday, July 15, 2009 Before 8:30
In this example, I have 2 trips made on a single day; 1 instance of trips made 3 days in a row; 1 instance of trips made 2 days in a row (Friday, and then again on Monday since we don't work weekends) and 1 instance of 1 trip made on an isolated day. Additionally, we have 4 trips made before 8:30; 2 trips between 8:30 and 3:30 and 1 trip made after 3:30. Columns for a single job could range to 30 or 40 trips or more, and we have 6-12 jobs running at any one time, so I could be looking at data for all of those jobs once a month if I can figure out how to make it easy to do. I have figured out how to count up the time of day trips (but included the example here for a fuller picture of what I'm trying to do) but cannot figure out how to count the number of 2,3,4,5 etc.-day-in-a-row trips that are being made.
View 9 Replies
View Related
Oct 12, 2006
how would you read consuctive dates as one
example
person is sick on 10/9/06 and on 10/10/06 . i want that to be read as one sick. now if the person is sick on 10/09/06 and then sick on 10/11/06 that would be read as 2 sicks.
what i need is the consective dates to read then one to read the dates that are not consectutive . giving a total for each one.
View 4 Replies
View Related
Jul 8, 2006
I filled sheet1 with the following
Set SourceRange = Worksheets("Sheet1"). Range("A8:A73")
Set fillRange = Worksheets("Sheet1").Range("A6:A64000")
SourceRange.AutoFill Destination:=fillRange
This filled cells with 7:00 AM, 7:15, 7:30.....11:00 PM all the way down to row 64000,in colum A, 65 rows at a time.
After this, I selected rows 8 to 73 and named it Friday_July_7.
How do I name each chunck of 65 rows based on the prior day, the first range idealy named from a variable assigned to the Now method and incremented with a loop?...or something
I also set a "TODAY" button and a range "SHOWDAY", in the (frozen) first 7 rows of sheet1 to show the current day with the following code.
Private Sub TODAYBUTTON_Click()
Worksheets("Sheet1").Activate
ActiveWindow.ScrollRow = 8
Range("SHOWDAY").Select
Range("SHOWDAY").ClearContents
Range("SHOWDAY").Value = Now
End Sub
In a perfect world, opening the workbook would activate a procedure that would display the current day in "SHOWDAY" and also scroll to the cooresponding range. clicking the today button would do the same. From here I could refrence each days worth of data by its range name.
View 4 Replies
View Related
Jan 12, 2014
I am trying to do a column full of Month,Year dates in consecutive order (i.e. Jan 14, Feb 14, Mar 14, Apr 14, May 14.)
View 1 Replies
View Related
Jan 8, 2010
I'm trying to do is to get Excel to look at the dates and, if they are consecutive (Fri - Mon inclusive is also counted as consecutive) I need Excel to tell me that this is one occasion. It then needs to count each seperate occasion.
I've attached an example with each different occasion colour coded. In the example there a five occasions. Thus the Bradford Factor would be 187.5 (5*5*7.5).
View 2 Replies
View Related
Jun 2, 2014
I couldn't figure out how to change this function to allow for weekends.
Function to count consecutive dates as one occasion
=--((NETWORKDAYS(SUM(c1)*(B1=B2),c2)-1)>1)
Column A Column B Column C Column D ( I would then use this column in a pivot table to calculate)
pat name pat id date of service # Admissions
[code]....
View 4 Replies
View Related
Feb 26, 2013
I am working on two worksheets. On my first worksheet I have one column with consecutive numbering starting from Cell 8.
A8 = 1
A9 = 2
A10 = 3
A11 = 4
A12 = 5
On my second worksheet I want to link to the values in the first worksheet but not in a consecutive manner. Each number will have an interval of 15 cells. As shown below:
D15 = 'link on Sheet1!A8'
D30 = 'link on Sheet1!A9'
D45 = 'link on Sheet1!A10'
D60 = 'link on Sheet1!A11'
D75 = 'link on Sheet1!A12'
View 6 Replies
View Related
Mar 18, 2008
I need to count the maximum amount of consecutive crosses that appear in a list. For instance:
x
x
x
x
x
x
x
x
x
the result would be 4, because the highest amount of consecutive crosses in this list is 4 times.
Would anyone mind providing me with a formula for this, please? The list is from C5:C52.
View 10 Replies
View Related
Jul 22, 2008
I have 3 columns, in column 1 and 2 there will be numbers and I want automatically to get in column 3 the range of numbers between Column 1 and Column 2
Column 1 - 100
Column 2 - 500
Column 3 - 100, 101, 102, ..., 500
View 9 Replies
View Related
Jun 24, 2007
I have a daily column of numbers of approx 600 rows and the number is either a 0 or 1 and the 0 or 1 are in a random order in each row like:
1
1
1
0
1
0
0
0
1
0
0
1
I would like to find the min number of rows with 1, the max number of rows with 1, the totals of consecutive rows with 1 ie 3 consecutive rows of 1 appear 4 times, 4 consecutive rows appear 6 times etc and the average of the consecutive rows with 1.
View 9 Replies
View Related
Apr 17, 2014
i have a list of numbers in a column, and i have sorted it smallest to largest, now i wish to identify which ones are consecutive in the column.
5184730512
5184730547
5184730763
5184730766
5184730767
5184730836
5184731135
5184731136
5184731149
5184731212
5184731222
5184731389
View 4 Replies
View Related
Feb 4, 2014
See attachment : totals.xlsx
I'm trying to get a total sum of row 3 only when there is a "1" in each days of the week in the corresponding decimal point in row 2.
Looking at the entire Row 3, cell J3 and R3 have a "1" in consecutive cells so it should be counted as one value (0.25). The same is with cell S3 (0.50), AA3 (0.50) and AI3(0.50) so it should only be counted as one value (0.50). The Consecutive Occurrences cell AP3, should sum up all of the consecutive values, in this case it would be 0.75.
Please note, the colors will not be there, they are only in this example to show the consecutive values.
View 13 Replies
View Related
Jun 13, 2008
I have Excel 2000.
If I have columns A B C D E how do I copy A and C only (at the same time) and paste them into a new workbook? I get a popup saying it's not possible.
I don't want to copy one column at a time in case I make a mistake and item 1 in column A no longer lines up with item 1 in column C (I'll be performing this at least daily and the results will go on a website)
View 10 Replies
View Related
Sep 18, 2013
Is there a formula that can identify all the consecutive intervals that have value below 90%.
View 1 Replies
View Related
Jan 24, 2014
I have source data arranged in columns A and B, and in F5 and F6 respectively I'd like to create a formula to return the Null value from column B that's associated with AAA, BBB etc. An example of the results I expect are in F5 and F6.
View 3 Replies
View Related
Sep 28, 2007
I have a form that I use often, but numbering is slow because I go in and number the form, print, go back and put in next number, print, etc. Is there a macro or formula that will automatically update the consecutive numbers when I enter or print?
View 13 Replies
View Related
Apr 2, 2008
I have to calculate bonus payments for people working O/S. I have a 5 year calendar in month blocks (60 months/columns). In each month there is a percentage 'time O/S' figure.
If an employee is O/S for 3 consecutive months they get bonus 'A', 6 consective months bonus 'B', etc. How can I evaluate the 60 columns, returning the number of times 100% occurs in 3 consecutive months/columns. I have found examples of similar solutions but they will return a value of 3 if there are 5 consecutive months of 100%...
ie. 100 100 100 100 100
= 100 100 100 *** ***
& *** 100 100 100 ***
& *** *** 100 100 100
= 3
but I need it to equal 1
View 14 Replies
View Related
Dec 28, 2009
I'm looking for a VBA code or formula that will count consecutive values in a column.
Please look at my example sheet.
View 8 Replies
View Related
Feb 4, 2010
I'm trying to use this formula to count consecutive values but somehow it doesn't work properly.
Does anyone see what's going wrong here or is there a better formula to this?
View 11 Replies
View Related
Oct 25, 2007
Basically I want to calculate each team's home winning/drawing/losing streak. Here is a sample of the table (I've simplified it a bit and added fictional results):
(See Attached)
So, I want a formula that can tell me a given team's (e.g. Arsenal's) latest result, and how many previous consecutive results of that kind there have been. For example, for Arsenal, the result would be something like "W2" (i.e. Won the last two games). At the moment, the best I can do is to get the TOTAL NUMBER of a given team's latest result using this formula:
=LOOKUP("ARS",B:B,C:C)&SUMPRODUCT(--(B1:B13="ARS")*(C1:C13=LOOKUP("ARS",B:B,C:C)))
(Which also returns "W2").
View 4 Replies
View Related
Sep 22, 2011
I'm trying to come up with an array formula to count the consecutive declines or increases from the last value in a column, going from bottom to top. The real world application is a list of daily stock prices down a column, and counting from the most recent day, how many consecutive days the price declined or increased.
I got some hints in the following post but can't get it evaluate the resulting logical array in reverse order (which is needed since column addresses are evaluated top to bottom, not bottom to top).
Count consecutive increase in values
Example for consecutive increases leading to last value
49
50
51
52
53
49
55
56
I need a formula to return 2, the number of increases from 49 to 56.
View 5 Replies
View Related
Nov 26, 2012
I have excel sheets with 71936 rows of data collected ~30 times a second for 40 minutes during and driving simulator drive (for 51 participants! all in separate worksheets). The output I get from the simulator includes speed, lane position etc. I've been averaging the data out into minute blocks for most variables, but what I really need to know is: if they exit the "lane" for more than 3 seconds, and if so, how many times they exit the lane in each minute.
Column A is the minute, column B is their lane position. Lane position ranges from -540 to 540. The middle of the left hand lane is -180 (the left hand lane ranges from -360 to 0 - we drive on the left in Australia). If they exit the left hand side of the lane, the lane position value will be between -360 and-540, and if they exit the right hand side the lane position value is 0 or greater.
A formula in a new column that can give a "1" each time they exit the lane for more than 3 seconds would be great, then I think I can make it sum how many times they do it in each minute.
View 6 Replies
View Related
Sep 3, 2013
I am trying to simply copy the range of C7:C LastRow and W7:W LastRow
The code below copies all columns C:W to LastRow. I want just column C and column W.
I've tried some other combinations, but it has me stumped.
Code:
'Range("C7:C" & LastRow, "W7:W" & LastRow).Copy
View 4 Replies
View Related
Dec 9, 2013
with this Excel problem? I have a set of data of 300 some odd rows of numbers. I need to find 24 CONSECUTIVE values that add up to the HIGHEST sum? For instance,
2
2
0
0
4
2
0
0
1
8
5
2
View 1 Replies
View Related
Jun 10, 2007
I am working on a big data spreadsheet 166 columns X 2500 rows. I need to flag rows that have 12 consecutive cells with a zero.
View 9 Replies
View Related
Feb 28, 2009
I am trying to select non consecutive row in a 700 row spreadsheet in order to change the conditional formatting of those to grey. The change of colour is no problem but I cannot find a way of making the vba instruction to use the user selected rows.
An example would be if the user selected rows 10, 34, 56 and 89 to 105. how could I use this information as the basis for the next instruction.
View 9 Replies
View Related
Oct 29, 2009
I am writing a sports schedule or fixture list. The home teams are in column B and the away teams are in column C.
I want to prevent any team having 3 consecutive home matches. Is there any way a formula can be used to alert me if there are 3 consecutive home matches.
View 9 Replies
View Related
Jun 27, 2006
I am tracking attendance of individuals in an Excel spreadsheet. I would like to determine how many consecutive days each individual has attended. The spreadsheet has two pertinent columns which contain the individual's name and the date of attendance. How can I determine the number of consecutive days of attendance?
View 5 Replies
View Related