I was wondering if I could get the data from Sheet1 into Sheet2 in weekly segments. So For example: in the week (5 working days) between 17/12/07 and 24/12/07 how many entries were in each Category? And then a running total disregarding the date range. Sheet1 will be constantly updated. I've tried to set up Sheet 2 as an example of what I need, but this can easily be changed.
figuring out a formula to count the number of occurrences within a date range (the month of October) however, the date column is formatted to mm/d/yy 00:11:22 PM/AM.
I tried using =COUNTIFS(B4:B96,G3:G9611/1/2008) but got an error.
This is what I'm working with (there are other occurrences for Nov and Dec in the spreadsheet - this image only shows Oct)
Site Statistics
October-December 2008
Visitor No. IP Address Operating System Browser Site
I have a sheet in my workbook with at least 180 small tables, there may be more. I woulds like to be able to change total formulas for all tables at once to show either year-to- date or total year.
For example: If we have only progressed through the second period of the year, I would like to choose something to indicate period 2. At other time I may want to know the total year whether the periods are completed or not.
Sub sumbotton() Dim ar As Range Dim rng As Range Set rng = Selection.CurrentRegion Set rng = rng.Resize(rng.Rows.Count + 1) rng.Rows(rng.Rows.Count).Select For Each ar In rng.Areas ar.Resize(1).Offset(ar.Rows.Count) = "=SUM(" & ar.Address & ")" Next ar End Sub
I'm working on an excel for work. It lists the days on the column farthest left, and with some variables calculates the total number of tons we have for the day on another column. For part of it I'm wanting the program to calculate how many tons we process for each day. The problem is that each days will have a different number of entries. For example:
June first has 6 entries June second has 3 entries June third has 4 entries
So I'm wanting to make another column seperate from the original data that calculates total number of tons from the entries for the day without saying cell=sum(the 6 entries from the first), cell=sum(3 entries from the second).
I'm not sure how to go about this, I thought if I could get a recurring if statement that would test all of the entries for the date, and if it matches sum them up. I'm just not sure how to go about it.
I am trying to create a worksheet with a total to date column in it. I have done a similar thing before using Nested IF's but obviously there is too many IF arguments for that in this circumstance.
Please take a look at the .xls page I have uploaded. The period displayed in cell AP5 is linked from another sheet where the user selects the period from a Data Validation DropDown box. The periods are as follows: January - March2008, April - July2008 etc etc.
You can see how the periods are formatted across the top of my main worksheet I wish to be able to take the period provided and then get a figure of the total to date for each row within the "Total to Date" column based on the figures upto that period. If you get what I mean?
I have a spreadsheet that has dates in column A and values in column B. Some of the dates in column A repeat: I need a total for each day in the month? Is there a formula for this?
is there a formula that will say how many days there are in a month ?
B9 contains the a refrence to the first day of the month eg 1/7/2008 I want the cell above it (B8) to return 31. If the date reference is 1/6/2008 I want (B8) to return 30.
I'm using it to pro rata by the number of days in a month.
I've inherited a reporting process which I need to convert to Excel but my knowledge of excel functions is fairly limited. I've attached a sample worksheet which sets out exactly what I'm trying to achieve in the comments. However to summarize here I need to add the data which meets set criteria together and display the result on a different worksheet. The problem I'm having is that the "criteria" the data needs to meet is dependent on info from other cells.
For example I only the totals of the data in column D where the date in column A is 01/01/08 and the data in column E is 1 and the result is to be displayed on a separate worksheet if that makes sense. It's difficult to describe without seeing the example workbook.
My excel sheet contains a set of date-marked expenditures. It's all one running list - no starting a new column for each month or anything like that.
I'd like to include a separate column/sheet showing total expenditure for each month. I've tried multiple formulae, along the lines of "Sum the B cells but only those for which the corresponding A cell is in the right value range". Or in programming terms, "for i from 1 to infinity, if x < A(i) < y, add B(i) to sum." Since other formulae on the sheet are independent of item ordering (don't require the data to be sorted chronologically), a plus would be if the solution can be, as well.
A separate thing I'd like to do (which I'm guessing has a similar solution) is to include grand (running) totals by expenditure type. A separate column of (non-numerical) expenditure codes is next to the data.
I have two columns - Employee and Status of Deal. Now, I need to get the total count of New and Active-to-date but on a per employee basis. Am I making any sense? To clearly put it, I need a formula that will answer the questions below:
How many New and Active-to-date deals does Michael et al have? I tried to use Countif but that gave me the total number of deals, not on a per status basis. Will VLookUp work or a combination of both? If so, how? I'm using Excel 2003.
I have call data in date/time 06/07/08 2:00 PM custom format for a 2 month period. I have my regular opening times eg Monday 9-3, Tuesday 10-4. For each call I want to know if it was made during opening times or not.
I HAVE AN IF FORMULA IN 7 CELLS BUT I CANT SEEM TO BE ABLE TO GET THE RESAULTS IN THESE CELLS TO SUM IN TO A DIFERENT CELL ITS BEEN A WHILE SINCE I USED FORMULAS AND HAVE FORGOTEN THEM
I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
I am working on an excelsheet containing a data dump from a manufacturing database. Inside this sheet i want to make subtotals of different production runs. The data that needs to be added up is in one big list between every production run there is an empty cel. So I want to make a formula that does: =SUM(one-cel-above-current:next-empty-cell-above)
but when I use the formula for finding the PLanned Stops - Time in the range G7:H7 it gives the Volume Total from Column D...I want the Planned Stops -Time from H7.....
I have a employee travel spreadsheet with air travel dates in two columns. I want to be able to create a rule that will highlight all the cells in a row if the date range on that row fall includes today's date. if someone is traveling in the event there is an emergency and I need to know if they are traveling that particular day. I have attached a sample spreadsheet.
I need to create formulas that reference a single date and output date ranges. The objective is to have a person input a Monday date in any given month and receive a four weeks out worth of dates and ranges. For example: In a lone cell, the person inputs 10/13/08. Automatically, the sheet produces the next full week range: October 19 – October 25 in a single cell and also produces a cell for each date. Example: Sunday 19, Monday 20, Tuesday 21, etc…. It should look like:
and then repeat for three more weeks. I thought I had it figured out until the month changed. The dates continued in October instead of adding a month. This report will be ran weekly, so simply adding a +1MONTH to some cells will not benefit me as I’ll have to change the formula every week. I want the formula to compute the data without any manipulation over the next several years. The only change will be the Monday date.
I have certain cells in column A2:A22 that have names of people. I want a formula in Cell A23 that gives me a total of how many names are in that range. I know this is simple, but how do I put my criteria that if a cell is not blank to count it?
On worksheet 1 I have Column A with a list of names, which we shall call John, Paul, George and Ringo, listed randomly within 100 cells (A1 - A100). I have Cells B1 - J100 with 3 options in each cell; Blank, C and NYC.
I need a list on worksheet 2 for each individual person showing;
(1) total number of cells marked C (2) total number of cells marked C & NYC combined.
I have the following time ranges that need to be converted into total minutes. Examples (from easiest to most difficult)...
The items below are in column A (each range is the content of just one cell):
00:00-13:00 06:30-13:15 13:30-13:15 (this spans two days, so it's actually 23H and 45M) 23:30-03:00 & 16:00-22:10 (only the first time range matters; the second can be omitted)
So for 00:00-13:00, we have 13H and 0M = 13 * 60 = 780. And for 23:30-03:00, we have 3H and 30M = 3.5 * 60 = 210. But how do I automate this process with the text entries above (and hundreds more that are imported in this format).