Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default average if (different cells) with formulas

Hi there,

I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.

ex. A1 = 1 B3 = "" C5=4 D9=4 AVERAGE SHOULD BE 3
AVERAGE(A1,B3,C5,D9;<"") something like this.

IS this possible.

Thanks.
CD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default average if (different cells) with formulas

On Jan 31, 10:08*am, wrote:
Hi there,

I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.

ex. *A1 *= 1 * * B3 = "" * C5=4 * * * D9=4 * * *AVERAGE SHOULD BE *3
AVERAGE(A1,B3,C5,D9;<"") something like this.

IS this possible.

Thanks.
CD


Try it using just the average of the 4 cells (ie =average(A1, B3, C5,
D9). I think you will find it gives you the answer 3 anyway. If the
cell is genuinely blank (blank or formula evalutes to "") it will
ignore it. Worked for me when I tested it.

Regards

Murray
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default average if (different cells) with formulas

hi
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9)

Regards
FSt1

" wrote:

Hi there,

I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.

ex. A1 = 1 B3 = "" C5=4 D9=4 AVERAGE SHOULD BE 3
AVERAGE(A1,B3,C5,D9;<"") something like this.

IS this possible.

Thanks.
CD

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default average if (different cells) with formulas

I think that instead of
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9) you may have meant
=(A1+B3+C5+D9)/Count(A1,B3,C5,D9) or
=sum(A1,B3,C5,D9)/Count(A1,B3,C5,D9)
[you need a comma instead of a full stop between C5 and D9, and if there
isn't anything that you wish to add to A1+B3+C5+D9 you don't need the sum
function.]
but you could equally well have used =AVERAGE(A1,B3,C5,D9)

But note that any of those formulae will ignore the empty string "" or a
genuinely empty cell, but it won't ignore zero.
--
David Biddulph

"FSt1" wrote in message
...
hi
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9)

Regards
FSt1

" wrote:

Hi there,

I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.

ex. A1 = 1 B3 = "" C5=4 D9=4 AVERAGE SHOULD BE 3
AVERAGE(A1,B3,C5,D9;<"") something like this.

IS this possible.

Thanks.
CD



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default average if (different cells) with formulas

yes, i did mean exactily what you pointed out.
thanks for catching that.

Regards
FSt1

"David Biddulph" wrote:

I think that instead of
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9) you may have meant
=(A1+B3+C5+D9)/Count(A1,B3,C5,D9) or
=sum(A1,B3,C5,D9)/Count(A1,B3,C5,D9)
[you need a comma instead of a full stop between C5 and D9, and if there
isn't anything that you wish to add to A1+B3+C5+D9 you don't need the sum
function.]
but you could equally well have used =AVERAGE(A1,B3,C5,D9)

But note that any of those formulae will ignore the empty string "" or a
genuinely empty cell, but it won't ignore zero.
--
David Biddulph

"FSt1" wrote in message
...
hi
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9)

Regards
FSt1

" wrote:

Hi there,

I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.

ex. A1 = 1 B3 = "" C5=4 D9=4 AVERAGE SHOULD BE 3
AVERAGE(A1,B3,C5,D9;<"") something like this.

IS this possible.

Thanks.
CD






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default average if (different cells) with formulas

On Jan 31, 12:03*am, FSt1 wrote:
yes, i did mean exactily what you pointed out.
thanks for catching that.

Regards
FSt1



"David Biddulph" wrote:
I think that instead of
*=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9) you may have meant
*=(A1+B3+C5+D9)/Count(A1,B3,C5,D9) or
*=sum(A1,B3,C5,D9)/Count(A1,B3,C5,D9)
[you need a comma instead of a full stop between C5 and D9, and if there
isn't anything that you wish to add to A1+B3+C5+D9 you don't need the sum
function.]
but you could equally well have used =AVERAGE(A1,B3,C5,D9)


But note that any of those formulae will ignore the empty string "" or a
genuinely empty cell, but it won't ignore zero.
--
David Biddulph


"FSt1" wrote in message
...
hi
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9)


Regards
FSt1


" wrote:


Hi there,


I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.


ex. *A1 *= 1 * * B3 = "" * C5=4 * * * D9=4 * * *AVERAGE SHOULD BE *3
AVERAGE(A1,B3,C5,D9;<"") something like this.


IS this possible.


Thanks.
CD- Hide quoted text -


- Show quoted text -


Thank you to all you are soo helpful - thanks a bunch.

CD
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default average if (different cells) with formulas

On Feb 1, 12:56*pm, wrote:
On Jan 31, 12:03*am, FSt1 wrote:





yes, i did mean exactily what you pointed out.
thanks for catching that.


Regards
FSt1


"David Biddulph" wrote:
I think that instead of
*=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9) you may have meant
*=(A1+B3+C5+D9)/Count(A1,B3,C5,D9) or
*=sum(A1,B3,C5,D9)/Count(A1,B3,C5,D9)
[you need a comma instead of a full stop between C5 and D9, and if there
isn't anything that you wish to add to A1+B3+C5+D9 you don't need the sum
function.]
but you could equally well have used =AVERAGE(A1,B3,C5,D9)


But note that any of those formulae will ignore the empty string "" or a
genuinely empty cell, but it won't ignore zero.
--
David Biddulph


"FSt1" wrote in message
...
hi
=sum(A1+B3+C5+D9)/Count(A1,B3,C5.D9)


Regards
FSt1


" wrote:


Hi there,


I was wondering if there a simple way to average approx. 5 different
cells (not a range) in these different cells there are formulas I
don't want to average them if they are "" or 0.


ex. *A1 *= 1 * * B3 = "" * C5=4 * * * D9=4 * * *AVERAGE SHOULD BE *3
AVERAGE(A1,B3,C5,D9;<"") something like this.


IS this possible.


Thanks.
CD- Hide quoted text -


- Show quoted text -


Thank you to all you are soo helpful - thanks a bunch.

CD- Hide quoted text -

- Show quoted text -


Hi there me again. I tried it but the problem is I can just average
the 4 cells I need to include the 5th one also because I will be
copying formula down and I don't know which cell will be empty .

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
Average across cells with formulas Arlene Excel Worksheet Functions 3 June 26th 07 09:56 PM
average cells, show 0 if nothing to average Kycajun Excel Discussion (Misc queries) 8 June 21st 06 07:36 PM
Average formulas Ed Excel Worksheet Functions 1 March 12th 05 02:30 AM
Average form cells containing formulas? Edmdas Excel Worksheet Functions 7 March 7th 05 03:59 PM
How do you average text formulas?? bladelock Excel Discussion (Misc queries) 2 March 2nd 05 07:53 PM


All times are GMT +1. The time now is 01:59 PM.

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

About Us

"It's about Microsoft Excel"