Average if acting differently on Mac 2008 vs Windows 2003

TimLCooley

New Member
Joined
Dec 27, 2011
Messages
12
I am having an issue where my formula for averageif is not working on Mac 2008. I am getting the #DIV/0! error

Sheet1

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Product[/TD]
[TD]Competitor[/TD]
[TD]Product[/TD]
[TD]Product[/TD]
[TD]Competitor[/TD]
[TD]Competitor[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]Titles[/TD]
[TD]8[/TD]
[TD]100[/TD]
[TD]5[/TD]
[TD]30[/TD]
[TD]6[/TD]
[TD]3[/TD]
[TD]98[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

formula I am using:

SHEETB2 CELL =averageif(Sheet1A2:Sheet1A8,Sheet2A2,SheetB2:SheetB8)

SHEETB3 CELL =averageif(Sheet1A2:Sheet1A8,Sheet2A3,SheetB3:SheetB8)

Sheet2 (PC)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Product[/TD]
[TD]Competitor[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Title[/TD]
[TD]34[/TD]
[TD]36[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



Sheet2 (Mac)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Product[/TD]
[TD]Competitor[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Title[/TD]
[TD]#DIV/0![/TD]
[TD]36[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I am not sure why the MAC version has an issue averaging when there is a zero in the SUM. How should I fix it? I would prefer to remove zeros if averaging, if possible.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
The cell number shouls look like this
[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Product[/TD]
[TD="width: 64"]Competitor[/TD]
[TD="width: 64"]Product[/TD]
[TD="width: 64"]Product[/TD]
[TD="width: 64"]Competitor[/TD]
[TD="width: 64"]Competitor[/TD]
[TD="width: 64"]Product[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]98
[/TD]
[/TR]
</tbody>[/TABLE]

I couldn't figure out how to edit the numbers
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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