Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bigdaddy3
 
Posts: n/a
Default average price of 4 columns of figures but some cells can be blank

i need a formula to give me an average price of 4 columns of prices on 4
sheets (30 cells per column)where some cells can be blank,and even some
sheets blank,All cells are formatted as financial but no zeros showing.
-----Is it possible with a macro and if so formula please.
--
BD3
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bigdaddy3
 
Posts: n/a
Default average price of 4 columns of figures but some cells can be bl

Thanks for your input,but ive got 4 columns on each sheet would it be best to
use your formula but 4 times
--
BD3


"bpeltzer" wrote:

The average function will ignore blanks (that is, it won't count them in the
denominator, so you wind up with an average of the non-blank cells). You
probably just need something like
=average(Sheet1!A1:A30,Sheet2!A1:A30,Sheet3!A1:A30 ,Sheet4!A1:A30)

"bigdaddy3" wrote:

i need a formula to give me an average price of 4 columns of prices on 4
sheets (30 cells per column)where some cells can be blank,and even some
sheets blank,All cells are formatted as financial but no zeros showing.
-----Is it possible with a macro and if so formula please.
--
BD3

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default average price of 4 columns of figures but some cells can be bl

If the columns are contiguous, you could do something like
=average(Sheet1!A1:D30,Sheet2!A1:D30,Sheet3!A1:D30 ,Sheet4!A1:D30); if not
then you can call out each range within a single average function:
=average(Sheet1!A1:A30,Sheet1!C1:C30,...)


"bigdaddy3" wrote:

Thanks for your input,but ive got 4 columns on each sheet would it be best to
use your formula but 4 times
--
BD3


"bpeltzer" wrote:

The average function will ignore blanks (that is, it won't count them in the
denominator, so you wind up with an average of the non-blank cells). You
probably just need something like
=average(Sheet1!A1:A30,Sheet2!A1:A30,Sheet3!A1:A30 ,Sheet4!A1:A30)

"bigdaddy3" wrote:

i need a formula to give me an average price of 4 columns of prices on 4
sheets (30 cells per column)where some cells can be blank,and even some
sheets blank,All cells are formatted as financial but no zeros showing.
-----Is it possible with a macro and if so formula please.
--
BD3

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bigdaddy3
 
Posts: n/a
Default average price of 4 columns of figures but some cells can be bl

Thanks for that ill give it a go
--
BD3


"bpeltzer" wrote:

If the columns are contiguous, you could do something like
=average(Sheet1!A1:D30,Sheet2!A1:D30,Sheet3!A1:D30 ,Sheet4!A1:D30); if not
then you can call out each range within a single average function:
=average(Sheet1!A1:A30,Sheet1!C1:C30,...)


"bigdaddy3" wrote:

Thanks for your input,but ive got 4 columns on each sheet would it be best to
use your formula but 4 times
--
BD3


"bpeltzer" wrote:

The average function will ignore blanks (that is, it won't count them in the
denominator, so you wind up with an average of the non-blank cells). You
probably just need something like
=average(Sheet1!A1:A30,Sheet2!A1:A30,Sheet3!A1:A30 ,Sheet4!A1:A30)

"bigdaddy3" wrote:

i need a formula to give me an average price of 4 columns of prices on 4
sheets (30 cells per column)where some cells can be blank,and even some
sheets blank,All cells are formatted as financial but no zeros showing.
-----Is it possible with a macro and if so formula please.
--
BD3

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
Formula to delete blank cells across multiple columns? SamFunMail Excel Worksheet Functions 2 September 1st 05 07:05 AM
Value between 2 dates AG Excel Worksheet Functions 11 August 21st 05 05:32 PM
Counting blank and filled cells within a range. greg7468 Excel Discussion (Misc queries) 3 June 28th 05 10:41 PM
Copy down - special to fill only the blank cells Mike Excel Discussion (Misc queries) 3 April 18th 05 10:08 PM
blank cells R.VENKATARAMAN Excel Discussion (Misc queries) 1 April 6th 05 10:25 AM


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