#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default average with zero

=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet, but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is formatted
to a number. Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default average with zero

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is
no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet,
but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default average with zero

There was nothing wrong with the formula you posted earlier today when you
asked the same question so changing to an incorrect formula isn't likely to
get you the answer you want.

"Pammy" wrote:

=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet, but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is formatted
to a number. Thanks,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default average with zero

Peo Sjoblom:

I changed the formula to what you wrote and did Ctrl + Shift +Enter and I
get 24, but if I select ac06:ac11342 and look at the status bar it is 10.4.
Any idea? I even copied and pasted your formula.

"Peo Sjoblom" wrote:

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is
no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet,
but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default average with zero

It's because the average in the statusbar includes zero in it's calculation
so if you have zeros you should
get a smaller number using the statusbar and selecting the whole range as
opposed to the formula

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
Peo Sjoblom:

I changed the formula to what you wrote and did Ctrl + Shift +Enter and I
get 24, but if I select ac06:ac11342 and look at the status bar it is
10.4.
Any idea? I even copied and pasted your formula.

"Peo Sjoblom" wrote:

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 -
ac831
and it gives a number beginning with ac6 from a calculation. If there
is
no
entry then it populates a zero. I get an average of 13 that is showing
on
the status bar if I select the cells ac6:ac831, but in my cell where
the
average formula is (notice it goes to ac11342 I get an average of 10.
All
the cells in this column have zeros where there have been no entries
yet,
but
will change as data is entered on the row. I have it set to 11342 so
the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default average with zero

The statusbar result isn't the same formula as the array formula and will
include zero values in the average.

Mike

"Pammy" wrote:

Peo Sjoblom:

I changed the formula to what you wrote and did Ctrl + Shift +Enter and I
get 24, but if I select ac06:ac11342 and look at the status bar it is 10.4.
Any idea? I even copied and pasted your formula.

"Peo Sjoblom" wrote:

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is
no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet,
but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default average with zero

Do as follows to check the statusbar, temporarily put a header in AC5 unless
you have one already, then apply datafilterautofilter, select custom from
dropdown and does not equal 0, now select the visible range and check the
statusbar. To remove the filter do datafilter and clear the check mark

--


Regards,


Peo Sjoblom

"Peo Sjoblom" wrote in message
...
It's because the average in the statusbar includes zero in it's
calculation so if you have zeros you should
get a smaller number using the statusbar and selecting the whole range as
opposed to the formula

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
Peo Sjoblom:

I changed the formula to what you wrote and did Ctrl + Shift +Enter and I
get 24, but if I select ac06:ac11342 and look at the status bar it is
10.4.
Any idea? I even copied and pasted your formula.

"Peo Sjoblom" wrote:

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 -
ac831
and it gives a number beginning with ac6 from a calculation. If there
is
no
entry then it populates a zero. I get an average of 13 that is
showing on
the status bar if I select the cells ac6:ac831, but in my cell where
the
average formula is (notice it goes to ac11342 I get an average of 10.
All
the cells in this column have zeros where there have been no entries
yet,
but
will change as data is entered on the row. I have it set to 11342 so
the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,







  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default average with zero

On my average problem and the formula you gave me below, this is looking at
the zero and giving me a result based ont the zero, but this is my concern:
I have a formula in the AC cells that are results from other cells and it is
copied all the way down to 11342, so those cells that have no entries at all
will have a 0 in that cell until the information is added. Some of the rows
that have entries but not every field is filled in also have a 0 in that
field until it is completed. I would like to average the cells that have
entries and may contain a 0, but not the cells where nothing is entered at
all it just has the formula copied down. I'm thinking maybe there needs to
be a new formula in the AC column that would let excel know not to include
those zeros but include the zero in the aveage where some infor is entered.
"Peo Sjoblom" wrote:

You are using an incorrect formula


=AVERAGE(IF(AC6:AC11342<0,AC6:AC11342))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"Pammy" wrote in message
...
=AVERAGE(AC6:AC11342<0,AC6:AC11342)
This is my formula for an average, the rows are filled in from ac6 - ac831
and it gives a number beginning with ac6 from a calculation. If there is
no
entry then it populates a zero. I get an average of 13 that is showing on
the status bar if I select the cells ac6:ac831, but in my cell where the
average formula is (notice it goes to ac11342 I get an average of 10. All
the cells in this column have zeros where there have been no entries yet,
but
will change as data is entered on the row. I have it set to 11342 so the
person can enter without having to do anything.
I do shift+control and enter in the formula bar. Any idea? It is
formatted
to a number. Thanks,




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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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

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"