# Excel 2003 Average formula ignoring % under 50% and over 100%

#### tomshaw4

##### New Member
I am trying to find an average formula on Excel 2003 which will only average the percentages between 50% and 100% for a row of percentages. ie I need to discount many of the outlier percentages which are either negative or over 100%.

I have tried Average (if (B2:AE2 ">0.5 and < 1") but just somes up value#

### Excel Facts

To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

#### njimack

##### Well-known Member
Welcome to the board. Confirm the following formula with ctrl+shift+enter:

=AVERAGE(IF(B2:AE2>0.5,IF(B2:AE2<1,B2:AE2)))

#### tomshaw4

##### New Member
Welcome to the board. Confirm the following formula with ctrl+shift+enter:

=AVERAGE(IF(B2:AE2>0.5,IF(B2:AE2<1,B2:AE2)))

Thanks for the formula Neil. It is comeing up with a figure of a figure of #N/A

Here are the 4 figures I am trying to enter:

 01/04/2013 02/04/2013 03/04/2013 04/04/2013 AALEXAND #N/A 75% 81% 89%

<TBODY>
</TBODY><COLGROUP><COL><COL><COL span=3></COLGROUP>

It did come up with a percentage when I input Average (B2:AE2). I have ctrl shift and entered the formula. What am I doing wrong?

Regards

#### njimack

##### Well-known Member
Sheet1

 * A B C D E F G 1 * 01/04/2013 02/04/2013 03/04/2013 04/04/2013 * * 2 AALEXAND #N/A 75% 81% 89% * 82%

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:76px;"><col style="width:83px;"><col style="width:83px;"><col style="width:83px;"><col style="width:83px;"><col style="width:8px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

 Cell Formula G2 {=AVERAGE(IF(NOT(ISERROR(B2:E2)),IF(B2:E2>0.5,IF(B2:E2<1,B2:E2))))}

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>

Excel tables to the web >> Excel Jeanie HTML 4

#### tomshaw4

##### New Member
Sheet1

 * A B C D E F G 1 * 01/04/2013 02/04/2013 03/04/2013 04/04/2013 * * 2 AALEXAND #N/A 75% 81% 89% * 82%

<TBODY>
</TBODY>

 Cell Formula G2 {=AVERAGE(IF(NOT(ISERROR(B2:E2)),IF(B2:E2>0.5,IF(B2:E2<1,B2:E2))))}

<TBODY>
</TBODY>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<TBODY>
</TBODY>

Excel tables to the web >> Excel Jeanie HTML 4

Fantastic Neil. This has worked. Thanks for your help.

#### njimack

##### Well-known Member
You're welcome, thanks for the feedback.

Replies
6
Views
159
Replies
2
Views
384
Replies
6
Views
107
Replies
0
Views
591
Replies
14
Views
798

1,196,008
Messages
6,012,836
Members
441,732
Latest member
Ayon

### 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.

### Which adblocker are you using?

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

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