I have a column C which list Unique ID and this ID can be repeated several times in Column C. For each row the Unique ID has a value in Column D of how many sick hours are taken. I would like to create a pivot table which would provide a count of the Unique IDs and the total number of hours for the Sector in Column A.
I have a column of data (say in cells J1 to J20) such as
AB* CD+ EF&
etc etc - not every cell has an entry.
In another column elsewhere, each of these items has a number associated with it, e.g.
AB 3 CD 3 EF 4
Note that the symbol (*,+,&) is not in the table.
What I want to do is this: For each value in column J, I want to lookup it's corresponding value in the table and add 1 to a count if the value is say 4 (so in the example the cell containing my result would be 1 because only EF has a value of 4). If I wanted a value of 3 my count would be 2 (because AB and CD both have a value of 2).
I think I need a combination of countifs, vloopkup and left (as I need to strip off the number in row J somehow) but I can't get the syntax right (left for example won't work on a range).
why it is counting every blank cell as 1. I have tried to copy my data as paste as special value and run pivot again but I get the same result. For you visual consideration, I've attached a sample spreadsheet.
I have a big list of names of people that have completed a bunch of training they have completed. I want to be able to run a pivot table/chart and only count a user once vice each time they have completed a training. So in otherwords I want to get a count of how many people are on the list vice how many certifications they have.
My ultimate goal is to take my spreadsheet listing a large number of events and attendees and create a graph that gives a breakdown of the distribution of events by type.
Etc. (Note I don't need the date for my information, I was just including it to give an idea of what I'm working with.)
I'm trying to create a pivot table that lists the all the different Types and then the number of Events that each Type has, so I can make a graph that shows it.
I'm finding my way in pivottables (which is a new function to me).
I can now create one to count the item I wish (see attached).
I'm trying to get the table to display, but not use for counting, the rest of the row calls associated with the counted data.
For example, looking at attached, the source data is so: ComponentPart NumberValuePackageType C1C0805COG1NFJ50V 1nF0805 COG 5% 50V C2C0805COG1NFJ50V 1nF0805 COG 5% 50V
I'm counting how many instances there are of the part numbers and displaying in the pivottable as so: ...
I have column in my table that calculates time in hours between now and ticket open date (ticket open date in B1) so, in C1 i have following formula:
=(now()-B1)*24
Results are in hours, such as 15, 25, 32, 65 etc
In pivot table, I would like to see how many tickets with values of less than 24 or more than 48, etc
My available columns are: Region, Ticket#, AgingOpenHr(this new column).
I tried it different ways, and I cannot get it Less Than and Greater Than work under Values, works if I select grater than or less than in Label, but label does not produce consistent numbers.
I have a problem when Im trying to calculate averages in my pivot table. I dont know how to handle my missing values. If I leave them blank I cant get the average at all because the values end up under the dates instead of in a column next to the dates where I want them to be. If I write 0 it uses it as a value, eg 2+2+0 and i get 1,33 instead of 2. Also the zero could be a value for some of the parameters, so it's no good.
I have a large table of data covering 3 different companies and need to create a second table of data counting how many entries there are for each month in each company. This second table is to be used to create bar graphs and I am not using pivot tables as I cannot work out how to get the pivot table to insert months where nothing has happened. The attachment should make it clear
I am extracting data from an electronic medical record (EMR) which has many search limitations. I am able to export data into a CSV file (attached) to perform some calculations (All the patient data is fake btw). I am trying to find the number of appointments for each patient within a specific date parameter. For each patient, one appointment appears on one row.
pt appt sample.png
What I want to do is count the number of rows (appointments) for each patient in an efficient manner. Right now I've just used the COUNTA function, but don't want to repeat this for every patient, due to the way that the workbook is set up. The data is all from the CSV file from the EMR; the only column I've added is the "Appointments since 2013" column.
The patient data is fake because I am using a test server for the EMR. However out in a real doctor's office, there will be over 2000 patients with possibly up to about 100+ appointments.
Not sure if there's formula out there that would make my task a lot easier and more efficient, or I need to play around with the columns to set it up differently.
I need to insert a formula to count only the visible rows in a database. I currently have =row()-6 etc. but when I hide certain rows they are included in the count. What formula can I use to ignore the hidden rows and only show the live rows?
I have a spreadsheet which I have highlighted certain rows based on a certain criteria (I have manually highlted the rows). I was wondering if there is a way to "count" the number of rows that have been highligted?
I have an excel sheet with 5 columns and nearly 8000 rows. The 1st column consists of some values which goes as:
Column 1 Row 1: A Column 1 Row 2: A Column 1 Row 3: A Column 1 Row 4: A Column 1 Row 5: B Column 1 Row 6: B Column 1 Row 7: C . . . . . . so on upto 8000 rows.
I need a macro which can run through column A, count how many A's are there, how many B's are there, how many C's are there and so on. The result if provided on another sheet or tab would be wonderful and should be like:
A-4 B-3 C-1
where A,B,C are values and 4,3,1 are the no. of times they are present in columns.
I want to count rows, in which are any content, text or number. The problem is, that I am not talking about just one column, but let's say ten. In each of the column of one row, there could be a cell with content. If there is content, the tool should count it ONCE (thus, doesn't matter if all columns are full or just one).
I have two macros that hide or unhide rows. Now I need a way to count only the non-hidden rows. The total needs to be visible in each visible cell of a single column (presently column AW).
Example - if rows 2 and 3 are hidden using the "Hide Row" macro, the following would happen;
Row 1 is visible, so it is numbered "1" in AW1. Row 2 is not visible, so it either has no number or freezes at "1" in AW2. Row 3 is not visible, so it also has no number or freezes at "1" in cell AW3. Row 4 is visible, so it is numbered "2" in AW4. And so on.
It doesn't really matter what is in the AW cell in hidden rows because I am not totalling rows. What I am doing is using it to define a print area. If a page has to be 70 rows long, another macro uses column AW to work out where to put page breaks (after row 70, 140, 210 and so on). If twenty rows were hidden on page 1, without the above solution, the printed page would only be 50 rows long. A solution to the above problem will always make sure only visible rows are counted when calculating where to put page breaks.
Is there a function to convert the data shown in table 1 to table 2 without rearranging the columns and rows? because i don't want to use TRANSPOSE. I want a function, somthing like SUMIF with OFFSET or INDEX and MATCH or any other function.
I run an online golf tour and I need a little help with the coding of my handicap excel sheet. (For any golfers out there this is a custom handicap system, not the R&A version).
First I'll explain what I have, then my problem.
I have from left to right the following, Name, Scores, Worst Score, 2nd Worst Score, Average, Hcp. (There are other columns but are not important here)
The Scores columns record each round played, so at the moment we only have 10 columns with data as its the start of the season. I currently find the "Worst Scores" from the 10 columns, as they are all relevant at the moment. My problem will arise when I get over 12 columns of data. From that point on I need to find the "HIGHEST 10" from the "LAST 12" entries.
Easy you might say, BUT the last 12 rounds played could be spread over 100+ columns and every row could be different.
Example, Player 1 could have scores in column A to AB and then in AD to AE. Where as Player 2 could have scores in every alternate column.
I'm assuming I'll have to set up some form of count to count the cells that have data in them until I get to 12. Then extract the ones I dont need.
My question is, How do I find the last 12 column cells used in any row AND extract the highest 2 from those 12?
I have got mentioned below result after running a macro and I want mentioned below formula to be put after counting rows, because each time as per my query when I run macro result is different in rows as you can see in below table the formula I put in column F in rows 19, 20, 21, and 22.
how can I count the number of not empty rows(and for example too many) using do.. until loop kind. I am searching on the net for about 24 hours but I couldn't find it.
In a database of names I use Filter- Advanced Filter - Unique records, to hide duplicated rows. Trouble is I don't know if there were any duplicated rows when it finishes. I would like to see the totals reflect this by not including them in the Countif function.