![]() |
#1
|
|||
|
|||
![]()
hi, I am trying to return the forumale value to "-". see below
D11 cell = 0 F11 cell = 58,000 i am calculating year on year increase in expense where D11=2011 EXPENSE and F11=2012 EXPENSE formuale used is =SUM(F11-D11)/D11 which returns with #Div/0! error I want this to change to "-" regardless the D11 or F11 value becomes zero. please help it's looking very odd on my report I hope i have explained correctly. thanks for the help in advance |
#2
|
|||
|
|||
![]()
Normally, you dont need SUM in this formula =(F11-D11)/D11
To remove the error: Try this: =IF(ISERR((F11-D11)/D11*100)=TRUE;"-";(F11-D11)/D11*100) |
#3
|
|||
|
|||
![]()
thanks for your help. the formulae worked with a slight change, i removed =TRUE because it was giving me some message and also *100 because I already had the cell formated to percentage.
now its changing to "-" many thanks for your help Last edited by accablues; 07-26-2011 at 10:32 PM. |
#4
|
|||
|
|||
![]()
i just realised on my sheet that with the above formulae its giving me error
S-1 2012 figures = 0 (D10) 2013 figures = 34,000 (F10) it should show 100% increase in expense but it's giving me "-". the forumale i am using =IF(ISERROR((F10-D10)/D10),"-",(F10-D10)/D10) i also tried this formula, but still "-" =IF(ISERROR((F10-D10)/D10)=TRUE,"-",(F10-D10)/D10) help please thanks |
#5
|
|||
|
|||
![]()
the formula is corect, be careful to your regional settings marked in red in formula, instead of ; you use ,
=IF(ISERROR((F10-D10)/D10)=TRUE;"-";(F10-D10)/D10) look at the sample attached |
#6
|
|||
|
|||
![]()
=(f10-d10)/f10
|
#7
|
|||
|
|||
![]()
It won't error, but if you want to suppress errors:
=IFERROR((F10-D10)/F10,"-") |
#8
|
|||
|
|||
![]()
Sorry Kimberly, but this formula does not calculate the increase
=IFERROR((F10-D10)/F10,"-") I guess you intended =IFERROR((F10-D10)/D10,"-") But maybe i am wrong ![]() |
#9
|
|||
|
|||
![]()
I couldnt tell what the question was. I was pretty sure this wasn't the best answer
Quote:
You don't have to use Iserr or Iserror anymore. You never had to say =TRUE. |
#10
|
|||
|
|||
![]() Quote:
![]() wish you a wonderful day and hope for a real challenge ![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word Visual Basic error - run time error 504 | crazymorton | Word | 11 | 01-13-2012 04:32 AM |
Ms Word Error | manesh | Word | 1 | 05-28-2010 07:26 AM |
Circular error | markg2 | Excel | 2 | 05-17-2010 07:39 AM |
Runtime error 5487 - Word cannot complete the save to to file permission error | franferns | Word | 0 | 11-25-2009 05:35 AM |
Receive error cannot open this form because an error occurred in BCM 2007 | bornhusker | Outlook | 0 | 06-01-2009 10:28 AM |