Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim May
 
Posts: n/a
Default Need to bring back Average using either Sumproduct or CSE formula

I have lines of data with 1 field ColB such as 01017340 (text) and
i have 50 lines all with 01017340 but in ColM 28.53%, an other 26.11%
and so on. The First two characters XX017340 and Compnay numbers
I have 25 companies and need the Average of each.
What formula could I use to acheive this?
TIA,
Jim
  #2   Report Post  
Jim May
 
Posts: n/a
Default Need to bring back Average using either Sumproduct or CSE formula

correction,
I don't have 50 lines of 01017340, but rather 50 lines beginning with "01",
meaning 01XXXXXX, then I have 40 or 50 with 02XXXXXX.. Hope that helps
clarify.
Jim

"Jim May" wrote:

I have lines of data with 1 field ColB such as 01017340 (text) and
i have 50 lines all with 01017340 but in ColM 28.53%, an other 26.11%
and so on. The First two characters XX017340 and Compnay numbers
I have 25 companies and need the Average of each.
What formula could I use to acheive this?
TIA,
Jim

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default Need to bring back Average using either Sumproduct or CSE formula

Jim, Is this what you want

=AVERAGE(IF(RIGHT(B2:B50,6)="017340",M2:M50))

which is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim May" wrote in message
...
correction,
I don't have 50 lines of 01017340, but rather 50 lines beginning with

"01",
meaning 01XXXXXX, then I have 40 or 50 with 02XXXXXX.. Hope that helps
clarify.
Jim

"Jim May" wrote:

I have lines of data with 1 field ColB such as 01017340 (text) and
i have 50 lines all with 01017340 but in ColM 28.53%, an other 26.11%
and so on. The First two characters XX017340 and Compnay numbers
I have 25 companies and need the Average of each.
What formula could I use to acheive this?
TIA,
Jim



  #4   Report Post  
Jim May
 
Posts: n/a
Default Need to bring back Average using either Sumproduct or CSE form

as modified:

=AVERAGE(IF(LEFT(CurrYrBase!$B$12:$B$996,2)=B7,Cur rYrBase!$O$12:$O$996))

works perfect;
Tks Bob
Jim

"Bob Phillips" wrote:

Jim, Is this what you want

=AVERAGE(IF(RIGHT(B2:B50,6)="017340",M2:M50))

which is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim May" wrote in message
...
correction,
I don't have 50 lines of 01017340, but rather 50 lines beginning with

"01",
meaning 01XXXXXX, then I have 40 or 50 with 02XXXXXX.. Hope that helps
clarify.
Jim

"Jim May" wrote:

I have lines of data with 1 field ColB such as 01017340 (text) and
i have 50 lines all with 01017340 but in ColM 28.53%, an other 26.11%
and so on. The First two characters XX017340 and Compnay numbers
I have 25 companies and need the Average of each.
What formula could I use to acheive this?
TIA,
Jim




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
calculating a weighted average uisng formula bob green Excel Worksheet Functions 1 August 1st 05 06:31 AM
how do I get the edit button back on the formula bar? johnjrider Excel Discussion (Misc queries) 2 March 26th 05 12:20 AM
Find a non-blank cell and bring back text a in same row Rod Excel Worksheet Functions 12 March 24th 05 09:43 PM
Formula to read two column come back with one value? Barbie Excel Worksheet Functions 1 February 17th 05 09:57 PM
How do I create a formula to calculate the average percentage rat LD Excel Worksheet Functions 5 January 13th 05 06:17 PM


All times are GMT +1. The time now is 12:50 AM.

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"