Count, Countif, Sumif
Jul 13, 2006
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
ADVERTISEMENT
Mar 12, 2009
I 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")
View 9 Replies
View Related
Dec 1, 2008
I play poker, and I have a live session log in an excel spreadsheet, like so:
View 2 Replies
View Related
Jun 20, 2006
I 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.
View 9 Replies
View Related
Jan 25, 2010
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.
View 2 Replies
View Related
Apr 20, 2007
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
View 12 Replies
View Related
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
Sep 24, 2009
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'
View 9 Replies
View Related
Oct 29, 2008
I 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..
View 2 Replies
View Related
Jun 2, 2009
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?
View 10 Replies
View Related
Jul 6, 2009
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)
View 4 Replies
View Related
Jun 10, 2014
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.
View 3 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
Mar 6, 2013
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.
View 9 Replies
View Related
Jan 9, 2008
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 Related
Feb 20, 2007
I have a block of data spread across 5 columns (A-E)
Data in column A is unique to each row . Data in Column B is a name (text) that repeats occasionally, C, D, & E are numbers.
I would like some formula or macro that will detect duplicates in column B and sum the corresponding data (in columns C,D,E). I am not sure how to work the sumif function (assuming that is what will work in this case).
Now the tricky part is that I want the count of how many times names in column B occured to appear in column F.
Basically I would a new block of data with B,C,D,E and F as an output.
View 9 Replies
View Related
Jul 8, 2014
I have a tracking spreadsheet that covers the movement of people in a care facility. I have a COUNTIF string to cover the days of the month, however I need to find a formula to start off that string with, that will do the following:
If cell A6 (Last Name) is blank then do not count cells M6 through AQ6(my days of the month). If A6 has text then count M6 through AQ6 using COUNTIF formula I have in place, which is located in cell BC6
=COUNTIF(M6:AQ6,"")+COUNTIF(M6:AQ6,"HLV")+COUNTIF(M6:AQ6,"TLV")
+COUNTIF(M6:AQ6,"ADM")+COUNTIF(M6:AQ6,"RTN")+COUNTIF(M6:AQ6,"LCCN")
Master SS 31 DAYS.xlsm
View 6 Replies
View Related
Aug 16, 2007
I have two columns on sheet called back1! if a number is put in a cell from P5 down to P40 and a corrosponding number matches in K5 to K40 I want to be able to count it as 1.
So if a number is in k6 and a number is in P6 it counts as 1.
and so on down the cells.
View 9 Replies
View Related
May 5, 2014
What is the formula on B2 to drag down to count entries of cell 1 which are 10 and 10 result being 2.
View 4 Replies
View Related
Jun 22, 2009
I need to add the total of staffs hours worked for one day, but the problem is that I don't recieve the data as hours but as symbols(letters of the alphabet) representing time worked. Eg "A" is 3.5 hours, "B" is 4hours "C" is 4.5 hours ect, ect.
In the example the top table is a one month time sheet for each staff and there working shifts. The bottom table is the part that I need a formula for. I need a total for each symbol for each day so I can total the hours at the bottom where it says total hours. I have given an example on how the bottom table should look when the formula is completed.
View 2 Replies
View Related
Nov 12, 2008
I have a column of values in "£"s and i need to count how many entries there are within a range. I have been able to do it with text but not money values with £ signs!!
View 2 Replies
View Related
Dec 19, 2008
I am not sure how to go about this but here is my problem: text in cells a40:A147 containing card number this: -01- and cells h40:h147 containing and "x" if the card -01- is closed. Now I want to count all the -01- cards that do not have an x in the h40:h147 cells and I need to count all the -01- cards that do not have an "x" in the h40:h147 cells.
View 2 Replies
View Related
Nov 25, 2013
I have a bunch of cells that i want to count in a table based on 2 criteria. The first would be checking whether or not it matches a certain text which i can do. Now i have a column for "Completed Date" and "Deadline Date". Each deadline date is different. I know i need some sort of array function in there to compare all the completed dates vs deadline dates but i just can't think of it. This will be the second criteria.
View 3 Replies
View Related
Feb 3, 2006
i am trying to get totals from data and am using 2 different times to count from (eg. i am trying to find how many cells contain times in the 6:00 am to 2:30 pm range in the same column...I can't seem to be able to count these correct.
View 5 Replies
View Related
Sep 16, 2008
I am analyzing a quota schedule. I need to count the cells in a row until I hit a value in one of the cells in that row (lets say cell>=30). Then I want the formula to evaluate the next two cells in front of that cell to determine if either is >=30, if so then the formula counts up to the original cell. This will determine # of days out for a install or trouble call lets say.
I have messed with a combination of IF, CountIF, and Match statements and just seem to hit a dead end. Any thoughts, even if it is that I may need another approach, is welcome.
Here is some code I have tried to no avail: ....
View 14 Replies
View Related
Jul 2, 2009
I have a spreadsheet designed for softball schedule for an entire league and am trying to come up with a way to count certain information so that I can figure out if the schedule is balanced. What I'd like is for a way to sum the number of games each team plays on diamond 3 or 4 and to sum number of games at 6:30/7:30/8:30
View 2 Replies
View Related
Jan 3, 2007
I currently have a sheet with Wins & Losses being identified with a L and a W
Example Colums b1 = w, b2=w, b3=w & b4 = L
Now if i want to do a total of the longest winning streak at the bottom of Column B How would i structure my formula to count multiple wins in a row.. Currently im just counting total wins but i also was to count winning streaks & losing streaks..
To count im using =COUNTIF(B$6:B22,"w") and =COUNTIF(B$6:B22,"t") for TIES and for losses im using =COUNTIF(B$6:B22,"l")
View 9 Replies
View Related
Jun 3, 2014
I have been looking for a way to count the number of cells in a column that do not contain the word "No." I used the countif formula to count the cells that do contain "No" but I need a formula to count cells that contain anything but the word no.
View 11 Replies
View Related
Oct 29, 2008
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.
View 2 Replies
View Related
Aug 15, 2006
How can I use COUNTIF to count the values in a range which are greater than 0?
I put =COUNTIF(B2:B100000)>0 but that didn't work?
(I'm using XL 2007 hence the range greater than 65000 rows. But I don't
think COUNTIFs syntax has been changed in 2007 so I assume I'm having a brain
fart.)
View 3 Replies
View Related