ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Two questions - copying and averaging (https://www.excelbanter.com/excel-discussion-misc-queries/130392-two-questions-copying-averaging.html)

Beatrice

Two questions - copying and averaging
 
Hello! Is it possible to have a case automatically copy to a second sheet if
a certain value is added into one of the columns? So, I want all the cases
that have a 1 in column B to be automatically pasted into sheet 2. Is that
possible? If not, is there some way to automatically calculate the average
of all the 1s in a separate sheet without having to run a filter? Thanks!

T. Valko

Two questions - copying and averaging
 
Try this:

=SUMIF(B1:B10,1,C1:C10)/COUNTIF(B1:B10,1)

Average column C where column B = 1.

Biff

"Beatrice" wrote in message
...
Hello! Is it possible to have a case automatically copy to a second sheet
if
a certain value is added into one of the columns? So, I want all the
cases
that have a 1 in column B to be automatically pasted into sheet 2. Is
that
possible? If not, is there some way to automatically calculate the
average
of all the 1s in a separate sheet without having to run a filter? Thanks!




Beatrice

Two questions - copying and averaging
 
Thanks!

T. Valko

Two questions - copying and averaging
 
You're welcome!

Biff

"Beatrice" wrote in message
...
Thanks!





All times are GMT +1. The time now is 04:05 AM.

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