Could On-site Excel Training The Best Solutions For Your Organisation?
Convert Text Formatted Numbers and Dates to Proper Numbers and Dates
One of the problems faced by Excel users is to convert text formatted numbers and dates to
proper numbers and dates. This situation is commonly encountered by business users who export data to Excel
from their accounting,
customer relationship or supply chain systems commonly known as Enterprise Resource Planning
(ERP) systems. To convert the data to proper dates and numbers,
some excel users resort to manully typing in
the numbers all over again. Some discovered that they will can re-enter the numbers again one by one by pressing the
function key F2 followed by the "ENTER" key. Both methods take away their precious time from work.
There are actually many methods that could be used to clean up their data in seconds and here are some of them.
Method 1 - convert text formatted numbers and dates without extra space or special characters
This method is useful if the numbers are formatted as text with no "extras" such
as spaces or other non-printable characters together with the numbers.
- Type the number "1" without quotes into any empty cell e.g. G3.
- Copy the cell (G3) containing the number.
- Select the range of cells that contains those number formatted as text.
- Activate the Paste Special function either by selecting Edit -> Paste Special or Point
at the highlighted range and click
on the righ mouse button, select Paste Special.
- In the pop-up window, make sure that you select Paste ALL and for Operation, select multiply.
- Click OK and you will immediately notice that the numbers are aligned to the right.
When you select the range, you will see the numbers are added up in the toolbar area.
Method 2 - convert text with space or other characters
This method is useful if the numbers contain "extras" such as space or some special characters.
Method 1 will not work in this case. You need to use the FIND and REPLACE ALL funtion to
replace all the "extras" at one go. As the "extras" get replaced, Excel will check those
the cells and present them as numbers instead of text.
In this method, you need to copy one of the "extras" (unseen characters) and use the FIND ALL function to find
all of them. Given below is the step by step guide to do this:
- Select one of the text formatted cells.
In the formula bar, copy the "extras". Assuming that the "extra" is found at the end and cannot be seen with
the naked eye, you can highlight the part of the text after the last character in the formula bar. That usually
select the unseen character(s).
If your "extras" are found in more than one part of
the text, you may have to repeat the process to remove these "extras".
- Select the range of cells you wish to convert from text to numbers.
- From the file menu, select EDIT-> REPLACE.
- Use Ctrl "V" to paste the copied content into the find text box.
- Leave the replace box blank.
- Click on the Replace All button and you are done.
Convert Text-formatted numbers to proper numbers.