View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ASA ASA is offline
external usenet poster
 
Posts: 13
Default getting #DIV/0! when calculating percentage

Should be =IF(ISERROR((K-L)/K),"",(K-L)/K)


"Dave" wrote:

Hi Ted,
Try this formula:
=IF(ISNA((K-L)/K),"",(K-L)/K)
Regards - Dave

"Ted" wrote:

hi all, i'm not much of a guru with Excel. how do i prevent the #DIV/0! when
a column i'm dividing by is a 0.

i'm using Excel to calculate the Delta %. i'm using a simple formula
(K-L)/K. a lot of rows have values but obviously if for example K9 is 0 i'm
going to get an error. any ideas?

TIA
Ted