Transfer Numbers To Excel

broken image


This function lets you convert dollar and cent amounts to words with a formula, so 22.50 would read as Twenty-Two Dollars and Fifty Cents. This can be very useful if you're using Excel as a template to print checks. If you want to convert numeric values to text format without displaying them as words, use the TEXT function instead. Select and copy numbers which you want to paste without formulas. Select a cell, and right click on it. Then click the Values option under Paste Option item in the context menu, see the following screen shot. Working with Numbers on a Mac computer is great if everyone you work with also uses Numbers. However, if you need to share your spreadsheet with a coworker or client who uses Microsoft Excel, then you will need to convert your file to the XLS format that Excel uses.

  • #2 Convert Numbers to Text using Excel Format Cell Option. Besides using the TEXT function, you can also use the format cell option to convert numbers to text in Excel. Suppose you have a number 25 in cell B11, and you want to convert numbers to text. To do so, you can press CTRL + 1 (or COMMAND + 1 in Mac).
  • Select numbers file, which you want to convert, from your computer, Google Drive, Dropbox or drag and drop it on the page. Step 2 Convert numbers to xls Select xls or any other format, which you want to convert.

Some Excel values look like numbers, but don't add up. Or, you can't change the formatting for Excel numbers - it always stays the same. Try the solutions in this article, to fix those broken numbers.

For date formatting problems, see the Excel Dates Fix Format page.

NOTE: For instructions on changing written words to numbers (e.g. from Three to 3), see Words to Numbers in Excel.

Look Like Numbers, But Don't Add Up

If you copy data from another program, or from a text file or a web site, Excel may treat the numbers as text. In Excel, the values could look like numbers, but they don't act like numbers, and don't show a correct total, as you can see below.

Also, you can't change the number formatting - it always stays the same.

In the screen shot above, the values in column C look like numbers, but they don't add up -- the total is zero.

At the right, the COUNTA function is used in cell F4, and it shows that there are 4 entries in that range of cells.

However, the COUNT function in cell F5 show a result of zero -- none of the values in cells C3:C6 are recognized as numers.

Convert Text to Numbers with Paste Special

For some 'text' numbers, you can fix the problem with Paste Special. Watch this short video tutorial, to see the steps, and the written instructions are below. If you need to do this frequently, you can use a macro to automate the task.

NOTE: The 'Convert Text to Numbers' feature is available in my Contextures Excel Tools add-in Stronghold android offline.

To fix numbers that are seen as text, follow these steps:

  1. Right-click a blank cell, and click Copy
  2. Select the cells that contain the 'text' numbers
  3. Right-click on one of the selected cells, and click Paste Special
  4. In the Paste section, select Values
  5. In the Operation section, select Add
  6. Click OK

After the numbers have been fixed, you can apply formatting, by using the Number Format commands on the Ribbon's Home tab.

Convert Text to Numbers With VBA

If you frequently convert text to numbers, you can use a macro.
Store the following macro in a workbook that is always open, such as your Personal Workbook. Then, add a button to an existing toolbar, and attach the macro to that button. To fix 'text' numbers, select the cells, and click the toolbar button.

Convert Dates with Replace All

If dates are formatted with slashes, such as 4/5/14, you can try to convert them to real dates by replacing the slashes.

  1. Select the cells that contain the dates
  2. On the Ribbon's Home tab, click Find & Select (at the far right)
  3. Click Replace
  4. For Find what, type a forward slash: /
  5. For Replace with, type a forward slash: /
  6. Click Replace All
  7. Click OK to confirm the replacement, then close the Find and Replace window .

After the dates have been fixed, you can apply formatting, by using the Number Format commands on the Ribbon's Home tab.

Excel convert number to words

Fix Hidden Characters

If you copy data from a website, it might include hidden characters, such a non-breaking space. In Excel, this is character 160, and it is not fixed by some of the number cleanup techniques. You can search for that character, and replace it.

