ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula apparently successful but #VALUE displayed (https://www.excelbanter.com/excel-worksheet-functions/173873-formula-apparently-successful-but-value-displayed.html)

Matthew Leingang

Formula apparently successful but #VALUE displayed
 
Hello Excel Experts,

I need an Excel formula to compute an average of percentages, ignoring
the "EXC" code and zeroing out blank entries. Here is my guess:

=AVERAGE(IF(H5:AY5="EXC","",IF(ISBLANK(H5:AY5),0,H 5:AY5/H$2:AY$2)))

The #VALUE error is displayed in the cell. However, if I click the
equals sign in the formula palette, I can see numbers in the dialog.
The "Number1" field is shown to have the value of an array of numbers.
There is a number next to the "Formula result=" line. So why the
error?

I'm using Excel for Mac Version 11.3.7 (070724), and spreadsheet has
been exported from Google Documents.

Thanks in advance for any help.

--Matthew Leingang

David Biddulph[_2_]

Formula apparently successful but #VALUE displayed
 
Did you enter it as an array formula (Control Shift Enter, or whatever your
Mac equivalent is)?
You'll get that error if you don't.
--
David Biddulph

"Matthew Leingang" wrote in message
...
Hello Excel Experts,

I need an Excel formula to compute an average of percentages, ignoring
the "EXC" code and zeroing out blank entries. Here is my guess:

=AVERAGE(IF(H5:AY5="EXC","",IF(ISBLANK(H5:AY5),0,H 5:AY5/H$2:AY$2)))

The #VALUE error is displayed in the cell. However, if I click the
equals sign in the formula palette, I can see numbers in the dialog.
The "Number1" field is shown to have the value of an array of numbers.
There is a number next to the "Formula result=" line. So why the
error?

I'm using Excel for Mac Version 11.3.7 (070724), and spreadsheet has
been exported from Google Documents.

Thanks in advance for any help.

--Matthew Leingang




Matthew Leingang

Formula apparently successful but #VALUE displayed
 
Oh, thanks for reminding me about that. The cell is in a list, and
even though I did enter it as an array formula, selecting "Yes" to the
dialog asking if I want to copy the formula to the other cells in the
column copies the plain (non-array, i.e., erroneous) formula.

--Matt

On Jan 22, 9:14 am, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
Did you enter it as an array formula (Control Shift Enter, or whatever your
Mac equivalent is)?
You'll get that error if you don't.
--
David Biddulph

"Matthew Leingang" wrote in message

...

Hello Excel Experts,


I need an Excel formula to compute an average of percentages, ignoring
the "EXC" code and zeroing out blank entries. Here is my guess:


=AVERAGE(IF(H5:AY5="EXC","",IF(ISBLANK(H5:AY5),0,H 5:AY5/H$2:AY$2)))


The #VALUE error is displayed in the cell. However, if I click the
equals sign in the formula palette, I can see numbers in the dialog.
The "Number1" field is shown to have the value of an array of numbers.
There is a number next to the "Formula result=" line. So why the
error?


I'm using Excel for Mac Version 11.3.7 (070724), and spreadsheet has
been exported from Google Documents.


Thanks in advance for any help.


--Matthew Leingang



All times are GMT +1. The time now is 05:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com