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.
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.
I am preparing a attendance sheet. I am using 1 & 0 for present(=1) & absent(=0). I want to find out if a student has been absent for three consecutive days and if there is three consecutive 0 then the formula should return the value 0 ( the student gets 0 if he is absent for 3 consecutive days ) otherwise it should add all the 1s in the row. i.e
What I am trying to is to count the number of times a certain number or character appears (either on its own or in a batch of consecutive cells containing that number/character) in a column.An example might clarify things (for reasons of brevity I will write the columns in rows):
If a column looks like (each 1-digit numbers / characters being a consecutive cell) 0 0 X X 0 0 X and I am counting for X, then I should get 2. If my column is X X 0 X X 0 X 0 0, then I should get 3. If my column is 0 X X 0 0 X 0 then I should get 2. If my column is X X 0 X X 0 X then I should get 3. Is there a formula to perform that calculation?
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
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?
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.
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.
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
I have an excel spreadsheet to record employee holiday and sickness figures.
It is set on as a grid e.g. column A stores all the dates and then employee names are used as column header.
One of the triggers I need to use is where, an employee has been absent 28 consecutive days. When an employee is absent I simply enter 'ABSENT' against there name.
Countif will count the number of time absent appears in the column however I need it to only recognise it if it is only 28 days in a row.
I need a formula that will calculate the most recent consecutive years.
The actual data has multiple ID# and the consecutive years need to be matched to the ID#
So far I have =COUNTIFS(ID_NUMBER, A2, EXPIRATION_DATE, ?????)
A friend of mine suggested that I count backwards from the most recent date and stop counting when there is a break of one year. That is where I get stumped. It doesn't need to be a year day and date, I just need to compare the YEAR portion of the date.
The example data is provided below the consecutive year value on the sheet was calculated by hand and is the correct value that needs to be returned.
ID # Transaction Date Transaction Type Registration Package Amount Paid Expiration Date Years Paid Inspected Consecutive Years 57 8/8/1996 NEW SHIRT+DISC $15.00 8/8/1997 8 Y 3 57 9/3/1997 RENEW DISC $15.00 8/8/1998 8 Y 3 57 9/8/1998 RENEW SHIRT $15.00 8/8/1999 8 Y 3 57 6/13/2001 RENEW SHIRT $15.00 6/13/2002 8 Y 3 57 5/6/2005 RENEW DISC $15.00 5/6/2006 8 Y 3 57 5/12/2009 RENEW DISC $15.00 5/12/2010 8 Y 3 57 3/7/2010 RENEW DISC $15.00 5/12/2011 8 Y 3 57 1/4/2011 RENEW SHIRT $20.00 5/12/2012 8 Y 3
I have a user form with 125 checkboxes and if checked would like them to display one message box containing a specific message for that the checkbox slection, but all messages in one message box.
I have one command button that will list each message box individually, using code like this - If CheckBox12 = True And CheckBox5 = True Then MsgBox "You would need to see your manager"
Each message box individually is time consuming and it would be better if they all displayed in one box. Of the 125 check box options, 7 or 8 will only be selected at any given time.
I need an equation that will return a 1 in column F if data is available (cell is populated) in 2013 or last two years (2012 & 2013) or last three years (2011 & 2012 & 2013) or last four years or last five years. A zero counts as data.
Split from Count Of Groups Where Last Character Is Unique
The A1 B1 C1 were not the data items in the table, but the cell addresses. The new title of the thread does not reflect what I am asking either. The focus of the question is the counting of groups, not counts of cell contents.
I have a spreadsheet with employees performance results for the last 12 months. Column A contains name, columns B to M contain text "Gold", "silver" or "bronze". I need to count how many consecutive months thay have achieved "Gold" status BUT must include latest month.
So, if column M contains "silver" or "bronze", the consecutive answer (column N) would be 0. If col M = "Gold" but L doesn't then N = 1. If M and L = "Gold" then N = 2 etc etc.
Is there a formula I can use in column N for this without doing 12 "if" functions? I think this needs to be an array formula but the ones I've tried I can't get to work.
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,
I'm looking at test results and would like to know how many times in a row correct answers were given before getting one incorrect. The way I have this currently set up, is if a student has the answer correct it returns a "TRUE" value, and a "FALSE" value for an incorrect answer. A typical test may have 50 questions, so I would have either "TRUE" or "FALSE" values in rows A1 through A50.
So I've been trying to figure out a formula that counts the number of times "TRUE" rows repeat 'consecutively' in a given column, in this scenario column A. The formula would need to check the current row and if "TRUE" check the row immediately after, if that row is also "TRUE" then check the row immediately after that, until it runs into a "FALSE" string, then display that total count of consecutive "TRUES" in another cell. I understand there may be duplicate results but I'm only really interested in the longest value, so duplicates can be ignored.
If it makes the formula easier, each possible result can be assigned to it's own cell. Let's assume the test has 50 questions. So if a student got all 50 questions correct the result count would be 50 in cell B50, or if they got 25 correct before the first incorrect answer, cell B25 would say 25, etc. I'm guessing I could then easily query this column for the largest value to come up with what I need at a glance.
I have a sheet that lists customers in column A and then each customers Distribution & Sales over a period of time. The spreadsheet then flags if the customer has sold out in any month. I now require a count of maximum consecutive sellouts for each customer. For example:
Customer A S/O S/O nil nil S/O Customer B S/O S/O S/O nil nil Customer C nil S/O S/O S/O S/O
In the above example Customer A would have 2, B 3 and C 4 sellouts. I'm looking at about 10K customers I require for each product.
I have a range of data but the important pieces are
Column B - list of employee IDs. Column C - Date
I have sorted the data by column B with secondary sort for column C oldest to newest date.
I want to know the number of instances where an employee has 3 consecutive days in column C. Only count 3 consecutive. If the consecutive days go over 3 (such as 4 or 5 days) I do no want to count these.
I have a table of data as below recording daily foreign exchange rates.
Column A = Time and date Column B = USA Column C = UK Column D = Aust. Column E = Japan Column F = Euro
Time and date USA UKAust.JapanEuro 04-Jan-20060.68390.39180.924379.470.5693 05-Jan-20060.68660.39050.918779.720.5666 06-Jan-20060.68710.39150.919579.720.5675
Then in column H i have a formula that works out if the rate has exceeded a specified base rate, if it has i display Threshold Exceeded and if it hasn’t i display No Action Required.
OK from here i want to count the number of times in the month the Threshold has been exceeded. I can do this by using the countif formula.
Now this is the section i need help on
For a specified time, say a month, i want to count the maximum number of times the Threshold has been exceeded consecutively.
I have the attached table of numbers and I need a formula at the end of each column to identify whether any cells in that column consecutively have numbers in them greater than zero. Ideally by a count of how many cells in the column have consecutive numbers greater than zero (so if there are three 1's in a row and then a zero and then another 2 1's I want it to count 5).Excel Help.xlsx