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

tomshaw4

New Member
Joined
Apr 17, 2013
Messages
23
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#

Can you help please
 

Excel Facts

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

njimack

Well-known Member
Joined
Jun 17, 2005
Messages
7,772
Welcome to the board. Confirm the following formula with ctrl+shift+enter:

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

tomshaw4

New Member
Joined
Apr 17, 2013
Messages
23
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</SPAN>02/04/2013</SPAN>03/04/2013</SPAN>04/04/2013</SPAN>
AALEXAND</SPAN>#N/A</SPAN>75%</SPAN>81%</SPAN>89%</SPAN>

<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
 
Upvote 0

njimack

Well-known Member
Joined
Jun 17, 2005
Messages
7,772
Sheet1

*ABCDEFG
1*01/04/201302/04/201303/04/201304/04/2013**
2AALEXAND#N/A75%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>

Spreadsheet Formulas
CellFormula
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
 
Upvote 0

tomshaw4

New Member
Joined
Apr 17, 2013
Messages
23
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>

Spreadsheet Formulas
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.
 
Upvote 0

Forum statistics

Threads
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.
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
Top