PC Review


Reply
Thread Tools Rate Thread

Averageif Approximate Match

 
 
Pablo
Guest
Posts: n/a
 
      22nd Mar 2011
I am using an averageifs function on an array and would like to
further refine the average by making it average approximate matches.
Let me explain further.

Column A is a list of product types. They are 100, 100r, 100m, S04,
S04r, S04m, etc., then sales data is in column B. I have been able to
average the exact match of each product, but I would like to average
the general product type so that I have a sales average of all the
variations of the 100s, the S04s, etc.
 
Reply With Quote
 
 
 
 
joeu2004
Guest
Posts: n/a
 
      22nd Mar 2011
On Mar 21, 7:36*pm, Pablo <p...@sustainablefoodservice.com> wrote:
> I am using an averageifs function

[....]
> Column A is a list of product types. They are 100, 100r,
> 100m, S04, S04r, S04m, etc., then sales data is in column
> B. I have been able to average the exact match of each
> product, but I would like to average the general product
> type so that I have a sales average of all the variations
> of the 100s, the S04s, etc.


I do not have XL2007 or XL2010, but according to online sources,
AVERAGEIF and AVERAGEIFS supports wildcards. So the following should
do what you ask for:

=AVERAGEIFS(B1:B1000,A1:A1000,"100*")
=AVERAGEIFS(B1:B1000,A1:A1000,"S04*")

Alternatively:

=AVERAGEIF(A1:A1000,"100*",B1:B1000)
=AVERAGEIF(A1:A1000,"S04*",B1:B1000)

 
Reply With Quote
 
Pablo
Guest
Posts: n/a
 
      22nd Mar 2011
That worked! Thank you for the help.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Approximate match on string of text Pierre Microsoft Excel Worksheet Functions 8 16th May 2009 10:27 PM
How do I match using partial or approximate values? gear350z Microsoft Excel Worksheet Functions 3 5th Sep 2008 07:03 PM
Vlookup Approximate Match Question =?Utf-8?B?Q3JhaWc=?= Microsoft Excel Worksheet Functions 4 21st Aug 2007 05:34 AM
VBA find approximate match =?Utf-8?B?Qm9yaXM=?= Microsoft Excel Discussion 19 27th Nov 2006 04:09 PM
Vlookup approximate match question. =?Utf-8?B?QmlsbA==?= Microsoft Excel Worksheet Functions 4 1st Sep 2006 08:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:25 AM.