Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wazooli
 
Posts: n/a
Default selective averaging

I have a large data set that has a particular column containing identifiers.
Here is an example:

RP11-148D23
RP11-148D23
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148G20
RP11-148G20
RP11-148G7
RP11-148G7

As you can see, most of the entries in my sheet are duplicates, but there
are several that are repeats of 4, 6 or 8. Each identifier has a particular
data value assiciated with it. I would like to average across each
identifier, averaging the associated data, but merely pasting down a row does
not handle the replicates that contain more than 2 or the same kind. Is
there a way to do this conveniently? My spreadsheet contains 13000 rows.
  #2   Report Post  
CarlosAntenna
 
Posts: n/a
Default

Sounds like a job for a pivot table.

Carlos

"Wazooli" wrote in message
...
I have a large data set that has a particular column containing

identifiers.
Here is an example:

RP11-148D23
RP11-148D23
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148G20
RP11-148G20
RP11-148G7
RP11-148G7

As you can see, most of the entries in my sheet are duplicates, but there
are several that are repeats of 4, 6 or 8. Each identifier has a

particular
data value assiciated with it. I would like to average across each
identifier, averaging the associated data, but merely pasting down a row

does
not handle the replicates that contain more than 2 or the same kind. Is
there a way to do this conveniently? My spreadsheet contains 13000 rows.



  #3   Report Post  
Dave R.
 
Posts: n/a
Default

If I understand correctly, you have the list below (say in A1:A13000) with
some numbers next to the identifiers (say B1:B13000), and you want to
calculate an average for an identifier?

If that's all you want to do one way is to use

=AVERAGE(IF(A$1:A$13000=A1,B$1:B$13000))

entered with CTRL-SHIFT-ENTER, then copy down.



"Wazooli" wrote in message
...
I have a large data set that has a particular column containing

identifiers.
Here is an example:

RP11-148D23
RP11-148D23
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148G20
RP11-148G20
RP11-148G7
RP11-148G7

As you can see, most of the entries in my sheet are duplicates, but there
are several that are repeats of 4, 6 or 8. Each identifier has a

particular
data value assiciated with it. I would like to average across each
identifier, averaging the associated data, but merely pasting down a row

does
not handle the replicates that contain more than 2 or the same kind. Is
there a way to do this conveniently? My spreadsheet contains 13000 rows.



  #4   Report Post  
Wazooli
 
Posts: n/a
Default

I have not yet ever had any need for array formulas. i will however, give it
a try. Thanks.

"Dave R." wrote:

If I understand correctly, you have the list below (say in A1:A13000) with
some numbers next to the identifiers (say B1:B13000), and you want to
calculate an average for an identifier?

If that's all you want to do one way is to use

=AVERAGE(IF(A$1:A$13000=A1,B$1:B$13000))

entered with CTRL-SHIFT-ENTER, then copy down.



"Wazooli" wrote in message
...
I have a large data set that has a particular column containing

identifiers.
Here is an example:

RP11-148D23
RP11-148D23
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148F17
RP11-148G20
RP11-148G20
RP11-148G7
RP11-148G7

As you can see, most of the entries in my sheet are duplicates, but there
are several that are repeats of 4, 6 or 8. Each identifier has a

particular
data value assiciated with it. I would like to average across each
identifier, averaging the associated data, but merely pasting down a row

does
not handle the replicates that contain more than 2 or the same kind. Is
there a way to do this conveniently? My spreadsheet contains 13000 rows.




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
Averaging function Sarah Excel Discussion (Misc queries) 0 January 18th 05 04:09 PM
averaging from one selected cell to another anthony_succar Excel Discussion (Misc queries) 0 January 6th 05 04:19 AM
Averaging the last 5 entries in a row Geo Excel Discussion (Misc queries) 5 January 3rd 05 01:13 AM
2 part question on averaging Geo Excel Discussion (Misc queries) 4 January 2nd 05 10:35 PM
Averaging cells which contain #DIV/0! maryj Excel Worksheet Functions 4 November 4th 04 01:32 PM


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