Average Issue

urgenthelp

New Member
Joined
Apr 19, 2014
Messages
4
Hi guys, new to the forums.

Trying to get some help with some issue that I am facing with averages. I've attached the file via link. Please check and help.

Thanks in advance.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi guys, new to the forums.

Trying to get some help with some issue that I am facing with averages. I've attached the file via link. Please check and help.

Thanks in advance.

Try to explain/word the issue you have here instead of pointing to a file that contains no explanation but just too much data... Try to illustrate the issue with a drastically reduced sample of data along with the expected actual result(s).
 
Last edited:
Upvote 0
We need much more information about the nature of the problem, but my best guess is that this will be a rounding issue.
 
Upvote 0
Hi guys, new to the forums.

Trying to get some help with some issue that I am facing with averages. I've attached the file via link. Please check and help.

Thanks in advance.



=SUMPRODUCT(--($A$1:$S$1=U$1),$A2:$S2)/SUMPRODUCT(--($A$1:$S$1=U$1),--($A2:$S2>0))
copy formula into cell "U2", then copy to the rest of the cells.
<colgroup><col width="904" style="width: 678pt; mso-width-source: userset; mso-width-alt: 33060;"> <tbody> </tbody>


<tbody>
</tbody>

<tbody>
</tbody>
 
Last edited:
Upvote 0
Hi guys, new to the forums.

Trying to get some help with some issue that I am facing with averages. I've attached the file via link. Please check and help.

Thanks in advance.


your original formula doesn't include the data from column "m,n & o"
just add it and it will work as well.
<colgroup><col width="904" style="width: 678pt; mso-width-source: userset; mso-width-alt: 33060;"> <tbody> </tbody>
 
Upvote 0
=SUMPRODUCT(--($A$1:$S$1=U$1),$A2:$S2)/SUMPRODUCT(--($A$1:$S$1=U$1),--($A2:$S2>0))
copy formula into cell "U2", then copy to the rest of the cells.

<TBODY>
</TBODY>


<TBODY>
</TBODY>


<TBODY>
</TBODY>

The OP is missed an opportunity to describe the problem...

If you insist on SumProduct...

=SUMIF($A$1:$S$1,U$1,$A2:$S2)/SUMPRODUCT(--($A$1:$S$1=U$1),--($A2:$S2>0))

would be a tad faster.

Even better, because the OP appears to be on a post 2003 system:

=AVERAGEIFS($A2:$S2,$A$1:$S$1,U$1,$A2:$S2,">0")
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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
Back
Top