If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 Year-over-year percentage of change
 Author Name Remember Me? Password
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## Year-over-year percentage of change

 Thread Tools Display Modes
#1
October 27th 08, 06:24 PM posted to microsoft.public.excel.worksheet.functions
 lstreet external usenet poster Posts: 3
Year-over-year percentage of change

I am trying to find the percentage of change in customers. This wouldn't be a
problem with the formula =IF(C35=0,D35,(D35-C35)/C35). However, the problem
arises when one of the cells is 0. So in this case let's say D35 is 35 and
C35 is 0. This returns a percent of increase of 3500%. Here is a snapshot of
the data I am having problems with

Thru 0908
2005 AVG 2006 AVG 2007 AVG 2008 AVG
(prod introduced)
0 0 35 36

I am then using all of the percentages of change found to determine and
average change for the 4 years. The 3500% throughs the calcuation off.

Any suggestions?

#2
October 27th 08, 07:18 PM posted to microsoft.public.excel.worksheet.functions
 Gary''s Student external usenet poster Posts: 11,058
Year-over-year percentage of change

=IF(C35=0,"",(D35-C35)/C35)

This leaves the cell blank. If you later use the =AVERAGE() function, you
will find that AVERAGE ignores these blanks
--
Gary''s Student - gsnu200810

"lstreet" wrote:

> I am trying to find the percentage of change in customers. This wouldn't be a
> problem with the formula =IF(C35=0,D35,(D35-C35)/C35). However, the problem
> arises when one of the cells is 0. So in this case let's say D35 is 35 and
> C35 is 0. This returns a percent of increase of 3500%. Here is a snapshot of
> the data I am having problems with
>
> Thru 0908
> 2005 AVG 2006 AVG 2007 AVG 2008 AVG
> (prod introduced)
> 0 0 35 36
>
> I am then using all of the percentages of change found to determine and
> average change for the 4 years. The 3500% throughs the calcuation off.
>
> Any suggestions?
>
>

#3
October 27th 08, 07:46 PM posted to microsoft.public.excel.worksheet.functions
 lstreet external usenet poster Posts: 3
Year-over-year percentage of change

Nice, this seeems to work nicely. One more thing however is that there are
times that it returns the dreaded #DIV/0!. How can I avoid this?

"Gary''s Student" wrote:

> =IF(C35=0,"",(D35-C35)/C35)
>
> This leaves the cell blank. If you later use the =AVERAGE() function, you
> will find that AVERAGE ignores these blanks
> --
> Gary''s Student - gsnu200810
>
>
> "lstreet" wrote:
>
> > I am trying to find the percentage of change in customers. This wouldn't be a
> > problem with the formula =IF(C35=0,D35,(D35-C35)/C35). However, the problem
> > arises when one of the cells is 0. So in this case let's say D35 is 35 and
> > C35 is 0. This returns a percent of increase of 3500%. Here is a snapshot of
> > the data I am having problems with
> >
> > Thru 0908
> > 2005 AVG 2006 AVG 2007 AVG 2008 AVG
> > (prod introduced)
> > 0 0 35 36
> >
> > I am then using all of the percentages of change found to determine and
> > average change for the 4 years. The 3500% throughs the calcuation off.
> >
> > Any suggestions?
> >
> >

#4
October 27th 08, 08:15 PM posted to microsoft.public.excel.worksheet.functions
 Glenn external usenet poster Posts: 1,240
Year-over-year percentage of change

Can't see any way that this formula could return that error. You are dividing
by C35 only if C35 IS NOT equal to zero.

lstreet wrote:
> Nice, this seeems to work nicely. One more thing however is that there are
> times that it returns the dreaded #DIV/0!. How can I avoid this?
>
> "Gary''s Student" wrote:
>
>> =IF(C35=0,"",(D35-C35)/C35)
>>
>> This leaves the cell blank. If you later use the =AVERAGE() function, you
>> will find that AVERAGE ignores these blanks
>> --
>> Gary''s Student - gsnu200810
>>
>>
>> "lstreet" wrote:
>>
>>> I am trying to find the percentage of change in customers. This wouldn't be a
>>> problem with the formula =IF(C35=0,D35,(D35-C35)/C35). However, the problem
>>> arises when one of the cells is 0. So in this case let's say D35 is 35 and
>>> C35 is 0. This returns a percent of increase of 3500%. Here is a snapshot of
>>> the data I am having problems with
>>>
>>> Thru 0908
>>> 2005 AVG 2006 AVG 2007 AVG 2008 AVG
>>> (prod introduced)
>>> 0 0 35 36
>>>
>>> I am then using all of the percentages of change found to determine and
>>> average change for the 4 years. The 3500% throughs the calcuation off.
>>>
>>> Any suggestions?
>>>
>>>

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post Formula to Calculate Compounded Percentage Per Year Dermot Excel Discussion (Misc queries) 16 April 24th 08 10:39 PM need formula 4 %change on both neg and pos movemnt year to year co suesolotel Excel Discussion (Misc queries) 4 January 13th 08 12:19 AM Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM How do I calculate year vs. year sales in a percentage? johngalt Excel Discussion (Misc queries) 2 January 10th 07 06:23 PM change the year in a calendar template to different year George Excel Discussion (Misc queries) 1 July 19th 06 07:34 PM

All times are GMT +1. The time now is 07:44 PM.

 - Contact Us - ExcelBanter forum home - FAQ - Links - Privacy Statement - Top