calculating % when some columns are 0

  • Thread starter Thread starter Ted
  • Start date Start date
T

Ted

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
 
Hi Ted,

=IF(K1=0,"",(K1-L1)/K1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| 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
|
|
|
 
Back
Top