Sumif And Countif By Month?
Dec 1, 2008I play poker, and I have a live session log in an excel spreadsheet, like so:
View 2 RepliesI play poker, and I have a live session log in an excel spreadsheet, like so:
View 2 RepliesI want to calculate the average perofrmance % of 8 lines, the data isn't in one set of rows and some lines may not have values so I'm trying to account for this in my summary.
The code I'm struggling with is this...
=SUMIF(C5,C10,C15,C20,C25,C30,C35,C40,">0")/COUNTIF(C5,C10,C15,C20,C25,C30,C35,C40,">0")
In attached sheet, I am trying to find total cost by month only for year 2009. Currently formula I have in Cell c24, is {=SUM(IF(MONTH(B2:B9)=1,D2:D9,0))} But this calculates for all years, not just 2009. How do I modify above formula, so for each month, it shows total cost but only for 2009?
View 2 Replies View RelatedI often try to set up a countif or a sum if that is conditional on two or
more conditions. For instance - I have Radio stations listed in one column,
flight dates in another column, number of contacts for each flight in another
column and appointments created from those contacts and finally, revenue
generated form those appointments. One example would be to sumif column one
equals the radio station and column two equaled the flight date then give me
the revenue.
I have a table with 3 columns,
Project Person Hours
A B 1
A C 2
A B 3
So on project A persion B has worked 4 hours. I seem to be able to use sumproduct for counting how many times the person is in the project but I cannot seem to add on the final hours part.
It's been awhile since I've used excel formulas so I'm very rusty but I need to count the number of times I see a particular item in a list as long as it has another criteria as well. Example List and Result are below: I want to count the number of AAA Rewards that Alex has....
List
#DateEmployeeAmountReward Type
14/17/07Alex$5.00AAA Reward
24/19/07Joe $10.00AAA Reward
34/19/07Alex $5.00 Store Certificate
44/20/07Alex $10.00 AAA Reward
Result
Employee # AAA Reward Amount # Store Certificates Amount
Alex
Brian
Joe
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.
I am trying to extract some data from a large spreadsheet and having problems...
Column C contains text descriptions, e.g 'Description One', 'Description Two', 'Description Three'
Column O contains a date.
I need to count the number of items that have a date prior to 1st April 2007 and have certain text contained in the full text string value in column C e.g. 'One'
I've got a table that contains a lot of text that i need to summarse in another table. Its really just two columns the first contains a group name and the second a result. What I need to work out is the number of times the result occurs for each group. But every work sheet function I've entered fails.
View 5 Replies View RelatedI have a data range with 3 columns - A -employee number, B -charging number, and C -charge amount. "A" shows multiple times and must be associated with value from "B". I am looking for totals of "C" for any combination of "A" and "B".
Ex.
A B C
1 101 6
1 201 7
1 101 4
2 301 6
2 101 1
2 201 4
3 201 5
3 401 7 etc.
I am looking for totals (from column C) for A and totals for A with defined B. e. g.:
1 for all 101
1 for all 201
1 total
2 for 201 etc..
I've come across a problem using the =SUMIF/COUNTIF function in excel. It incorrectly calculates blank cells as zeros.
=SUMIF(D4:D54,"Solar",T4:T54)/COUNTIF(D4:D54,"Solar")
The correct output should be 100%, but shows as 66.67% because of the blank cells in the column. How do I correct this?
DATA: D1:D11 contains either blank cells or a dollar figure from a payroll check.
E1:E11 contains either blank cells or the date of the check.
Current Situation: Using the following formula I obtain a weighted average of the pay checks, not including the largest. =(SUM(D1:D11)-MAX(D1:D11))/(COUNT(D1:D11)-1)
Problem:
I desire to calculate the weighted average based on the checks issued only prior to a certain date. I have used SUMIF() in other parts of the workbook successfully but needing to withold the largest value has presented me with a problem I can not find a solution to. =SUMIF((E1:E11,">="&TargetDate,D1:D11)-MAXIF(E1:E11,">="&TargetDate,D1:D11))/COUNTIF(E1:E11,">="&TargetDate,D1:D11)
I am trying to produce a report of supplier transactions sorted by area code. I have a spreadsheet of data consisting of Supplier Code, Supplier Name, Transaction Amount and Area Code.
I want to be able to firstly seperate the transactions by area, then also consolidate the data so it shows one row per supplier with total amount spent on that supplier and a transaction count on that supplier. I know how to sumif the transaction total and countif the transaction count.
However I have problems consolidating the suppliers in to one row per unique supplier and I also have problems nesting an AND statement in to the sumif/countif statements. I need additional criteria in the forumula to only count transactions in a specified area code.
I've attached an example spreadsheet to make it alot clearer. See results sheet in this workbook.
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))
It's actually a sumif/countif that works fine if i sort my table, which i don't want to do.
Here's the original formula:
Code:
(SUMIF(H4:H35,"1",G4:G35)/COUNTIF(H4:H35,"1")*1+SUMIF(H4:H35,"2",G4:G35)
/COUNTIF(H4:H35,"2")*2+SUMIF(H4:H35,"3",G4:G35)
/COUNTIF(H4:H35,"3")*3+SUMIF(H4:H35,"4",G4:G35)
/COUNTIF(H4:H35,"4")*4)/10
I'm trying to apply the formula using some other filters, like if(C4:C35=O5 & I4:I35=M5).
I tried creating a SUMPRODUCT out of it but it was just as bad:
Code:
=(SUMPRODUCT((C4:C35=$O$5)*(I4:I35=$M$5)*(H4:H35=1)*(G4:G35))
/SUMPRODUCT((C4:C35=$O$5)*(H4:H35=1)*(I4:I35=$M$5)*1)*1+...
And also this with sum(if)
Code:
=(SUM(IF(C4:C35=$O$5,IF(I4:I35=$M$5,IF(H4:H35=1,G4:G35))))
/COUNT(IF(C4:C35=$O$5,IF(I4:I35=$M$5,IF(H4:H35=1,G4:G35)))))*1+...
Is there a shorter formula that I'm not seeing ? I'm also confronted with the need of adding an "ISERROR" in the formula because not all ranges have the 1-4 numbers in column H.
I have several numbers that are contained in non-adjacent cells. I need to create a cell that will evaluate the cells individually to make sure that they are within a certain range. Once that is done, I want the remaining numbers that are within the range to be averaged. How the heck can I accomplish this task? SUMIF and COUNTIF will not allow me to use non-adjacent cell ranges.
View 9 Replies View RelatedColumn A have random dates and column B have numbers. How can sum numbers for each month By sumif function ?
View 8 Replies View Relatedi thought i had something sorted out for this yesterday, but coming back to it today it hasn't worked at all.
i've created a spreadsheet with records of what jobs my heavy plant repair company has opened, which contains such data as when the job was if and when the job was closed and the value of the job when it was closed.
now i have to create a summary sheet that totals the values of the closed jobs in a given month. i've included an mock up of the database in question, but i just can't seem to get it to work.
How do I amend this formula to have it only trigger on a certain month.
=SUMIF(C:C,1,F:F)
Date Description CatCost feesTotal Balance
20/02/12 PayPal Credit 10$0.10 $0.00$0.10 $0.10
20/02/12 PayPal Credit 10$0.01 $0.00$0.01 $0.11
26/02/12 Payment 1$174.69 $4.49$170.20 $170.31
I need it to look at what month it is and then the category.
I'm trying to use the SUMIF function based on a specific month. This month formula has to choose from a range of dates. Currently, the month to report (5) is the only one that works. If I have dates in June and choose 6, it doesn't work.
This is the formula I'm using right now:
=IF(MONTH('Drafting Errors'!C:C)='Error Metrics'!C1,SUMIF('Drafting Errors'!A:A,C5,'Drafting Errors'!N:N),"No data for this month")
Below is my function. I use it to count the number of times a value in A9 appears in Sheet2. I would like to edit my function to count the value in A9 that appeared in a given month in U6.(U6 is 12 for decemeber)
=IF(LEN(A9),COUNTIF(Sheet2!A:A,"*"&A9),"")
This is what I thought it would have been but I think I'm wrong because the function is not counting by month.
=IF(LEN(A9),COUNTIF(Sheet2!A:A,"*"&A9),IF(MONTH(Sheet2!D14:D9000)=U6,"")
How do I 'countif' for a particular month of the year?
I have a long list of dates and need to count how many are in January, february etc.
I have a table in which we track our daily issues.. A1 - A6
Resource/Subject/Date/Time Of Failure/Escalated/Tech Int
I want to be able to count the amount of escalations we have per month...
We just enter a Y or N for the escalation field.
I'm not great with Excel and can do a count with the COUNTIF but don't know how to separate my results so that the count is done per month..
Can someone point me in the right direction?
*EDIT* Also my date format is as follow's 04-Jan-07. Should I change that to make it easier to calculate the results?
Column A have random dates and column B have numbers. How can sum numbers for each month By sumif function?
View 6 Replies View RelatedI am a memeber of this forum for more than a year, and currently assign into a new assignment which dealing an excel file everyday. We have one excel file for moniroting of action items generated by the management after the study. As since there were around 2,500+ rows has been generated since in the beginning of 1990's till todate. So I was thinking of instead of getting the result through filter manually, I want to create a formula that will count of how many has been closed this month out of the total numbers of action items.
Is it possible to use the COUNTIF formula to count the number of items in Col C, where Col B contains a date?
2-Jan-13 Closed
2-Jan-13 Closed
5-Jan-13 Closed
19-Feb-13 Closed
16-Feb-13 Closed
22-Feb-13 Closed
2-Mar-14 Closed
5-Mar-14 Closed
8-Mar-14 Closed
10-Mar-14 Closed
15-Mar-14 Closed
I need a macro to automatically update 50 cells (currently done manually) with the calculation below. The calculation is different in each cell ie a different range is specified but the concept is the same.
COUNTIF(‘SHEET 1’!$A$1:$?$99,”X”)
SHEET 1 remains static
$A$1 remains static for the particular cell - each cell has a different value
$?$ ? moves to next column number each time the macro is run
$?$99 99 remains static - each cell has a different value
“X” remains static - differs from cell to cell
I am trying to count the number of dates in November - is there a Countif function or Sumproduct function that would return the number of dates in November?
BroadwayCombined
H3411/4/20113511/4/20113611/4/20113711/3/20113811/3/20113911/3/20114011/3/20114111/3/2011
4211/3/20114311/3/20114411/2/20114511/2/20114611/1/20114711/1/20114811/1/20114910/31/2011
5010/31/20115110/31/20115210/31/20115310/31/20115410/31/20115510/31/20115610/28/2011
5710/28/20115810/28/20115910/28/20116010/28/20116110/28/20116210/28/20116310/27/2011
MS Excel Version : 2010
Attached File name : countif for a given month.xlsx
I want to a sum the given condition xxx / yyy according to the month in yellow cells.
MS Excel Version : 2010
Attached File name : countif for 2 conditons a given month.xlsx
I want to a count with given 2 conditions AA11 / BB22 and xxx / yyy according to the month in yellow cells.
i have a list of employess who i need to count each month. i need a way i can say count if >0 for month = Oct. each employee has a summary of there work for a month in a list going down.
example
___John
Jan__0
Feb__19
Mar__50
___Bob
Jan__4
Feb__56
Mar__12
Right now i have a way i am summing up the total work for all the employees
"=SUMPRODUCT(B21:B512,--(A21:A512=A4))" <------'A4=Jan in the formula'
How could i change this to reflect count the employees and not sum the total? The idea is a need to know how many employees had a number greater then 0 for the month of Oct.