PC Review


Reply
Thread Tools Rate Thread

averages without zero

 
 
=?Utf-8?B?UmNXZW5k?=
Guest
Posts: n/a
 
      5th Jul 2007
This is the formula I have now in order to caculate the average sales price
that each salesperson has sold their item for.
=AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
Forecast\2008 Forecast\)
But between these 2 worksheets, there are some items one sales person has
sold & one has not & some both sales people have sold, but not necessarily
for the same price....I want to calculate the average price of an item
between the two, but not include the average if that salesperson has not sold
the item.
Can someone help?
 
Reply With Quote
 
 
 
 
Stan Brown
Guest
Posts: n/a
 
      6th Jul 2007
Thu, 5 Jul 2007 15:46:01 -0700 from RcWend
<(E-Mail Removed)>:
> This is the formula I have now in order to caculate the average sales price
> that each salesperson has sold their item for.
> =AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
> Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
> Forecast\2008 Forecast\)
> But between these 2 worksheets, there are some items one sales person has
> sold & one has not & some both sales people have sold, but not necessarily
> for the same price....I want to calculate the average price of an item
> between the two, but not include the average if that salesperson has not sold
> the item.
> Can someone help?


=SUM(...) / COUNTIF(... <>0)
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
 
Reply With Quote
 
=?Utf-8?B?UmNXZW5k?=
Guest
Posts: n/a
 
      6th Jul 2007
Thanks for the response, but still don't understand. Can you please put it
into the formula I have?

"RcWend" wrote:

> This is the formula I have now in order to caculate the average sales price
> that each salesperson has sold their item for.
> =AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
> Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
> Forecast\2008 Forecast\)
> But between these 2 worksheets, there are some items one sales person has
> sold & one has not & some both sales people have sold, but not necessarily
> for the same price....I want to calculate the average price of an item
> between the two, but not include the average if that salesperson has not sold
> the item.
> Can someone help?

 
Reply With Quote
 
Susan
Guest
Posts: n/a
 
      6th Jul 2007
try this (no guarantees it's completely correct!)

=SUM(...) / COUNTIF(... <>0)


=SUM('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast
\2008
Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast
\Current
Forecast\2008 Forecast\) /COUNTIF(('R:\Sales Forcast\Current Forecast
\2008 Forecast\[Randy
Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast
\2008
Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast
\Current
Forecast\2008 Forecast\) <>0)

hth

susan


On Jul 6, 11:24 am, RcWend <RcW...@discussions.microsoft.com> wrote:
> Thanks for the response, but still don't understand. Can you please put it
> into the formula I have?
>
>
>
> "RcWend" wrote:
> > This is the formula I have now in order to caculate the average sales price
> > that each salesperson has sold their item for.
> > =AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> > Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
> > Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
> > Forecast\2008 Forecast\)
> > But between these 2 worksheets, there are some items one sales person has
> > sold & one has not & some both sales people have sold, but not necessarily
> > for the same price....I want to calculate the average price of an item
> > between the two, but not include the average if that salesperson has not sold
> > the item.
> > Can someone help?- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
=?Utf-8?B?UmNXZW5k?=
Guest
Posts: n/a
 
      6th Jul 2007
Thanks, Susan..but it just gives me an error message..anyone else?

"Susan" wrote:

> try this (no guarantees it's completely correct!)
>
> =SUM(...) / COUNTIF(... <>0)
>
>
> =SUM('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast
> \2008
> Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast
> \Current
> Forecast\2008 Forecast\) /COUNTIF(('R:\Sales Forcast\Current Forecast
> \2008 Forecast\[Randy
> Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast
> \2008
> Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast
> \Current
> Forecast\2008 Forecast\) <>0)
>
> hth
>
> susan
>
>
> On Jul 6, 11:24 am, RcWend <RcW...@discussions.microsoft.com> wrote:
> > Thanks for the response, but still don't understand. Can you please put it
> > into the formula I have?
> >
> >
> >
> > "RcWend" wrote:
> > > This is the formula I have now in order to caculate the average sales price
> > > that each salesperson has sold their item for.
> > > =AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> > > Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
> > > Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
> > > Forecast\2008 Forecast\)
> > > But between these 2 worksheets, there are some items one sales person has
> > > sold & one has not & some both sales people have sold, but not necessarily
> > > for the same price....I want to calculate the average price of an item
> > > between the two, but not include the average if that salesperson has not sold
> > > the item.
> > > Can someone help?- Hide quoted text -

> >
> > - Show quoted text -

>
>
>

 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      9th Jul 2007
"RcWend" <(E-Mail Removed)> wrote...
....
>"RcWend" wrote:
>>This is the formula I have now in order to caculate the average sales
>>price
>>that each salesperson has sold their item for.
>>=AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
>>Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
>>Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
>>Forecast\2008 Forecast\)

....

So you're pulling single values from multiple files? If so, don't try to
average them directly. You'd be MUCH better off pulling the values into
separate cells in your summary workbook, e.g.,

C3:
='R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy Customers.xls]
Randy Totals'!AK4

C4:
='R:\Sales Forcast\Current Forecast\2008 Forecast\[Lynn Customers.xls]
Lynn Totals'!AK4

etc., then using a formula like

=SUM(C4:C#)/COUNTIF(C4:C#,">0")

where C# is a placeholder for the bottommost row in the range containing the
separate external reference links to the other files.


 
Reply With Quote
 
=?Utf-8?B?UmNXZW5k?=
Guest
Posts: n/a
 
      10th Jul 2007
That's it!! Thanks much..

"Harlan Grove" wrote:

> "RcWend" <(E-Mail Removed)> wrote...
> ....
> >"RcWend" wrote:
> >>This is the formula I have now in order to caculate the average sales
> >>price
> >>that each salesperson has sold their item for.
> >>=AVERAGE('R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy
> >>Customers.xls]Randy Totals'!AK4,'R:\Sales Forcast\Current Forecast\2008
> >>Forecast\[Lynn Customers.xls]Lynn Totals'!AK4,'R:\Sales Forcast\Current
> >>Forecast\2008 Forecast\)

> ....
>
> So you're pulling single values from multiple files? If so, don't try to
> average them directly. You'd be MUCH better off pulling the values into
> separate cells in your summary workbook, e.g.,
>
> C3:
> ='R:\Sales Forcast\Current Forecast\2008 Forecast\[Randy Customers.xls]
> Randy Totals'!AK4
>
> C4:
> ='R:\Sales Forcast\Current Forecast\2008 Forecast\[Lynn Customers.xls]
> Lynn Totals'!AK4
>
> etc., then using a formula like
>
> =SUM(C4:C#)/COUNTIF(C4:C#,">0")
>
> where C# is a placeholder for the bottommost row in the range containing the
> separate external reference links to the other files.
>
>
>

 
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
top 3 averages alm09 Microsoft Access Queries 1 7th Apr 2009 03:09 AM
Averages =?Utf-8?B?QmVj?= Microsoft Excel Worksheet Functions 3 12th Sep 2007 05:20 AM
averages =?Utf-8?B?TWV0b2xpdXMgRGFk?= Microsoft Excel Worksheet Functions 1 7th Feb 2006 01:44 AM
Re: Averages... Could you please Help Me? Lynn Trapp Microsoft Access Getting Started 12 27th Sep 2005 10:24 PM
Averages Jeff Microsoft Access Reports 4 27th Jan 2005 11:03 PM


Features
 

Advertising
 

Newsgroups
 


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