I am trying to count the number of patients that were in a hospital during specific times (time and date). I want to know, by hour, how many patients are in the hospital. I am using a month of data as my "sample size".
I all the start times (e.g. 3/1/2008 12:35:00 AM) and leave times (e.g. 3/1/2008 5:52:00 AM) and I want to have the patients by hour for the month. So I want to know that during, as an example, 2:00:00 AM to 3:00:00AM there were 40 patients in the hospital.
So I will eventually combine all one hour periods (e.g. 2:00:00 AM to 3:00:00 AM) for all the days, but it's counting (patients per hour)
I cannot get various formulas (Countif, Match, Frequency, Etc) to work properly.
I am trying to arrive at a total number of matches of numbers in cell range B1:G1 with any numbers entered into the cell range of K1:P11 and have the total of matches display in cell H1. However I do not want to count duplicate numbers from the K1:P11 cells. (if the number 5 in posted in K1:P11 multiple times I only need it reported once in H1)
B1:G1 is the constant and the numbers will not change - K1:P11 cells will be populated by adding numbers until the all the numbers in B1:G1 is completed and match.
I am trying to work on a spreadsheet (I am very new to all this). I have colum I with dates in and Colum K with dates in... When a product comes into my shop I enter the date it arrived in Colum I and when it leaves I enter the date in Colum K.
What I would like to try to work out is how do I ask Excel to tell me How many blank cells there are in Colum K if I enter a date range for Colum I
I will try to give an example.
Colum K may have 200 entries for the week 6/5/13 to 10/5/13. I need to know how many cells are blank in Colum K if the date range on Colum I is between 6/5/13 to 10/5/13
The end result should basically tell me how much stock I have left in my shop for that week.
I have found something that sort of works by using this =SUMPRODUCT((I1:I200<=TODAY())*(K1:K200="")) but ideally I need to be able to change the word TODAY into a date range like 6/5/13 to 10/5/13 and I cant seem to do that???
I run a small holiday cottage and I want to use excel to tell me which days of the year I get most enquiries for.
Every time I get an enquiry for a certain period in the cottage, I enter the dates into excel.
I have two columns - Start of holiday and End of holiday.
What I would like to do, is give each day of the year one point if someone enquires for it.
e.g. If someone asked for 3rd january to 5 january, I would give 1 point to the 3rd and 1 point to the 4th of january (but not the 5th as that is the day they would leave!)
At the moment I find it easier to count with pen and paper than use excel for this problem.
I need to count cells withdates in theme in a column. So that would be a CountA function; but only if the values in the cells are within a certain date range, a COUNTIF function. Here's what I thought:
I have a spreadsheet, a small section attached. There are near 20000 rows at present. I need to count the number of characters in B1 excluding any hyphen in b1. If a hyphen occurs in b on its own,the count is zero.If b cell is blank,i need a count of all characters in A.I need a formula I can autofill down.The count column is c and I have completed it manually to show what I mean.
I need help creating a macro that will search through my excel spreadsheet and for every instance where column A isn't empty it should cut a range of columns from that row and paste them in a different range of columns in the row before it. It should then delete the row that it cut the columns from and keep searching until it has done this for the whole worksheet. I can modify which range of columns are needed, but it has been so long since I've worked with excel macros that I haven't been able to do it.
I was given this spreadsheet to count attendance by entering the entry date and exit day, however it's counting the first day and the last. I'm needing it to only count the first day and not the exit day.Book2.xls
I have two vertical ranges that I need summarized into 2 adjacent vertical ranges.
" A B C D | SUMMARY model qty| modelqty 1 4.12922.0000| 4.12952.2000 2 2.000012.1250| 2.000025.1250 3 4.12929.0000| 318.0000 4 318.0000| 5 4.1291.2000| 6 213.0000| "
A1:A6 is my SKU's model number B1:B6 is my inventory C1:C6 should contain formulas that result in a summary of the models D1:D6 should contain formulas that result in a sum of the inventory count for each model
In the attached file, I have variable range in column A:B, column C:D and in column E:F
I want a macro to do the following:
Start with sheet "A", select the available range in column A then copy and paste in the sheet "B" but with all the cell values added with the value in H1.
Then in sheet A, simply copy the available range in column B and paste it in sheet B
Do the same until column F in sheet A. Pastespecial if it is odd column. simple past it is even column.
I know the macro code for the simple paste. But I am struggling with the paste special code.
I have written this macro to convert into a csv file to run for all defined named ranges in the activesheet. It run jst perfect when I hit SAVE button and it creates that many different CSV files for each named range.
However I am trying to use same macro in the another file and the problem I am facing is there a lot more named ranges and I want to run the macro for only selected NAMED RANGE. In this case 2 Named Range / 24 Named range.
What part of code do I need to change and to what to make it work for just 2 named ranges ?
want to count up from a certain number but rather to a certain number.
Basically I am making a spreadsheet of products which already have product ID's, however there are 1000's of these. So I am doing them by manuafactuer, so some sheets do indeed start from 1, but pretty much every other sheet starts from a number like 1300, or even 2563.
how I would go about making excel automatically fill in the ID field?
I have a spreadsheet with 3 sheets, the first sheet is to be an overview of the entire workbook used to keep track of training,
The last sheet (Called Raw_Data) contains various coloumns, the two I am interested in is the training course and the name, as someone completes a course I record what the course was, who did it and date/time of start/finish,
What I would like to do it to count on the front sheet how many times someone has completed a course
Operational Overview Joe Blogs
Work Pratices Joe Blogs
Incident Handling Processes Joe Blogs
Training Paul Smith
Incident Handling Processes Joe Blogs
From the above table Job blogs should flag in a cell for Incident Handling Processes twice, Is this something that can be done via a formula as I am trying to avoid VBA.
So I have an annoying dataset to work with. The first column contains ID#, string, string, string, ID#, string, string, string, string, ID#, string, and so on. It is basically a list of patient numbers with a list of their appointments listed underneath them. I need to find a way to count up the number of strings for each patient, like shown below:
Patient# Count
101 2
Had an appointment
Had an appointment
Deleted-Had an appointment
The format isn't too important. The data I have is basically column A, and I want to create column B.
Is there a function in Excel that will count cells that are different from one another? I.e. it would not count the same value twice. For example, in column A:
a a b a b b c a c
The result would be 3. However, if I replaced the first "a" with a "d" I would get 4 as a result. Basically I want to know how many different arguments there are in a list. I could not find a function that does this in the Excel list of functions.
How do I get cell C4 to give me a total of the times a score in column C is > than opposing score next to it in coumn D? Also, a total in cell D4 to show the number of times this team's score was less than the opposing score in column C. This would be for a running Win/Loss record.
I am now attempting to do the same type tally except I want a tally for "in conference" Wins/Losses.
I tried the same "SUMPRODUCT" formula as before except this time I held the control key down so as to use only the cells desired. I'm getting "VALUE" for my answer though.
The row I have added in for in conference tally is row 3.
All blue colored cells are for the ACC conference and the green are for the SEC.
Is there a way to get the win/loss figures for selected cells / rows only?
A quick background. I have a large dataset on radio stations in the US. The data (that I will illustrate below, and sorry if it looks like a mess, I run on a mac and don't know how to get the right structure when I paste it in) contains the following:
Column A: Owner (owners of radio stations - by their name: e.g. Clear Channel)
Column B: Owner (same owners above, but with corresponding ID-numbers instead, e.g. 83)
Column C: Market (a market which holds both owners and their radio stations, e.g. Boston)
Column D: Market (same as market above, but with the corresponding ID number instead, e.g. 21)
Column E: Number of stations - this column represents the number of stations that a particular owner has IN ONE MARKET. OBS: A owner with 4 stations in Boston, will have four cells, in which all of them say "4", so be aware of the problem with doubles, tripples, etc. ........................
i have to create a summary of the productivity of the administration staff in my office. i have a table of raw data that shows the jobs they open each day, but i need to find a way of counting the number of those jobs.
i've included an example so that its easier to understand what i'm getting at.
on the first sheet (Jobs) i have the table of raw data. each administrator opens jobs each day which can either be S (standard) or W (Warranty). the second sheet (Summary) shows the way i need the data to be summarised. effectively i need to narrow my count by 3 criteria (Date Opened, Job Type and Administrator).
i've used DCOUNT functions in the past to count data by more than 1 criteria, but as this system will be in place for every day of the year, that means i would have to produce a table for every administrator and every type of job and every day of the year. which would be 3650 different tables, and that's too many.
is there a way i can do this more effectively? or can i somehow make the DCOUNT tables relative so that the table can look up the date required, reducing the number of tables required to 10?
in cell F5 I would like to know how to count the times between 13:00 am and 14:00 so if theres 3 times it will show a 3 i havnt got a clue what formula to use.
I'm trying to display a 2-column table that tells me the number of games broadcasted by each channel. The code has to figure out the channel name itself, without me specifying the channel name in it. How can I do this in VBA?
Game1 NBC Game2 CBS Game3 CBS Game4 CBS Game5 FOX Game6 CBS Game7 FOX Game8 FOX Game9 FOX Game10 NBC Game11 ESPN Game12 NFL Network Game13 FOX Game14 CBS
I have 8 columns. The first column is a counter The 7 others contains codes for faults on 7 different channels that get theres value from manual input. The codes has a value and from all this i get a graph. Count/points. Now i need to know when criterion is met and mark the count in the graph some way.
Fault codes: A B1-B13
For example: Criterion 1 to be met: Fault B1 or fault A
Criterion 2: One individual channel >B1 or >two channels with B1 or > one channel with A
Criterion 3: One individual channel >B2 or >four B1
The criterion is judged by row. So when it find a row that match one of these i need that count to be marked in the graph and then that criterion is set and not needed to be checked no more.