Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
elarscott
 
Posts: n/a
Default removing zeros from fromulas in excel

I'm using Excel and trying to do averaging using averaging in the formula
there are zero's with in the infomration that I would like to not be included
in the averaging how can I remove them from the formula?
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

try this average if formula. It is an ARRAY formula so must be entered using
ctrl+shift+enter

=AVERAGE(IF(K1:K40,K1:K4))

--
Don Guillett
SalesAid Software

"elarscott" wrote in message
...
I'm using Excel and trying to do averaging using averaging in the formula
there are zero's with in the infomration that I would like to not be

included
in the averaging how can I remove them from the formula?



  #3   Report Post  
Gary's Student
 
Posts: n/a
Default

If you have zeros in your data that are real (that you want to include in the
average) and other zeros that represent missing data, then replace the "bad"
zeros with blanks. AVERAGE() will not include blanks in its calculation.
--
Gary's Student


"elarscott" wrote:

I'm using Excel and trying to do averaging using averaging in the formula
there are zero's with in the infomration that I would like to not be included
in the averaging how can I remove them from the formula?

  #4   Report Post  
CLR
 
Posts: n/a
Default

Instead of the AVERAGE formula, use.....

=SUM(D1:D8)/COUNTIF(D1:D8,"0")

Vaya con Dios,
Chuck, CABGx3


"elarscott" wrote in message
...
I'm using Excel and trying to do averaging using averaging in the formula
there are zero's with in the infomration that I would like to not be

included
in the averaging how can I remove them from the formula?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Slight problem automating Excel in a service someone Setting up and Configuration of Excel 2 May 13th 05 10:04 PM
how do i get excel to NOT take zero's of the front of a number tor Excel Discussion (Misc queries) 2 February 16th 05 04:35 AM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
Removing Hard Borders from Excel Spreadsheet Battery Dude Excel Worksheet Functions 1 January 11th 05 04:28 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"