On sheet 1 I have a column with a various people by their initials, (aa, bb, cc, etc.) Another column lists the completion date of their assignments, (5/28/07, etc.) Sheet 2 is a summary page. I want to count the number of assignments that "aa" has completed for the month of May on sheet 2. I tried =count(if(sheet! a1:a:50="aa")if(b1:b50>="5/1/07")) but I only got zeros.
I've been trying to solve this problem all afternoon and evening but cannot think how to do it. I'm a basic (very) VBA user and the best I could come up with is below.
I have a sheet called Data. In column A I have names, and in column B I have dates (day, month and year).
What I am trying to do is to filter the unique names that occur during the selected month and year (day is irrelevant) and then count the number of times that name appears in the selected time period.
This is what I have so far, but it's not working at all!
Sub countNamesMonth()
Dim rangeEnd As Long Dim i, y, x Dim cell As Range
rangeEnd = Cells(Sheets("Data").Rows.Count, "A").End(xlUp).Row y = 2 x = 2
how to count the number of occurrences base on a criteria? My sample file contains a Tally Sheet and a template sheet...how can i count the number of occurrences of Yes and No per class? Say for the A class, how can i count the yes or no?
What i need is that, if I am entering name1 in cell AA1, then AB1 should show 13 (the number against the last occurance of name1), if it is name3..then the answer should be 16
In the columns below B is just 95% of A. What I want to do in column C is to put the maximum value of B over the range that corresponds until the value in A is less than that. For example for my 1st run the value would be $1,125.68 because this is the maximum amount before you fall below that in column A, or in this case hits $1,106.40. I want to be able to perform this automatically down the line (expanding the range until the logic test is true) but can't figure out how to do this. The formula would basically be the max of the range in Column B is > Column A until this is not true, then return the max in Column B for entry in Column C. Then in Column D I would run an identical analysis but return the Row identifer for the dataset.
I have 2 columns of data in a report, the column on the right J has a text entry that can possibly occur 1 or 2 times in the list. If it occurs twice I want to find the second occurance and return what is in column A.
I looked for a long time through the past entries and couldn't find an answer for this specific situation. I have a spreadsheet with multiple occurances of names in column A
A green green green blue blue white white white
and in column D I need a total of how many occurances of that name there are. that total needs to be listed in that row for that name specifically. There are many names on there currently and many will be added via copy/paste from another spreadsheet so i need one formula to paste into each row to cover ALL recurring names. Basically i need to enter in column D "=COUNTIF(A:A,"a term that would total the reoccurance of each name from the A column the corresponding D cell")
A D green 3 green 3 green 3 blue 2 blue 2 white 3 white 3 white 3
The goal is to be able to copy/paste new entries into the spreadsheet, sort them by name, and have them automatically update the totals in each row even if they are new names. i guess it would be a "number of occurance of each term" code to cover all terms.
I have a long list of data in a table. the first column is a date&machine. in another column there is a comment field. To find the first occurance of a date/machie and report the relavent coment I have been using a vlookup; this works well. Is there any way to find a second or third comment for the same date & machine?
I've set up a trial sample register to monitor progress.
Column A contains date of receipt Column B contains data of report Column C contains deadline Column D contains a formula to indicate whether the deadline was achieved, or force the cell to be blank if no date was entered, =IF(C2="","",IF(C2>=B2,"Yes","No"))
Columns E to P contain other information.
So far ok.
I want to create a summary by month., giving the number of samples received each month, which I did by extracting the month from column A =month(A2), but i also want the number which met the deadline.
Column C has the actual Date Column H the beginning of the month Column I the end of the month and Column D the dollar amount
Now I would like to count the number of contracts that fall in the following categories in a given month. The minimum number is in Column N and the maximum in Column O. 1-499,999 500,000-2,499,999 2,500,000-4,999,999 5,000,000-12,499,999 12,500,000-24,999,999 25,000,000-64,999,999 65,000,000+
I can get the count for each category but am having difficulty with the count in the specific month. Does any one have any suggestions - other than a pivot table?
I am working on an excel sheet where I enter dates for registered events. I need to count the number of days registered for any month. For example, Column B contains date of event, column C contains number of events for that particular date.
I need to get the following results:
- How many dates registered in the Month of January (or any month), I assumed this is the number of dates that were entered for the month January.
- How manu events registered in the Month of January (or any month), I assumed this is the sum of the numbers in column C that match the dates of the month January.
I need the formula for this example because I have other counts I need to calculate per month, such as number of people registered, 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 table that shows dates in this format 01/02/2013 , 02/01/2014 etc (UK) I then have a second table listed as below like Jan-2013 is there a way to count how many times a entry in January 2013 appears and put a total as seen in table 2.
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'm working on a spreadsheet that contains a list of various instances of zip codes between a couple of months. I'd like to count the number of times each particular zip code occurs within each month. And, if possible, if I could get that count to populate into another cell on another sheet within the spreadsheet,
i have a list of employess who i need to count each month. i need a way i can say count if >0 for month = Oct. each employee has a summary of there work for a month in a list going down. example
___John Jan__0 Feb__19 Mar__50
___Bob Jan__4 Feb__56 Mar__12
Right now i have a way i am summing up the total work for all the employees "=SUMPRODUCT(B21:B512,--(A21:A512=A4))" <------'A4=Jan in the formula'
How could i change this to reflect count the employees and not sum the total? The idea is a need to know how many employees had a number greater then 0 for the month of Oct.
A4 is Date Assigned (MM/DD/YY) on the Activity sheet S4 is the month assigned which I extracted from A1 (January, February, etc.) J4 is the name of the processor
On a separate sheet I'm trying to count how many packages each processor does per month. On this sheet I've entered (as an array) =SUM(IF(Activity!$J$4:$J$390="ProcessorA",IF(Activity!$S$4:$S$390=$A$4,1,0))). This doesn't work. However, if I delete the formula and formatting from S4 and manually type in the name of the month in each cell in S column it does work. So, how should I be formatting Column S and the the month column on the other worksheet so that the formula will work? I'm using Excel 2000 and have attached a mini sample.
I would like to have the count of column E. I would like to sepperate current month and year to date using column C. I would like it to reflect it in the below chart.
I need to count how many unique ID numbers there are per month.I have figured out how to count the unique ID's for the first month (Jan) but after that I'm having trouble trying to get the count right for Feb and Mar. Formula I used in cell E2 is: {=SUM(IF($A$2:$A$14