I have a database of information for which I need to be able to calculate the average of the top 20% for each column for all those rows that meet a certain criteria. In other words, I need a formula that's equivalent to the DAVERAGE function but I only want it to work on the top 20% of records that meet the criteria range that I've specified (as opposed to DAVERAGE which works on 100% of records that meet the criteria range). The database continues to grow so I'm unable to predetermine what quantity makes up this top 20%. I've attached a small sample file to show you what I'm talking about.
I am trying to find functions that allow me to categorise game attendance by team and day. EG: Out of the list, I would like to summarise the min, average and max attendance for the Broncos on Fri, Sat, Sun and Mon games (and for each team)....
I'm using the formula =AVERAGE(B16:L16) to give me the average.
However I have a couple of problems with this. Firstly I would like to exclude the value zero from the average. Secondly to also ignore the lowest and highest values.
Example, if the values in the cells are 0,1,2,3,4,5,6,7,8,9,10 then the current result shows 5, by ignoring the 0 and lowest value 1 and highest value 10 the average should be 4.5.
I am currently trying to create a database of products for my company. For each product I would like to include an image associated with it. I then want to have on another sheet a place where the user will click an error and be able to cycle through the products. As tehy cycle the associated image will pop up.
What I need to understand is after importing the image into excel, how do I associate that image to a cell so I can reference it in another sheet of the database. I am not concerned with how large the database will get, my pictures are quite small.
I'm trying to lookup a database named database and return a time in column A, based on criteria in cells a1 and b1 on another sheet, A1 would contain a number and B1 would contain a day from mon-fri
eg of Database A B C D E F G 10:00 5000 Mon Tues
11:00 5000 Wed Thur Fri
and so on
if a1= 5000 & b1=Wed how can I return 11:00
I have tried index and match =index(a:a,match(a1&b1,b:b&e:e,0))
I want extract data from 1 database and I know how to do it with the Pivot Table. Unfortunately, doens.t show it the way I want. I have attached one file with my problem - pls, check sheet RPT.
I need building a formula to pull information from a database file. The purpose is to try to interpret the data so that I can analyze a time period along with it's content. I don't know how best to explain it. Basically I have a table and I want it to pull information based on 3 criteria: time, type, and total. I would like for the formula to identify a time frame, then identify a type, and then take the totals and add them together.
Time / Type / Total 11:31 /1 / 4 11:43 / 1 / 6 12:04 / 2 / 1 12:31 / 1 / 3
Time / Type / Total 11:30 - 12:00 / 1 / 10 12:00 - 12:30 / 1 / 3
The top is the database and the bottom is basically what I want to happen on the other table. Pretend the / and dividers for each column.
I've used a countifs, but I'm having trouble doing a sum in a similar way. I have 2 databases and I will try to explain below. I need the to sum the values of database 1 if the second database is >= 20. So the value I would expect on this example would be 900. I would also like to be able to highlight which ones are elliminated. Such as coloring the text red.
I did copy/paste lots and lots of pages from an online database into excel and the data all has a hidden leading space that is not recognized when i do find and replace or =trim. I am trying to compare this data against other data in excel and all the formulas are "false" unless i remove that space manually
Cell: F6 is to represent "average weekly offering".
D2:D53: represents the Total Given Year To Date. I need a Weekly Average for Offering, so is it possible to have a formula that can show the average weekly offering in cell F6?
I'm building a yearly workbook with multiple worksheets (i.e. one for each month, quarterly reports and one final yearly report). My question is that although I can have the data transfer easily to my quarterly and year end report sheets, I can't seem to figure out how to filter my data and then calculate an average based on personnel averages in the various categories I have set up.
My example is that I want to be able filter my personnel shifts (i.e. 7am, 3pm, 11pm, etc) and then set up a formula which can for example calculate a column of data and average it only based on the employees working that particular shift. My formula should adjust for the shift time I pick.
The number of columns vary, but the number of rows is constant. Lets assume, max_col is the number of columns and max_row is the number of rows per report. Then, I need the following logic as VB macro.
I have a large amount of data in 2 columns which I want to statistically average to see if a relationship exists between two variables.
Column A: Contains Iodine concentrations ranging between 0 and 22000 ppm. Column B: Contains Nitrate (NO3) concentrations ranging between 0 and 22 %. I have over 7500 rows of data. In theory there is an endless amount of data but it will all be kept in these two columns
What I want to do is create average values of NO3 based on set Iodine ranges.
e.g. I want to know the average NO3 grade for the cells where the Iodine concentration is between 0 and 99 ppm.
I want to be able to calculate this average based initially on 100ppm Iodine bins but dont know what clause I would need to add into the formula or if this is even possible.
I would also like to be able to edit the bin size to see if I can discern a better relationship between the two using different ranges. As such I can create the bins in a separate column but again I don't know the best way to do this to make it work well in a formula.
I am trying to average a data set where some rows at the moment are blank but will update at a later date, I am getting a div/0 error, the formula I am trying to use is
=IF(C23:C30="","",AVERAGE(C23:C30))
I thought this would look at the data and see if its blank leave it blank but if there are numbers there it would give me an average.
I am trying to do an average of quartely results (2008 results) and because certain quarters can have no data present then my quarter shows 0%. But if i do a simple average of all Qs then the 0% affects my overall year to date. I need to keep the 0% because it may be a legit value. So i've devised a way to is if we actually have something in the cell (using isblank). So i test with isblank and if something is present then i use the Quartely value. It could be 50% or it can be 0%.
I would like to incorporate the snapshot but i can't because i do not have access to uploading a picture. If any of you wish i could email the pictures. When i test out my formula in different cells its works but when i combine them all together i get #VALUE! error.
In the example the error comes from the Q3 which test out and should give "" but when its added to the formula i gert #VALUE!. Shouldn't the average function disregard "" cells?
My formula is: =average((if(and(isblank(F33),isblank(J33),isblank(N33))," ",R33)),(if(and(isblank(T33),isblank(X33),isblank(AB33)),"",AF33)),(if(and(isblank(AH33),isblank(AL33),isblank(AP33)),"",AT33)),(if(and(isblank(AV33),isblank(AZ33),isblank(BD33)),"",BH33)))
Maybe my logic is flawed or there is a better way to do it. Either way i would like your opinion on it.
I need to count the daily average of a task to a week ending number. I need to see the current average after each day during the week. Example Mon = 2, Tues = 4 AVERAGE is 3 Wed = 2 AVERAGE IS NOW 2.6 and so on averaging out after each day is added.
All found formulas average within a string (ex. A1:F1).
My spreadsheet contains a series of three columns.
Example: Column A reflects a number stat for a month (January). Column B reflects another number stat for the same month (January) Column C reflects the difference between Columns A & B. Column D reflects a number stat for the next month (February) Column E reflects another number stat for the same month (February) Column F reflects the difference between Columns D & E. and so on.
I would like to average the rows stats reflected in Column A, D, G, J, and so on.
Also, I would like to average the rows stats reflected in Column B, E, H, K, and so on.
Also, I would like to average the rows stats reflected in Column C, F, I, L, and so on.
There are (i think) 5 t-ball coaches 25 5 yrs old 44 6 yrs old each were score on RUN, THROW, GROUND BALL, FLY BALL, BATTING, scores were: 5-Excellent, 4-Very Good, 3-Good, 2-Average, 1-Fair
So I was thinking of making 5 sheets (one for each coach, with their scoring for each players)
The last sheet will be what the Average would be for each area from each coach, giving me a general idea about the players that I didn't get to watch and score.
So how would I formula the Avarage sheet?
Again I'm on short notice, and need to have this done on Sunday, when the information starts to come in and I can data-entry the scores, and have it ready for Monday nights draft.
Trying to average multiple cells that are not consecutive and contain zeros that i want to disregard. I have tried to do an array formula but the cells must be consecutive so I am at a loss. This is what i tried. =AVERAGE(IF(A2,A8,A12<>0,A2,A8,A12,))
What I am trying to do is rank my employees based on certain metrics. They are weighted in three different catagories. Talk time is 40%, Quality 50%, Attendance is 10%. I can weight the Talk Time and Quality, as those are basically the higher the score the better the weight. Attendance is the opposite, the lower the number, the higher the weight. Meaning, if employee has 1 absence that would better than someone who is at 4 absences. Is there a way to do this. I am somewhat educated on VBA, I understand if,then,else statements and/or Select/Case statements, so if I needed to do it in VBA I can. I just need direction to get it going.
I am trying to create a formula that looks for the last populated cell, counts 12 cells back and returns an average for all of the cells in that range. I know I have done this before with some combination of INDEX and COUNT, but I can't seem to remember how I did it and my experimenting is not proving fruitful.
Attached is a simplified version of the layout I am working with
I'm trying to figure out a formula that will give me monthly average (per person) on the following report. The problem is that people start at different times and sometimes they don't produce in a given month after they have started. Basically I'm trying to get a monthly average from starting month to the last full month, in this case January.
I have been asked at work to get some averages of data from an excel sheet. I have attached a sample workbook of the data i will be using. On Sheet1 is the data that will be looked at and on sheet2 is a sample of the results i need to achieve. I can get the data on sheet2 easy if i knew that data was static but in my case the data is going to be dynamic, so i don't know how many records each person is going to have each time if that person shows up in the record set at all. This rules out on static ranges to gather averages.
So far what i came up with is i use a macro to copy all the "Names" column to sheet 2 and then filter that data so that each name is unique, sort like a "key" for looking up values. Now i need to get averages of "Total Hours" worked in sheet 1 and display it in sheet 2 for each "Name". I have a formula worked out and almost have it where i want it but cant seem to get the range of data i need to be looking at. I need to get the Average Of hours Worked Per Person Where "Wk End Date" is greater than 1/1/2008 and the "name" matches up with the name in sheet 2.
Im having a problem finding a formula that will count and take an average of multipul ifs.
On sheet 1 of the attached file is multipul queries raised for us to answer. On sheet 2 is an empty table which i would like help formulating.
In the Submission Lag Time Column i would like a forumla that looks down Column L on Sheet 1 and gives me an average for the amount of days a query has been with us from each company (column B) per month (going off the dates in column D).
I the same formula will be used for the other 3 columns, put looking down a different column on sheet 1.
How to go about fixing my spreadsheet so I am not having to manually update it each day..here is my forumla I am currently using...=(AVERAGE($D$2:$AH$2)-C5)*AI5...basically i need the cell below in D2 to change as every day a new day rolls off..for example the following day I need this formula to be =(AVERAGE($E$2:$AH$2)-C5)*AI5 ....so just that day changes.....do I need to use an If/then statement? if so how?