Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Average across cells with formulas

I am trying to average(a1:p1), in column Q. there are only numbers currently
in a1 to L1, but there are formulas in the rest that compute the numbers at
the end of each month. I want to average these colums and not have to change
the average calculation at the end of every month. I know there is a way to
tell it to average on the columns with figures but I can't seem to remember
how. Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Average across cells with formulas

Maybe in Q1

=AVERAGE(IF(A1:P1<0,A1:P1))

It's an array so commit with Ctrl+shift+enter

Mike

"Arlene" wrote:

I am trying to average(a1:p1), in column Q. there are only numbers currently
in a1 to L1, but there are formulas in the rest that compute the numbers at
the end of each month. I want to average these colums and not have to change
the average calculation at the end of every month. I know there is a way to
tell it to average on the columns with figures but I can't seem to remember
how. Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Average across cells with formulas

Thanks it was the array part that I was missing, how can you tell whether its
an array?

"Mike H" wrote:

Maybe in Q1

=AVERAGE(IF(A1:P1<0,A1:P1))

It's an array so commit with Ctrl+shift+enter

Mike

"Arlene" wrote:

I am trying to average(a1:p1), in column Q. there are only numbers currently
in a1 to L1, but there are formulas in the rest that compute the numbers at
the end of each month. I want to average these colums and not have to change
the average calculation at the end of every month. I know there is a way to
tell it to average on the columns with figures but I can't seem to remember
how. Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Average across cells with formulas

If you change the formulas to default to "" when there is no information you
can use the default AVERAGE since it ignores text as opposed to a zero

otherwise you can use


=AVERAGE(IF(A2:M2<0,A2:M2))

entered with ctrl + shift & enter

adapt cell ranges to fit your requirements




--
Regards,

Peo Sjoblom



"Arlene" wrote in message
...
I am trying to average(a1:p1), in column Q. there are only numbers
currently
in a1 to L1, but there are formulas in the rest that compute the numbers
at
the end of each month. I want to average these colums and not have to
change
the average calculation at the end of every month. I know there is a way
to
tell it to average on the columns with figures but I can't seem to
remember
how. 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 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
array formulas-sumproduct and average Becky New Users to Excel 4 January 30th 05 01:43 AM


All times are GMT +1. The time now is 11:37 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"