ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need help w/IF formula, I'm not quite doing it right (https://www.excelbanter.com/excel-discussion-misc-queries/183060-need-help-w-if-formula-im-not-quite-doing-right.html)

Meenie

Need help w/IF formula, I'm not quite doing it right
 
I have excel 2003:
I'm averaging a column of figures and I want to ignore any cells that have a
zero or that have a #REF!
(0 only means that report hasn't been turned in yet, and #ref! means the
sheets that this worksheet will link to haven't been created yet - it's a YTD
sheet.)
Thanks, Meenie

David Biddulph[_2_]

Need help w/IF formula, I'm not quite doing it right
 
=AVERAGE(IF(ISERR(A1:A7),"",IF(A1:A7=0,"",A1:A7))) as an array formula
(Control Shift Enter)
--
David Biddulph

"Meenie" wrote in message
...
I have excel 2003:
I'm averaging a column of figures and I want to ignore any cells that have
a
zero or that have a #REF!
(0 only means that report hasn't been turned in yet, and #ref! means the
sheets that this worksheet will link to haven't been created yet - it's a
YTD
sheet.)
Thanks, Meenie




Meenie

Need help w/IF formula, I'm not quite doing it right
 
Perfect! Thanks so much :)

"David Biddulph" wrote:

=AVERAGE(IF(ISERR(A1:A7),"",IF(A1:A7=0,"",A1:A7))) as an array formula
(Control Shift Enter)
--
David Biddulph

"Meenie" wrote in message
...
I have excel 2003:
I'm averaging a column of figures and I want to ignore any cells that have
a
zero or that have a #REF!
(0 only means that report hasn't been turned in yet, and #ref! means the
sheets that this worksheet will link to haven't been created yet - it's a
YTD
sheet.)
Thanks, Meenie






All times are GMT +1. The time now is 10:04 PM.

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