SUMIF Date / Average
Nov 24, 2008
I have faced with a problem with Excel when I wanted to find the average for a stock price.
I have 2 columns:
1st Column: Dates from 1st May 2007 till 23th December 2008 (Rows:A3:A403)
2nd Column: Stock prices from 1st May 2007 till 23th December 2008 (Rows:B3:B403)
View 9 Replies
ADVERTISEMENT
Mar 13, 2008
I have a report that has thirteen tabs. Tab one is Jan; two, Feb; three, Mar, etc. The last tab is where I'm consolidating all the data into a report.
In Row 2 of Jan-Dec are the days of the week.
In Row 30 I have the data.
I am figuring the average of each day of the week for each month as well as a total average year-to-date.
Here is my formula for Jan and Feb:
=SUMIF(JAN!$2:$2,"MON",JAN!$30:$30)/COUNTIF(JAN!$2:$2,"MON")
=SUMIF(FEB!$2:$2,"MON",FEB!$30:$30)/COUNTIF(FEB!$2:$2,"MON")
Works great after the month is over - but now I'm in March and the formula is adding all data form row 30 that falls under MON and dividing my all MONs even if it does not have data.
How do I nest in the COUNTIF statement to only count MON IF there is data in row 30.
View 9 Replies
View Related
Jun 12, 2009
I have data columns A-C
example:
Material Year/MonthHeight in cm
1000000006200902114.00
1000000006200902120.00
1000000006200902110.00
1000000007200903107.00
1000000008200901115.00
1000000008200901111.00
1000000008200903117.00
and over about 1000 rows.
On sheet 2, i have list of material numbers (about 60 in total)
what i need is a formula that will lookup each material number in the long list
and give me the average height for a particular month.
i.e. in example material 1000000006 average for period 200902
= (114+120+110)/3 =114.67
so i'd end up with on sheet 2 columns A-F
with headings below with relevant formula for each month.
Material-Jan-Feb-Mar-Apr_may
View 9 Replies
View Related
Feb 13, 2009
In the expense log, Column C is a list of Dates and Column I is a list of expenses. I want to Sum the expenses in the 'Expense Log 09' to a new sheet based on a Date entered in H24 on the new sheet. I have tried the formula as shown below and Get the result #NAME?
=SUM(IF(Expense Log 'Expenses Log 09'!C8:C100,H24,'Expenses Log 09'!I8:I100)). I would Like to SUM all expenses After the posted date including that date.
View 5 Replies
View Related
Oct 29, 2009
I have todays date in cell A2. I have a range of dates in a row 4 and numbers below each date in row 6. What i want is to Sum the numbers below the dates in row 6 if the date in row 4 is with in 90 days before or after the date in cell A2.
Example......
The answer i should get is 4 since only 3 dates fall 90 days before or after todays date.
View 3 Replies
View Related
Jan 2, 2014
I have a table that looks like this (its basically a historical data of a stock exchange):
Date
Index
January 4, 2010
[Code]....
The List continues till the current Date.
I want to calculate Average Index Values of a Date of each month within a Date Range.
Example: Calculate Average Index Values for 3rd of Each month from 1st Feb 2010 to 3rd Jan 2011. Formula should calculate Average of the Index Values for 3rd Feb 2010, 3rd March 2010, 3rd April 2010, 3rd May 2010, 3rd June 2010, 3rd July 2010, 3rd Aug 2010, 3rd Sept 2010, 3rd Oct 2010, 3rd Nov 2010, 3rd Dec 2010, 3rd Jan 2011.
Both the Date and the Date Range is variable. Also, the Index Value for selected Date of one or more month may not be available as that being a holiday. In that case, the formula needs to use the last available Index Value before that Date. e.g. If Index Value for 3rd Oct 2010 is not available, system will use the Index Value of 2nd Oct 2010.
View 1 Replies
View Related
Jan 18, 2010
How can I reflect the correct trainee count for Day1-Batch1?
Currently columns F,G,H computes for expected, actual and total variances of trainee respectively reference to the training date J3.
Since this is a 2-day per batch even, I could not capture the 1st day trainee total of every batch because I divide the sum by 2 (2 day / training batch). The sum is only corrected on the 2nd day.
Attached herein is the sample file.
View 9 Replies
View Related
Mar 25, 2011
I have this formula:
=SUMIF(B1,">=C3:C5000",F3:F5000)
Cell B1 has a date
Every cell in column C has a combination of dates
Every cell in column F has a balance
I want to add those balances only if they are less than or equal to cell B1... w/my formula I get zero.
View 7 Replies
View Related
Jan 22, 2013
I have written the formula below:
=SUMIF($A$10:$A$77,"
View 5 Replies
View Related
Jul 2, 2007
Just getting into Excel and lookups want to SUM a 'Profit' colum if the date colum is less than TODAY - I basically have a set of data - 1 sheet per year where the dates are displayed dd/mm I want to achieve the SUM of the Profit Colum if the date is less than or equal to todays date (dd/mm only) for the year so we can compare year on year.
View 9 Replies
View Related
Dec 13, 2006
I just became a member of your forum, so please forgive me if I am not concise enough or take too long.
I imput the number of hours associated with week ending dates.
A C D
Date Hours OT
01/08/2006 6 2
03/12/2006 8
04/16/2006 3 1
I need to add up the hours for each quarter for Hours & OT
Jan-Mar
Apr-June etc
This is what I came up with, but it doesn't give me the correct value
= SUMIF(A3:A75,"<="&DATE(2006,03,31),C:C)
View 9 Replies
View Related
Apr 9, 2013
I have the following formula and it works.
=SUM(IF(AND((Transfers!B6="Labour"),(Transfers!C6="In")),Transfers!G6,""))
Basically the sheet 'transfers' has a column named type and one named in/out, the current formula I have does a logical test on both of these and then if they are both true takes the cost of it from a column named cost. This works fine for single rows. However on another sheet I am trying to use the above formula but there will sometimes be more than one entry for the same date on the sheet 'transfers' and all the same dates that meet the logical test's conditions need to display the sum of the cost on this other sheet.
View 1 Replies
View Related
Apr 28, 2014
I am trying to get a SUMIF formula to work where the following: - RANGE = Column N:N (These are all a list of dates) CRITERIA = Cell C20:D20 (These are the dates i want to look at) SUM_RANGE = Column P:P
Basically, I want to SUM all the numbers on Column P where the date in Column N falls between and including the dates in Cell C20 and D20
In attachement, I want to show in the YELLOW cells the SUM of Column P where the Date in Column N is between the Dates in column C and D.
View 3 Replies
View Related
Jul 23, 2014
I am trying to find a formula for column D on the PO Costs EOY sheet. My criteria is as follows:
1. Column b on PO Costs EOY= Column A on Fabric and accessories
2. The order date in Column A is equal or in between the dates on rows 3 and 4 in fabric or basket accessories
3. I do not want to include in the some anything before order date, ie, if the order date is 8/8, i only want to sum 8/9 and greater.
The order date will always be on the last day of the week. So the sum would start the follow week.
View 3 Replies
View Related
Jan 8, 2014
I am working on a report for work with the following formula:
=SUMIF(A5:G8,AND(between 1-1-13 and 1-31-13,"soft cost"),G5:G8)
my formula is "IF A5:G8 IS BETWEEN JANUARY 1st 2013 AND JANUARY 31st 2013 AND ALSO IF IT IS A SOFT COST THEN GIVE ME THE SUM OF THAT ROW"
Pretty much column A contains different dates and column C indicates whether a cost is a "hard cost" or a "soft cost". If the date is within the month of January AND if it is a soft cost, I need the dollar amount in column G summed-up (must meet both criteria - January and soft cost).
View 4 Replies
View Related
Jan 27, 2008
Im Trying to use a formula of countif or sumproduct
so the formula will read the range of cells from A2:A30 to see if the word Hydro is in any of those cells, then if the date range from Cell B2:B30 is from range =>Dec-01-2007 to =<Dec-31-2007, then it will count 1.
[Code] ........
But this formula doest count.
I've tried using a multiple if count if with arrays and sumproduct. I really want it to count the ammount of time the work hydro is used during the month on december .
View 3 Replies
View Related
Dec 22, 2013
I am trying to use a date range as a criteria in a SUMIF function. Below are the data and formula I am using.
Forecast
6
4
15
8
Week
1/12/2014
1/19/2014
1/26/2014
2/2/2014
Formula =SUMIF(G2:J2,">L1",G1:J1)
G1:J2 - raw data shown above. L1 = 2/2/2014. Desired result = 8. Result obtained with formula above = 0 how to make this work?
View 3 Replies
View Related
Sep 11, 2009
I am trying to sum multiple columns of data by a sumif based on a criteria in column C, the columns are weekly dated, and I wish to match columns by offset this initial column with a start date and end date and sum columns in between, I have been getting close but only returns one columns values?
SUMIF(FilterCol,$C17&I$9,(StartCol:EndCol))
FilterCol is column for criteria match
Start Col is name range - OFFSET(FilterCol,0,'Summary totals line groups'!$G$4,1,1) - End col similar, (G4 is a match date to find column ref)
View 9 Replies
View Related
Mar 24, 2014
I have a column of hours spent working on a particular task, but I only want to add the hours that fall within a two week reporting period.
Is it correct to use the SUMIF formula? If so how do I write the formula to include the date range desired? Would it go under 'criteria'?
View 2 Replies
View Related
Aug 9, 2014
I have data which is exported from my system which includes the job date and gross profit amount. I want to find the gross profit total for each day based on a matching date. However, the data exported includes the time in the date cell and Google Sheets won't match it. I'd like to avoid using a helper cell if at all possible.
You can see the formula here : [URL] ....
Formula is on the Q column.
View 1 Replies
View Related
Apr 2, 2014
I am trying to do a sumif off all dates that fall into a specific year. I know I can do it by either adding a column in either of the sources to get the translated data but I was wondering if I can get this to work by it recognizing the format within the formula only.
View 4 Replies
View Related
Jun 27, 2014
I'm currently using the below formula to calculate the values within a certain date range.
=SUMIFS(C2:C100,B2:B100,">=2014-06-27",B2:B100,"
View 5 Replies
View Related
Jan 13, 2007
The attached spreadsheet has a "master" workesheet in which I enter customer info, salesperson info, and date. The totals spreadsheet automatically calculates number of sales, contact value.
I need to modify the following formulas to only calculate the data within a date range shown in 2 cells.
=COUNTIF(Master!A1:A176,PayPeriod!A4)
=SUMPRODUCT(--(Master!A1:A176=Totals!A4),(Master!K1:K176))
=E4SUMPRODUCT(--(Master!A1:A176=Totals!A4),(Master!K1:K176))
View 11 Replies
View Related
Feb 19, 2014
Figuring out a SUMIF or SUMIFS formula which will clean up some weekly data. I am envisioning a SUMIF formula which looks at the client name in column A in a table and then it will search through the long list of data for all entries for that specific client on another sheet in column "A", for instance. It needs to take into consideration only the encounters which happened between the dates in the table for that client listed in column B & C. The sum will be the column next to the column with each client's name which has a procedure date in between the date criteria's from the table. I have attached an example to better illustrate.
SUMIF Example.xlsx
View 5 Replies
View Related
Feb 13, 2014
I have a report I am attempting to populate with data from a pivot table in another worksheet. Column A holds all the reference numbers (primary key), column B contains various start dates, and I want column C to contain all the payments made since the start date for each reference number.
The source data is a pivot table with Row = Reference number, column = transaction date, values = transaction amounts. This is an extremely large table, as I'm processing data from almost 1,200 cases, which each have around 20 payments spread over the last year, on completely random days. What I would like to do is build a formula in my report which looks up the records for the reference number from column A, and then adds up all the payments which have been made after the date in column B (and ignore any payments in the table which are before that date).
And to make things more complicated:
if an error is generated, it needs to return as 0, not #N/AThe report has the dates in UK format dd/mm/yyyy, but the pivot table has the dates in SQL format: yyyy-mm-ddThe pivot table is connected to a SQL database via ODBC and has to refresh every time it is opened.
=IF(ISERROR(VLOOKUP(A2,'Transactions'!$A$2:$B$1194,2,FALSE)),0,VLOOKUP(A2,'Transactions'!$A$2:$B$1194,2,FALSE))
View 5 Replies
View Related
Mar 21, 2014
i have an Excel sheet that contains Dates and Number of Logins pr Hour I need to get the average number of Logins pr hour each day.
Like this
Date Logins Average Login pr hour That day
21.03.14 12:00102 21.03.14 91.8
21.03.14 11:00107 20.03.14 83.25
21.03.14 10:0053
[code]....
View 2 Replies
View Related
Jun 8, 2009
I would like to get a monthly average between the first of the month & the end of month of a handful of percentages collected during the month for individual projects.
View 10 Replies
View Related
Apr 12, 2012
I have values in A2 cell & i need to take Average in to b2 cell as per date.
example A2 cell value is 1000 & today date is 12th then B2 value should =1000/12=83.33, like that tomorrow B2 value should 1000/13=73.92.
View 2 Replies
View Related
Apr 22, 2009
I have 2 column as below and I want to calculate the average number of days
ABC occurs.. In this case it should be 3.33
Col A Col B
01-AprABC
01-AprDBA
01-AprABC
03-AprGRT
05-AprHTA
05-AprJYU
08-AprABC
08-AprGRT
08-AprHTA
10-AprJYU
11-AprABC
View 9 Replies
View Related
Jan 8, 2008
in the attached excel file, in cell D21, i have tried to join my SumIF/CountIF formula together with my 2 date range vlookups.
the first vlookup is for the start of november and the 2nd vlookup is for the end of november.
in essence, i want to the average price of all 6160 printers sold in November 07 period.
i cant get the formula working, so any help would be much appreciated by me.
View 7 Replies
View Related