ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I use DAverage in Excel? (https://www.excelbanter.com/excel-worksheet-functions/37122-how-do-i-use-daverage-excel.html)

xrayr

How do I use DAverage in Excel?
 
I have a spreadsheet with columns of data on sheet 1. I would like to have
the average of column "U" determined ONLY when the corresponding data in
Column "C" equals a certain value (date value shown as: "2005/01/01")

I would like this average shown on another sheet that I have termed "Summary".

I cannot get this to work.

Somebody please help!

Roger Govier

One way
=SUMPRODUCT(--($C$1:$C$100=DATE(2005,1,1)),$U$1:$U$100)/COUNTIF($C$1:$C$100,DATE(2005,1,1))

--
Regards
Roger Govier
"xrayr" wrote in message
...
I have a spreadsheet with columns of data on sheet 1. I would like to have
the average of column "U" determined ONLY when the corresponding data in
Column "C" equals a certain value (date value shown as: "2005/01/01")

I would like this average shown on another sheet that I have termed
"Summary".

I cannot get this to work.

Somebody please help!





All times are GMT +1. The time now is 04:22 PM.

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