5
525047
We receive XLS files which contain columns of numbers which we then us
to calculate other fields. The columns should just contain numbers bu
some (randomly) seem to have been created as numbers in text forma
(i.e. it shows the number zero). If you try and test for them bein
zero it fails e.g.
A1=0 (or what looks like zero!)
=if(a1=0,true,false) gives false
if you re-type over A1 with a zero number on the keyboard it works
Excel flags the original data as being held in character format. Usin
FORMAT CELL to change the zero to GENERAL or NUMBER has no effect o
the test failing.
How could the zero number have been created as character format an
whats the best way to prevent it?
Is there any way to automatically convert any rows in this state t
true numbers?
We are using Excel 2003 SP
to calculate other fields. The columns should just contain numbers bu
some (randomly) seem to have been created as numbers in text forma
(i.e. it shows the number zero). If you try and test for them bein
zero it fails e.g.
A1=0 (or what looks like zero!)
=if(a1=0,true,false) gives false
if you re-type over A1 with a zero number on the keyboard it works
Excel flags the original data as being held in character format. Usin
FORMAT CELL to change the zero to GENERAL or NUMBER has no effect o
the test failing.
How could the zero number have been created as character format an
whats the best way to prevent it?
Is there any way to automatically convert any rows in this state t
true numbers?
We are using Excel 2003 SP