ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   average price of 4 columns of figures but some cells can be blank (https://www.excelbanter.com/excel-worksheet-functions/71398-re-average-price-4-columns-figures-but-some-cells-can-blank.html)

bpeltzer

average price of 4 columns of figures but some cells can be blank
 
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



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com