Applies To:
  • CitectSCADA 5.xx

I have made up a dbf file for use in Excel but after looking in the knowledge base after having troubles with calculating data.  I read that you have problems with some data being formatted as text (so Excel ignores it). Is there any way to overcome this so I can do calculations?

My files are large as they are full of machine data and it would be impossible to format each cell individually.


One very common problem that can occur within Excel when you import data from another source is the imported numbers are converted to text.

Fortunately this problem is a simple one to solve.

Type the number 1 on a clean Worksheet (not the one with the imported data).

Now copy this 1 and then go back to the Sheet containing your imported data.

Push F5 (to display the Go to dialog) and click Special then check Constants and click OK.

While all your data is selected go to Edit>Paste special then check the Multiply option and click OK.

All the text numbers will now be forced to convert to real numbers.

If you have the problem where there are formula cells on you sheet that have somehow been converted to text you will see the formula in the cell as apposed to the result. The above method won't work on formula cells, so here is a very simple approach.

Highlight the problem text cells and format them as General.

Push Ctrl+H (to display the Replace dialog) type an = (equal sign) in the Find what: box.

Type another = (equal sign) in the Replace with: box and then click the Replace All button.

All your problem formula cells should now be showing the result as opposed to the formula. This is because the format of the cells in no longer

Text and replacing the equal sign with another equal sign forces the formulas to recalculate.