Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default IF function question

Using a collegues formula: =IF(D6=0,0,F6/D6)

I am trying to get the % change between columns D and E. Problem is D and E
contain Zero at times. If D has a negative number or Zero, the % change is
not always accurate.

Tried the following, but if D is a zero then the result will not always be
correct.

=IF(D6<=0,0+F6,E6/D6-1)

Especially if D1=0, E1=2.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default IF function question

Where does F6 come from in your formula?

Pete

On Jan 17, 4:35*pm, asg2307 wrote:
Using a collegues formula: *=IF(D6=0,0,F6/D6)

I am trying to get the % change between columns D and E. *Problem is D and E
contain Zero at times. *If D has a negative number or Zero, the % change is
not always accurate.

Tried the following, but if D is a zero then the result will not always be
correct. *

=IF(D6<=0,0+F6,E6/D6-1)

Especially if D1=0, E1=2.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default IF function question

How do you wish to define the percentage change from D to E if D is zero?
Under normal terminology the percentage change would be infinite, but what
do you want to call it?
I would tend to do something like =IF(D6=0,"infinite change",E6/D6-1) , but
the choice is yours. You may also need to think about how you want to
define the percentage change if you are starting from a negative value.
--
David Biddulph

"asg2307" wrote in message
...
Using a collegues formula: =IF(D6=0,0,F6/D6)

I am trying to get the % change between columns D and E. Problem is D and
E
contain Zero at times. If D has a negative number or Zero, the % change
is
not always accurate.

Tried the following, but if D is a zero then the result will not always be
correct.

=IF(D6<=0,0+F6,E6/D6-1)

Especially if D1=0, E1=2.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default IF function question

=e1-d1 which is suppose to give net change, This is a comparison between
2007 and 2008. Numbers are very small.

"Pete_UK" wrote:

Where does F6 come from in your formula?

Pete

On Jan 17, 4:35 pm, asg2307 wrote:
Using a collegues formula: =IF(D6=0,0,F6/D6)

I am trying to get the % change between columns D and E. Problem is D and E
contain Zero at times. If D has a negative number or Zero, the % change is
not always accurate.

Tried the following, but if D is a zero then the result will not always be
correct.

=IF(D6<=0,0+F6,E6/D6-1)

Especially if D1=0, E1=2.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default IF function question

The ultimate answer from this formula will be in cell G and in percentages.

"David Biddulph" wrote:

How do you wish to define the percentage change from D to E if D is zero?
Under normal terminology the percentage change would be infinite, but what
do you want to call it?
I would tend to do something like =IF(D6=0,"infinite change",E6/D6-1) , but
the choice is yours. You may also need to think about how you want to
define the percentage change if you are starting from a negative value.
--
David Biddulph

"asg2307" wrote in message
...
Using a collegues formula: =IF(D6=0,0,F6/D6)

I am trying to get the % change between columns D and E. Problem is D and
E
contain Zero at times. If D has a negative number or Zero, the % change
is
not always accurate.

Tried the following, but if D is a zero then the result will not always be
correct.

=IF(D6<=0,0+F6,E6/D6-1)

Especially if D1=0, E1=2.





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
question about ABS Function Terry Excel Worksheet Functions 2 September 29th 07 04:08 PM
Function Question SiH23 Excel Discussion (Misc queries) 1 August 12th 07 10:04 PM
If Function Question?? Schwimms Excel Discussion (Misc queries) 3 July 31st 07 09:17 PM
Function Question JustOneJawa Excel Worksheet Functions 2 June 8th 06 08:43 PM
Function question Dale Rosenthal Excel Worksheet Functions 4 January 25th 05 03:47 AM


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