If you need to do this frequently, you can use a macro to automate the task.

  1. Select the cells that contain the numbers to be fixed
  2. On the Ribbon's Home tab, click Find & Replace (at the far right)
  3. Click Replace
  4. For Find what, press the Alt key, and on the number keypad, press 0160 (nothing will appear in the box)
  5. For Replace with, leave the box empty
  6. Click Replace All
  7. Click OK to confirm the replacement, then close the Find and Replace window .

Fix Hidden Characters With VBA

If you frequently need to remove the hidden non-breaking space character, you can use a macro.
Store the following macro in a workbook that is always open, such as your Personal Workbook. Then, add a button to an existing toolbar, and attach the macro to that button. To fix 'text' numbers, select the cells, and click the toolbar button.

Convert Text to Numbers with Text to Columns

  1. Select the cells that contain the numbers
  2. On the Ribbon's Data tab, click Text to Columns
  3. In Step 1, select Delimited as the File type, then click the Finish button

Convert Currency With Different Separators

If a worksheet has currency in a format with different separators, use the Text To Columns command to convert the values. For example, change German currency -- 987.654,32 -- to US currency -- 987,654.32

  • The German currency uses a period as the Thousands separator, and a comma as the Decimal separator
  • The US currency uses a comma as the Thousands separator, and a period as the Decimal separator
  1. Select the cells that contain the numbers
  2. Choose Data>Text to Columns
  3. In the Text to Columns window, click Next, twice
  4. In Step 3, click the Advanced button
  5. From the Decimal separator drop down, select the separator that is currently used in the values -- ',' (comma) in this example
  6. From the Thousands separator drop down, select the separator that is currently used in the values -- '.' (period) in this example
  7. Click OK, then click Finish.

Convert Trailing Minus Signs

If you import numbers that have a trailing minus sign, you can use one of the following techniques to convert them to negative numbers.

Text to Columns

With the Text to Columns feature, imported numbers with trailing minus signs can be easily converted to negative numbers.

  1. Select the cells that contain the numbers
  2. Choose Data>Text to Columns
  3. To view the Trailing Minus setting, click Next, click Next
  4. In Step 3, click the Advanced button
  5. Check the box for 'Trailing minus for negative numbers', click OK
  6. Click Finish

Note: If 'Trailing minus for negative numbers' is checked, you can click Finish in Step 1 of the Text to Columns wizard.

Convert Trailing Minus Signs - Formula

Thanks to Bob Ryan, from Simply Learning Excel, who sent this formula to fix imported numbers with trailing minus signs.

  1. In this example, the first number with a trailing minus sign is in cell A1
  2. Select cell B1, and enter this formula:
  3. =IF(RIGHT(A1,1)='-',-VALUE(LEFT(A1,LEN(A1)-1)),VALUE(A1))
  4. Copy the formula down to the last row of data.

In the formula, the RIGHT function returns the last character in cell A1.

If that character is a minus sign, the VALUE function returns the number value to the left of the trailing minus sign.

The minus sign before the VALUE function changes the value to a negative amount.

Convert Trailing Minus Signs Programmatically

In all versions of Excel, you can use the following macro to convert numbers with trailing minus signs.

Paste as CSV

Transfer Excel To Numbers Iphone

When importing data, you might be able to prevent copied numbers from being pasted as text, if you paste the data as CSV.

  1. Copy the data in the other program
  2. Switch to Excel
  3. Right-click the cell where the paste will start, and click Paste Special
  4. Choose Edit>Paste Special
  5. Select CSV, if it appears in the list, and click OK

Put Numbers In Order In Excel

Words

Fix Hidden Characters

If you copy data from a website, it might include hidden characters, such a non-breaking space. In Excel, this is character 160, and it is not fixed by some of the number cleanup techniques. You can search for that character, and replace it.

If you need to do this frequently, you can use a macro to automate the task.

  1. Select the cells that contain the numbers to be fixed
  2. On the Ribbon's Home tab, click Find & Replace (at the far right)
  3. Click Replace
  4. For Find what, press the Alt key, and on the number keypad, press 0160 (nothing will appear in the box)
  5. For Replace with, leave the box empty
  6. Click Replace All
  7. Click OK to confirm the replacement, then close the Find and Replace window .

Fix Hidden Characters With VBA

If you frequently need to remove the hidden non-breaking space character, you can use a macro.
Store the following macro in a workbook that is always open, such as your Personal Workbook. Then, add a button to an existing toolbar, and attach the macro to that button. To fix 'text' numbers, select the cells, and click the toolbar button.

Convert Text to Numbers with Text to Columns

  1. Select the cells that contain the numbers
  2. On the Ribbon's Data tab, click Text to Columns
  3. In Step 1, select Delimited as the File type, then click the Finish button

Convert Currency With Different Separators

If a worksheet has currency in a format with different separators, use the Text To Columns command to convert the values. For example, change German currency -- 987.654,32 -- to US currency -- 987,654.32

  • The German currency uses a period as the Thousands separator, and a comma as the Decimal separator
  • The US currency uses a comma as the Thousands separator, and a period as the Decimal separator
  1. Select the cells that contain the numbers
  2. Choose Data>Text to Columns
  3. In the Text to Columns window, click Next, twice
  4. In Step 3, click the Advanced button
  5. From the Decimal separator drop down, select the separator that is currently used in the values -- ',' (comma) in this example
  6. From the Thousands separator drop down, select the separator that is currently used in the values -- '.' (period) in this example
  7. Click OK, then click Finish.

Convert Trailing Minus Signs

If you import numbers that have a trailing minus sign, you can use one of the following techniques to convert them to negative numbers.

Text to Columns

With the Text to Columns feature, imported numbers with trailing minus signs can be easily converted to negative numbers.

  1. Select the cells that contain the numbers
  2. Choose Data>Text to Columns
  3. To view the Trailing Minus setting, click Next, click Next
  4. In Step 3, click the Advanced button
  5. Check the box for 'Trailing minus for negative numbers', click OK
  6. Click Finish

Note: If 'Trailing minus for negative numbers' is checked, you can click Finish in Step 1 of the Text to Columns wizard.

Convert Trailing Minus Signs - Formula

Thanks to Bob Ryan, from Simply Learning Excel, who sent this formula to fix imported numbers with trailing minus signs.

  1. In this example, the first number with a trailing minus sign is in cell A1
  2. Select cell B1, and enter this formula:
  3. =IF(RIGHT(A1,1)='-',-VALUE(LEFT(A1,LEN(A1)-1)),VALUE(A1))
  4. Copy the formula down to the last row of data.

In the formula, the RIGHT function returns the last character in cell A1.

If that character is a minus sign, the VALUE function returns the number value to the left of the trailing minus sign.

The minus sign before the VALUE function changes the value to a negative amount.

Convert Trailing Minus Signs Programmatically

In all versions of Excel, you can use the following macro to convert numbers with trailing minus signs.

Paste as CSV

Transfer Excel To Numbers Iphone

When importing data, you might be able to prevent copied numbers from being pasted as text, if you paste the data as CSV.

  1. Copy the data in the other program
  2. Switch to Excel
  3. Right-click the cell where the paste will start, and click Paste Special
  4. Choose Edit>Paste Special
  5. Select CSV, if it appears in the list, and click OK

Put Numbers In Order In Excel

Download the Sample File

Download the zipped file with the sample data and macros. The zipped file is in xlsm format, and contains macros, so enable them to test the code.

More Data Entry Tutorials

____________

Don't Miss Our Excel Tips

Don't miss my latest Excel tips and videos! Click OK, to get my weekly newsletter with Excel tips, and links to other Excel news and resources.





broken image