I am looking to take an Average of all the cells in column B that have "Test" as a value for column A.
Something like if(A:A = "Test",Average(B:B))
I am looking to take an Average of all the cells in column B that have "Test" as a value for column A.
Something like if(A:A = "Test",Average(B:B))
Maybe an array formula.
Enter your formula like this then enter Ctrl + Shift + Enter at the same time
=AVERAGE(IF($A:$A="Test",$B:$B))
Yes. Thank You.
Try using the non-array AVERAGEIFS() function:
http://www.excelfunctions.net/Excel-...-Function.html
=AVERAGEIFS(B:B,A:A,"Test")
or AVERAGEIF() function:
http://www.excelfunctions.net/Excel-...-Function.html
=AVERAGEIF(A:A,"Test",B:B)
Yes,
=AVERAGEIF(A:A,"Test",B:B)
also works great.
@ gammaman
Welcome to the forum.
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks