I am attempting to count a number of cells in one column so long as they fall within a certain date, which is located in another cell in the same column. I'm trying to account for a number of reports that happened within a certain week.
The formula I came up with was
=COUNTA(COUNTIFS(A_DATE,">="&B2,A_DATE,"<="&D2))
But this returns 1 more then it should no matter what. Even when all cells within A_DATE are empty. it returns 1.
I know the COUNTIFS portion works to count the cells between certain dates.
Is what i'm looking to do possible or am I suffering from Excel burnout and just can't see that logicaly it makes no sense?
I have over 60,000 rows of data. In one cell of each row is a "student ID". I need to determine how many times a given ID appears just once, how many times an ID shows up twice, three times etc.
I have a spreadsheet that users are filling in using a userform. Due to the fact that some data may be pre/post dated for entry I am trying to find a way that I can count the number of records per month.
What I have been trying to use (with no luck) is COUNTIF:
I have a column of "timestamp" data (in mins) which i want to filter by a given time interval, say 10 mins. Then i want to count the number of records for each time interval and output the data to a sheet. how can i achieve this? through vba?
I attached a pic illustrating what i want to accomplish.
spread sheet that I need to do for work. Unfortunately I do not have excel on my home computer to be able to attach a spread sheet
The spreadsheet has one column (A) with a list of questions. The column next to this (B) has either a red or yellow cell in each row (a red cell would be a high risk to the business if the answer to the question in that row was no, and a yellow cell indicates a moderate risk to the business in the answer to the question in the row was no).
The third column (C) is conditionally formatted so if a 'y' was placed in any of the cells they would turn green. If 'n' is placed in any of the cells the cell would change to either red or yellow (this would depend on what the colour was in column B).
I need to know a formula to count cells by colour. So the number of red, yellow and green cells in column C would be counted automatically into a totals box for each colour at the bottom of the spreadsheet. I have tried some online suggestions but couldn't get these to work for cells that had been conditionally formatted. I'm not the most experienced person with spreadsheets (this time last week I couldn't add two cells together)
The final thing I need from the spreadsheet (and I'm not even sure if this is possible) is for a total box to be colour co-ordinated based on the number of red, yellow and green cells in column C. I would need the total box to be green if all column c is green, yellow if three or less cells in column C are yellow and red if any of the cells in column C are red or there are more than 3 yellow cells in column C.
creating a formula to count the number of rows in a different worksheet if a cell has a value of "1" or "2" (these are the only two allowed values) AND a status of "'on track". also need to add values in other cells within the different worksheet if the value is "1" or "2" AND has a status of "on Track".
I run a work order report on a daily and weekly basis and I am looking for a formula that will find all dates in L:L that are greater than 9 days old. I can't seem to work out the syntax. The cells in L:L are formatted as DATE and TYPE *3/14/2001
Format the number in Column AL to '[hh]:mm' when Column C's value is ="P/T", otherwise format to 'General'
Column C's value is referenced from another sheet in the same workbook via a VLOOKUP function.
Column AL's value is based on an IF formula which goes like this: =IF($C4="F/T",SUM($AJ4)+($AK4/2),SUM($D4:$AH4))
Basically the above formula asks if Column C's value is F/T then count (because if F/T then the corresponding values in that row are whole numbers). If not, then SUM (because if P/T the corresponding values in that row are set to [hh]:mm format).
I have another sheet in the same workbook which has code (quoted below) which does something similar but I don't understand it enough to get it doing what I want for the sheet in question.
I need to count the number of records having hospital admissions within one year prior to the index admission. The list of all admissions is in one worksheet, the index admission in another worksheet. They can be matched on ID number.
How do I create a formula that will list the records with 10 highest results and if a tie, list the tie record with the lower value next. Each record is is double digit value from 00 to 99:
- the records are in range ff7:ff106 - the record results in range FG7:FG106 - List the highest rankings in FH97:FH106
Column 1: Date (from 11/10/1996 - 31/12/2000) Column 2 and onwards: Price (in numeric form, in which there are N/A records entered as text)
What I want to do is using VBA codes to find out how many "N/A" records appear in each month, and if there is more than 10 "N/A" records in a month, I would discard the months' record (set the records be -99).
I have records entered in sheet 1 named "Data". The "Data " Sheet contains Model wise records with serial nos and having status as either ZERO or ONE. Zero indicated that the particular model is out of stock while One indicates it is in stock.
When I filter the data using Auto Filter for records having Status 1, a list of records are displayed. I want to create a summary report in sheet 2 wherein it displays the no of occurence of a particular Model.
What I have observed is that whenever I filter for Status 1 & within it for Model A, it displays "3 of 12 records found" in the status bar. Is it possible to capture that "3" from that message displayed. Or is there any way to count the occurence ?
Is it possible to count the unique entries in a range based on the results of a filter that has been applied? I basically have a column with 2000+ cells that contain some matching values and I only want to count the unique entries. This will need to be a dynamic count as well as the filter criteria can and will change all the time.
As the title says, I need to count the number of unique records (names) in column A, where column L is = to something specific (X,Y,Z,W, whatever) for some statistics im trying to report.
Please see the attached spreadsheet. For role X statistics, I need a count of the unique names from col A, where col L = X. Based on my sample spreadsheet, the number should be 2. For Role Y, it should be 3.
There is the potential for spaces in the rows, and no one will be 'cross role'
I've got a few different methods to just count unique values with specific criteria in the same column, but I just can't make anything work for specific criteria in another column.
2.) ... Column H <>"" and Column I <>"expired" and <>"" and Column I >=A1 and <=A2
3.) ... Column H <>"" and Column I ="expired" and Column H+120 >=A1 and <=A2
4.) ... Column H <>"" and Column I >=A1 and <=A2 and Column J =""
A1 - user defined (start) Date 1 A2 - user defined (end) Date 2 Column B - 6 digit number (or blank) Column H - Date 3 (or blank) Column I - Date 4 (or "expired" or blank) Column J - Date 5 (or blank)
I have a ListObject table called Table1, and the column name is Table1[Company]. The records have been sorted A-Z for the Company.
The records look something like this
Date Employee Company ------------------------------------------- 1/1/11 Jane A Company 1/1/11 Jane B Company 3/1/11 Bob B Company 2/1/11 Bob B Company 4/1/11 Bob B Company 5/1/11 Bob C Company
What I need is a sub() to look in the column of Table1[Company] and determine:
The # of records that match the criteria given the Company name, and where they start and end. Ultimately, I'd like to copy and paste this portion of the table to another spreadsheet.
So for instance, if the Company = "B Company", then I could find out there are 4 records and there locations to copy and paste them.
I am setting up a template to use to track candidates throughout their lifecycle. I am also creating a 'summary report' on another worksheet that counts total number of candidates, counts the number of candidates that have been submitted to the client, count of the number of candidates that have been interviewed by the client, etc.
How do I count the number of candidates in the spreadsheet?
In Cells A6:B5, I have "Submitted" In Cells A7-?? I have dates for those candidates that have been submitted. Then a new section titled, "In Process" A list of candidates are contained within that section. Then a new section titled, "For Review" etc.
There are multiple sections, so the date in Column A1 may not always be in a constant row, as it depends on how many candidates are within a certain 'phase'.
I have a column I5, titled "Status" This column has a built in drop-down list that contains pre-defined status, for example, "Submitted", "Candidate Declined", "2nd Message Sent", etc. I need to be able to create a summary report based on a count of candidates that fit certain 'Statuses'. For example, count the number of candidates that were Interviewed. This could be a combination of Statuses: Phone screen with client, 1st F2F, 2nd F2F, etc.
(At home, I am using Excel 2003. At work, I am using Excel 2007. So if it's easier to create in Excel 2007, that's fine.)
and i want to assign a number value of 1 to all the records that the medication start date is 2 days after the admission date. How do I do this using the ifs function.