I have this Formula:
=SUMPRODUCT(--(OUTBOUND!$A$8:$A$99>=SUMMARY!$C$3),--(OUTBOUND!$A$8:$A$99<=SUMMARY!$D$3),--(OUTBOUND!$B$8:$B$99))
I need the result to be an average
Where would I be able to insert AVERAGE?
I have this Formula:
=SUMPRODUCT(--(OUTBOUND!$A$8:$A$99>=SUMMARY!$C$3),--(OUTBOUND!$A$8:$A$99<=SUMMARY!$D$3),--(OUTBOUND!$B$8:$B$99))
I need the result to be an average
Where would I be able to insert AVERAGE?
Last edited by norm01; 02-08-2011 at 05:39 PM.
Try:
Please Login or Register to view this content.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
You can use AVERAGE function like this
=AVERAGE(IF(OUTBOUND!$A$8:$A$99>=SUMMARY!$C$3,IF(OUTBOUND!$A$8:$A$99<=SUMMARY!$D$3,OUTBOUND!$B$8:$B$99)))
That's an "array formula" which needs to be confirmed with CTRL+SHIFT+ENTER
Audere est facere
Thanks for the Formula but it returns a DIV/0!
Cheers!!!
Did your original SUMPRODUCT return a value other than 0?
if it did, then the formula should not give you that error.
Also if you already have that result for your original, and assuming it is in, say X1, then you can shorten it with:
=X1/SUMPRODUCT(--(OUTBOUND!$A$8:$A$99>=SUMMARY!$C$3),--(OUTBOUND!$A$8:$A$99<=SUMMARY!$D$3))
Yes, it is pulling up data from OUTBOUND B8:B99 there are also some blanks
So, you are saying you do get 0 with your original, because the all the values in column B that would match are blank?...
If you want 0 result... even if all values sum to 0, then...
If you still have issues, post the workbook if it is not confidential.Please Login or Register to view this content.
Here is the workbook
See attached.
The formula I gave did work. It may have given wrong results, not errors, due to the fact that you have blanks in column B.. so I added an ISNUMBER() check.
The formula in C8 is:
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks