How to get rid of #DIV/0! Office 2013

mlbarry

New Member
Joined
Sep 26, 2012
Messages
47
Here is the formula:

=AVERAGEIF(Table1[Customer '#],'Customer Summary'!$A$2:$A$50000,Table1[Days

I tried =IFERROR(AVERAGEIF(Table1[Customer '#],'Customer Summary'!$A$2:$A$50000,Table1[Days],"") it will not calculate.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
It seems like you're trying to get an "average customer number". Can that be right?

If you're trying to find an average of Days in Table1 of Customer Summary worksheet, then a more likely formula would be:
=AVERAGEIF( 'Customer Summary'!Table1[Days], "<>0")
 
Upvote 0
Trying to average customer days past due looking at the customer #'s on a different tab same spread sheet.

Range - Tab: Current AR, Table (column - Customer #)
Criteria - Customer Summary [Tab with this formula] looking at column A2
Average Range - Tab Current AR, Table (Column - Days)
 
Upvote 0
Maybe you could give an example of the kinds of data that you're looking at and what you expect to see. I don't follow the bit about "looking at the customer #s on a different tab". It seems to me that your formula is simply formed improperly. The first argument that your formula needs to see is the range of "days" that it needs to average. If you're going to look at "some days" or "some customers", then that's part of the criteria, not the range.
 
Upvote 0
Hi,

Don't know anything about your data, but if your original formula worked, your IFERROR version is missing a bracket, shown in Red below:

=IFERROR(AVERAGEIF(Table1[Customer '#],'Customer Summary'!$A$2:$A$50000,Table1[Days]),"")
 
Upvote 0
Been very busy, sorry.

I enter the formula below, will not work.

=IFERROR(AVERAGEIF(Table1[Customer '#],'Customer Summary'!$A$2:$A$50000,Table1[Days]),"")
 
Upvote 0
Can you post your full working formula before you added the IFERROR as what you have in post 1 is incomplete.
 
Upvote 0
The formula can't end in Days it needs at least a closing ]) i.e.

=AVERAGEIF(Table1[Customer '#],'Customer Summary'!$A$2:$A$50000,Table1[Days])

Please post your formula exactly as you have it.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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