I have a list of patients with different categories. Count values of HBA1c which are less than 6.5 and those greater than 6.5 ONLY and only for those of the Category named "PreGDM" but not for other categories.
I have been strugling this for the last 3-4 days but could not resolve it. I have list of items and i would like to count those items by item type per the user's selection.
For instance, the user selects either Yes or No and i would like to count only the ones that the user set for Yes only.
Where H1 contains the word Assigned. I need to also find and add to count for matches in I1,J1 and K1 which contain New, Pending and Work in Progress respectively.
I want to count the number of times North AND Win, North AND Lose etc.
Can anyone provide me a way of doing this. I dont want to have to use B2&C2 for example. I know I could do this and then use an IF statement (I think).
I have 2 column: item and quantity. I need to count number of items. In column "a" some item are more than one time. I need something like SUMIF function but by using vba. open attached file
2. I need to count how many dates fall during the week using the ending dates. Weeks ending 1/06/07, 01/13/07,etc L2:L53, the dates to count are L63:1600.
I have a two massive spread sheets in which I am comparing items from one with the other and changing in one if the other doesn't match the first. I already have reduced the processing time from 6 hours to about 2 minutes by rewriting the macro to use autofilter to make the changes. The problem I have now is that I need to keep some metrics on the changes i.e. when I apply an autofilter, I need to be able to assign a variable to the number of items actually shown after autofiltering so I can add it to a variable that is keeping track of total number of changes. I know that outside of VBA, in regular excel use, the status bar displays # of total# found during autofilter, so is there a way to tap into the program and pull that number during execution of a macro?
I'm new to the forum - I've done a search but cannot find the answer to my problem.
I work in a hospital and have a list of consultants who refer for a particular type of scan over a period of time. Each time the consultant refers their name is added to a list so I get a list like this: Dr Smith Dr Smith Dr Jones Dr Smith Dr Paeker Dr Paeker Dr Jones etc...
I am working with VB 6.0. So far I have been able to create my recordset, opened excel spreadsheet and imported data to the spreadsheet using the recordset. The spreadsheet has five fields and each field has multiple items as in the example below.
I need to make a pivot table with data from 2 columns. The data has columns named Unit Type and Name. There are 9 different unit types and over a hundred different names. I need to find a way to make a table that counts however many times the name VACANT shows up for each unit type. Is this possible using a pivot table?
For each of my staff I need to count if they worked 15 or more days in the 30 days preceding a statutory holiday. (As a follow on problem... If they have worked 15+ shifts then I'll need to calculate the sum of their hours over the 30 days / 30).
I tried the functions below but they didn't work. (the Name1 column records the number of hours worked that day's shift) The actual count in my test case is 5.
I have this work sheet with several formulas in columns Z to AD. All of them highlighted red work fine as for as I can tell. I am stumped with the one needed for the cell highlighted yellow AD2. It should count all the dates in AD1 that are Requested Changes Made and/or Rejected in Column "M". AD2 is a total of today minus 8. Equipment Change out - TEST.xlsx
Can someone please help me with formulas to calculate the # of Unique Customers, #of Items, and Amount for Q1, Q2, Q3 and Q4 for the year in A2 (which contains a drop-down list).
Please see attached sample workbook. (I can’t figure out how to combine the formulas for count unique items with a specific quarter.)
I would like to count items that appear in a list that will also appear in several rows. The list is also in no particular order. I have attached an example which may make it clearer than a wordy explanation.
I've an excel sheet with 1000 rows data. I need a formula to count number of unique items in a column with a condition. Please find a sample data sheet.
I've tracking list that has ordered and delivered items for a given month on weekliy basis such as Week1(W1), Week2(W2), etc. I need a formula to count number of unique item delivered on this month.
Item 1 to item 8 delivered and item 10 also delivered in week 4, So totally I need to get the result as 9.
I was trying to use "countif" for validating and counting each row, it's throwing value! Error =1/(COUNTIFS(A:A,A2, c2:c23, ""&0)) i.e., = 1/countifs(unique items from column A, then nonblank cells in column C) but it's giving Value error..
I just need to count the unique item with another condition.
I have a table of data, from which I have created lists for “items created within a period” (the items are paintings on canvasses).
Each list displays which canvasses were completed within 2 dates.
My main data table is large (over 1000 lines and growing) and I need to extract the total quantity of each canvas size that appears in each period list.
My sample attached shows sample data, with corresponding lists of canvasses created within each time period, together with the result I am looking for (shown in red).
is there a formula that gives a true or false statement upon searching a list (ie A2:A6) and finding multiple entries? like, when i search A2:A6 and there are two fields that contain the word "hello", is there a function to say "true, there are multiple entries of the word 'hello'"
I have a Excel sheet and I have put Autofilter for a particular category I choose I need to count number of items in another column(autofilter) , for eg... there are two columns Category , Items When i choose a particular Category I need to count number of Items in the autofilter for that particular category?
I have a sheet with a top to bottom date/chronological list of Horse races arranged so;
Column 1 Column 2 Column3 Column4 Date/Time Race type Empty Horse Name
e.g
01/03/2008 12:30:00 1m stks Mad Robber 01/03/2008 12:30:00 1m stks Don't Run 01/03/2008 12:30:00 1m stks Laughing boy etc
Then next race
i'm looking for a Macro that will add up the number of horses in each race and enter the number for a given race in Column 3 for each horse in that race. So the example above would become;
For example: From To .................. P1.........P4 P2.........P4 P1.........P5 P1.........P4 P3.........P5 P2.........P4 P2.........P4 P2.........P3
There are hundreds of sheets like this with more complex panel numbers (there are 70 to 80 panels). I want to count the number of times each panel is linked with another panel i.e the number of times its name is mentioned in front of it. This may look like as follows.
I found this formula and it works great, but I need to count only items with black font. We use red font to identify lost items so don't want to count them as part of our inventory.