Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-02-2017, 03:44 PM
Gabriela Gabriela is offline Array Average function Windows 7 64bit Array Average function Office 2013
Novice
Array Average function
 
Join Date: Feb 2017
Posts: 1
Gabriela is on a distinguished road
Default Array Average function

Dear all,

I would like to make kindof AVERAGEIFS function, but over an array. My formula is in the following form: (with Ctrl + Shift + Enter of course)
I would like the average to be made over those values in column BM, whose corresponding value in AH is the same as the current row I am filling in the info for (AH2) and the corresponding value in column A not equal to the actual one (A2). And then to copy the formula up to row 5362. I used this

{AVERAGE(IF($AH$2:$AH$5362=AH2;IF(NOT($A$2:$A$5362 =A2);$BM$2:$BM$5362;" ");" "))}



My problem is, that if for let's say the second row values I filter the fields in AH having the same value as AH2 and the same for column A not having the same value as A2, and then compute the average over the filtered data from column BM, I got a different result than using the formula above. The problem is that I would need to use the above formula up to row 5362, so doing it manually does not come into question.

Could you please advise me?

Thank you in advance!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Array Average function Help checking an array / average sum calculation please ballst Excel 2 06-08-2015 03:23 PM
Array Average function Average function not averaging jdkoerner Excel 11 03-02-2015 05:57 AM
Array Average function CORREL function with a constant array j2b3 Excel 3 01-30-2013 01:49 AM
Array Average function Convert String Array to Integer Array from a User Input? tinfanide Excel Programming 4 12-26-2012 08:56 PM
How to reserve an array in a public function? tinfanide Word VBA 2 02-27-2012 06:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft