I have two columns of data. I need the formula to pull the three highest values from both columns and average them.
55,000.00
87,769.12
85,839.97
56,650.00
58,349.50
60,099.99
61,902.98
63,760.07
65,672.88
67,643.06
These values will change and the formula needs to analyze all of the cells constantly to pull the three highest and average. Any help would be appreciated! Thanks!
This formula will do this:
=AVERAGE(LARGE($A:$A,ROW(A1:A3)))
You need to enter it with Ctrl-Shift-Enter.
In your specific example, use this formula:
=AVERAGE(LARGE((C11:D13,M12:N18),ROW(1:3)))
Related
I have two separate columns in an excel spreadsheet calculating gambling profits
when a free bet is placed, the total payout column and the total won column will be the same
i want to write an excel formula that will count how many times these two columns have the same value within the same row
I was able to use COUNTIF and COUNTIFS formulas for everything else I was trying to accomplish, but I can not figure this one out
thank you
Using SUMPRODUCT and the double unary --:
=SUMPRODUCT(--(B2:B5=D2:D5))
I have the below table in excel
And I want to add a overall line total in for all w/c columns that have a invoice number in the column next to it.
For example I have used =sumif(B2,">0",A2) to bring back the total for w/c 1st but how can i add all values together across the multiple columns - essentially trying to do a sumif multiple range (if that is possible) to get the same result as the below example:
Any help or alternative method to achieve this much appreciated.
You could try:
Formula in I2:
=SUMPRODUCT((ISODD(COLUMN(A2:G2)))*(B2:H2<>"")*A2:G2)
I have a spreadsheet (Office 365 Pro) that has numeric data in multiple columns. I want to average data in those columns if specific multiple criteria is met in other columns.
For example, one formula that is in use:
=AVERAGEIFS(K:K,C:C, ">=01/01/2021", C:C, "<=1/31/2021")
This formula works exactly the way I want, for the data specifically only in column K.
I want to accomplish what this formula does, but to include columns K through P, and not K only.
I tested a simple average formula which worked fine across multiple columns
=AVERAGE(K:P)
I can't figure out how to average data in all of those columns based on the criteria in my other formula.
If I simply change the column to average to:
=AVERAGEIFS(K:P,C:C, ">=01/01/2021", C:C, "<=1/31/2021")
I get a #VALUE error.
Any suggestions on how to accomplish this?
use FILTER:
=AVERAGE(FILTER(K:P,(C:C>=DATEVALUE("01/01/2021"))*(C:C<=DATEVALUE("1/31/2021"))))
I'm trying to calculate the number of occurrences per day for several columns of data.
Here's an example of my data set:
Data set
Here's how I need to present it:
Present data
Any help is greatly appreciated!
In the Cell W3 of Sheet 2, use the COUNTIFS formula to achieve the desired result. You might need to change the sheet name in the below example or column names.
=COUNTIFS('Sheet1'!$B:$B,'Sheet2'!$A3,'Sheet1'!$A:$A,'Sheet2'!W$2)
and just drag this formula to the right and down and you'll get the desired results.
I need a sum of transactions to show up in a specific cell in order to use it to import the invoices.
I have a macro to insert a blank row between differing accounts and now i need a formula to sum that specific accounts transactions and place to total in column N.
Currently I have
=IF(F1="",SUM(F2:INDEX(F2:$F$600,MATCH(TRUE,(F3:$F$600=""),0))),"")
as the formula in N1. I'm using Excel 2007 and I'm not sure if that is the reason the index advise on other posts isn't working.
Any help would be much appreciated.
Use this non array formula in N1 put:
=IF(F1="",SUMIF(B:B,B2,F:F),"")