1. R

    Averageifs within a Table

    Hi All, This has probably already been answered on here but I have tried a few different solutions and not managed to get what I am looking for. I have a Table with Days in D1:AE1, Dates in D2:AE2 & Intervals in C3:C29. Then I have the relevant data in each cell based on that time and date. I...
  2. L

    Average all values in two different columns that are between two values?

    Hello all, I am trying to get an average of values in two non-consecutive columns, and only include values between 80 and 120. In the screenshot below, I would like to average the values in columns I and K together. I also need to exclude any "" cells and cells that may contain #N/A. My full...
  3. X

    averageifs in filtered table

    Hi, I am trying to calculate the average from a table using the averageifs function, because I only want to take into account the numbers between the lower and upper boundary (LB and UB). I know I need to use the subtotal function to not take into account the hidden cells. I could not find...
  4. B

    calculating average with multiple criteria and removing outliers

    Good afternoon, I have built with power query a list of payments made for the last 4 years to employee's. I am trying to calculate the bi-weekly average salary of those 10 000 employee's based on 2 criteria's. For each employee / fiscal year, I want to find the average bi-weekly payment. I want...
  5. B

    Use AVERAGEIFS based on dynamic criteria

    I'm trying to average a set of cells based on multiple criteria (hence the AVERAGEIFS), but I want this average to change as more data is added. There may be a very simple fix for this, but I can't figure it out for the life of me. Below is a sample of the table followed by an explanation of...
  6. willow1985

    Help with a complex AVERAGEIFS formula

    I have the below SUMIF formula that works in my spreadsheet that I would like to modify to AVERAGEIFS based on all of the same criteria minus the column to Average. I tried to sub out SUMIFS with AVERAGEIFS but all I get is a #DIV/0! error. Not sure why I am getting the error. I have also tried...
  7. P

    AVERAGEIFS not giving expected value

    Hi, I am trying to do an AVERAGEIFS formula but the provided answer is not correct. Current formula I have is =AVERAGEIFS(D:D, B:B, ">="&A2, C:C, "<="&A2) I have a long list of sequential dates in Column A, column B is the date a device was sent (or today if not sent), column C the date it was...
  8. W

    Average individual cell values between two columns and count the number over X

    I have two columns in Excel: <tbody> Column A Column B Res Qty Total Hrs 2 66 1 30 Res over 32: 10 3 93 3 102 5 180 5 155 ... row #57 ... row #57 </tbody> (66/2 = 33, 30/1 = 30, 93/3 = 31, 102/3 = 34, 180/5 = 36, 155/5 = 31) > 32 count = 10 Question: I want...
  9. M

    Average ifs for filtered data (visible data)

    Hi Everyone, This is my first post here! I am trying to play around with data on a trading strategy I have been working on. I have attached my problem into a new spreadsheet. The real original spreadsheet will be too large to attach here. What I need: I want to be able to filter data e.g...
  10. G

    Dynamic average_range by column text in AVERAGEIFS formula

    Hi, I am trying to obtain an average from multiple criteria using AVERAGEIFS function. The issue is I want to be able to specify the average range in a dynamic way based on column header name. I used index/match to specify the column name using header name for AVERAGEIF and it works like a...
  11. R

    Averageifs with multiple criteria

    The formula listed below is only averaging items for "5B" and does not include items from "LI". I have tried everything I know to get it to produce the desired results. Any ideas? =IFERROR(AVERAGEIFS('WORK ORDERS APPROVED DATA'!$N$7:$N$3500,'WORK ORDERS APPROVED DATA'!$G$7:$G$3500,P11,'WORK...
  12. M

    Weighted salary by salary band

    Hi I'd like to calculated the average salary for employees based on salary bands. The table below shows salary bands and the number of employees in each band. What's the best way of working out the average salary by salary band? I thought about taking the mid-point of the range then...
  13. C

    AverageIfS Function

    I am having trouble with this AverageIfS function. It seems to only calculate the average of the "A" criteria and is not including "UC" & "US" criteria. The result in this case I receive is 76 and it should be 62.6. Thank you for your help. FORMULA: {=AVERAGEIFS('GSMLS Data'!B:B,'GSMLS...
  14. M


    Hi I need to use an averageifs formula to get the average UNIT price of Item SKUs greater than 30000 in the data below and ensure that Quantities of 0 are excluded. I've tried to use the following formula =AVERAGEIFS($B$5:$D$24,$B$5:$B$24,">30000",$C$5:$C$24,"<>0") but get a value error...
  15. I

    AverageifS on a range containing Div/Value/Error...

    Hi all, <tbody> 10 Correct Yes 5 Correct Yes #Div/0! Correct 15 #Value! Correct </tbody> I simplified my problem in the above table. I want to use the averageifS formula on the first column using criteria: Correct and Yes. I know I can use a simple criteria: ">0". Is there a way...
  16. P

    AVERAGEIFS with multiple criteria on one range

    Hi all, I have an AVERAGEIFS statement that I need to take two different criteria on one range. when I try it, I get the good ol' #DIV/0! error. The statement is as follows: =AVERAGEIFS($B:$B;$C:$C;"MRO";$D:$D;"<25";$E:$E;"jakarta";$E:$E;"bali";$R:$R;">=01/01/2018";$R:$R;"<=31/01/2018") It...
  17. J

    Averageifs #div/0

    <a href="https://ibb.co/iG32we"><img src="https://preview.ibb.co/m6oD2K/Capture.png" alt="Capture" border="0"></a> What am I doing wrong?
  18. D


    Hi All I am looking for help building an averageifs formula. The formula needs to average between 2 dates which will be across the top of the data, and take in to account a third variable which will be to the left of the formula. This is the formula that I currently have...
  19. E

    Issue with AVERAGEIFS function

    I have weather data for a year that I am trying to average based on the hour. My averageifs function keeps giving me a #DIV/0! error and I can't figure out why. Any help is appreciated. Equation: =AVERAGEIFS($C$2:$C$11085,$I$2:$I$11085,"="&R2,$K$2:$K$11085,"<="&S1,$K$2:$K$11085,">"&R1)...
  20. R

    Average Ifs not working

    Hi I was trying to use averageifs to average numbers I have in row 1 from A1:AV1 by a corresponding criteria number I have in row 2 from A2:AV2. So if the numbers in the cells in row 1 have a 1 below in the criteria row 2 they are averaged in row 3 and the same for all the other criteria...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back