# How to Set Cell Data types

What you enter in the Microsoft Excel spreadsheets is read by the program as general data, text, or numeric data. But there are limitations to each, and you obviously have to suit your own needs and preferences while using Microsoft Excel. The cell data type can be interpreted by Microsoft in different ways: numeric, general or text. The interesting thing is that even if you enter numerals you can have the program read the data as text. But why would you want to do that?

As a fact, Microsoft Excel automatically fixes the number that we enter. This is much like Microsoft word correcting some simple errors as we continue to type. Likewise Excel modifies the numerals so that they make sense. For example if I type in 0210 so Excel would automatically eliminate the first zero since it is meaningless to have that character. Bu if I want to keep it, I would have to change some settings. What is required in that Microsoft does not read the data as numbers? Once it does not interpret the data as numeric, it would not be bothered about the number sequence and corrections.

The “types” function in Microsoft Excel 2007 is a very useful feature as it allows you to determine and set the cell data type. The data you need to have in an Excel spreadsheet can be all numbers or numbers and letter or maybe just letters. With the type feature you can easily form formulas as a formula consist of both numbers and letters usually. The syntax for the type function that you need to know in order to use is TYPE (value). Here the value can be any type of data entry like a number or text for example.

**Now here is how value type is encoded in this way. The following numbers show the corresponding value types.**

- 1 is for numbers
- 2 is for text
- 4 is for logical value: which means that the content is in terms of a true or false
- For an error value, the code is 16
- Finally, for a range or array of contents, the value 64 is used.

**Converting data types**

If the data you receive has numbers written in the form of text you may want to change the data type to make the spreadsheet more bearable! By default the numeric entries are right aligned in the cells. So when you see numbers aligned to the left you can easily tell. At other moments you may want to change a numeric format so that Excel treats it as text. This may be so because if an entry is treated as a number you cannot add a preceding zero as it would vanish automatically. Now if you modify the system such that the numeric entries are being treated as text, first they would be left aligned, and then you know you can add numbers as you please and there is no automatic emission of any zero for example.

**Now, here is how set the data type:**

*General to text*: To change the data from general to text, you only need to add an apostrophe before the number. With an apostrophe Microsoft Excel will read the numeric entries that you then enter as text and you can change them as you please.*Text to general*: To deal with a text data that you want to be read as general data, you only have to click in the cell and simply hit the Enter key. And you are done: your text data will now be read by Excel as a general data.

This is how you use the program feature and keep your data the way you want it to be presented. The data type is thus decided by you and Excel follows. Moreover, there are some special software programs that help managing the cell data type. The usage and installation is easy and you do not even have to know the simple codes and techniques to switch the cell data type in your Microsoft excel spreadsheets. As you find the task doable, you should proceed. Follow the above steps or get a good program installed that could help you define data types.

### Further readings

## Post comment

## Categories

## Recent Posts

- How to Use the MS Excel Keyboard Shortcuts
- How to Locate Duplicate Records Quickly By Using Conditional Formatting in MS Excel
- How to Use PasteSpecial – Procedures for Microsoft Excel 2003 and Microsoft Excel 2007
- How to Sort using an AutoFilter – Understanding and Learning the Feature
- How to Base a Chart Off of Auto Filtered Records
- How to Use IF IsError Together?
- How to Use Custom Views
- How to Create Pivt Table
- How to Manipulate PivotTable after It has Been Created
- How to Update the Data in a Pivot Table
- How to Create Dynamic Named Ranges
- How to Use an Array
- How to Embed 8 If Statements into 1
- How to Edit a Recorded Macro?
- How to Record a Macro

## Random Posts

- How to Base a Chart Off of Auto Filtered Records
- ROMAN Excel Formula
- EXP Excel Formula
- BESSELY Excel Formula
- How To Protect A Worksheet And A Workbook
- CRITBINOM Excel Formula
- How to Use PasteSpecial – Procedures for Microsoft Excel 2003 and Microsoft Excel 2007
- T Excel Formula
- ACOSH Excel Formula
- POWER Excel Formula