Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 )
How do I get back to a 123.45? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try:
=--substitute(a1," ","") Regards, Fred. "Chris" wrote in message ... Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Chris,
Back up up your data before you do this incase spaces get removed in areas that you do not want them removed. Select the data with the unwanted spaces. Select Replace (Under menu item Edit in versions up to xl2003 and in far right of home ribbon in xl2007) Press space once in the Find field and do not put anything in the replace field and then click Replace All. -- Regards, OssieMac "Chris" wrote: Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Try this =SUBSTITUTE(E10," ","") -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Chris" wrote in message ... Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi again Chris,
If my previous post does not work then the spaces maybe non printable characters that are not really spaces. Try using Clean function. You will need a helper column beside the column of data and place the Clean function in the helper column. Example: =CLEAN(A2) Copy the function down to bottom of data and then select the column and Copy - Past special - Values. -- Regards, OssieMac "OssieMac" wrote: Hi Chris, Back up up your data before you do this incase spaces get removed in areas that you do not want them removed. Select the data with the unwanted spaces. Select Replace (Under menu item Edit in versions up to xl2003 and in far right of home ribbon in xl2007) Press space once in the Find field and do not put anything in the replace field and then click Replace All. -- Regards, OssieMac "Chris" wrote: Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Chris,
The simplest way is to use EditReplace. Select all of your data first, then go to EditReplace. Find what: put a space in the box. Replace with: leave this box empty. Then click Replace All. If this data came from the net you may have non-breaking spaces as well. To get rid of them repeat the same process but use a non-breaking space in place of the normal space. To type a non-breaking space hold down the Alt key and type 0160 on the number pad only, and then let go of the Alt key. If you do this as a two step operation don't forget to delete the normal space before you start the next step. You may also want to look in the help file for the TRIM and CLEAN functions. HTH Martin "Chris" wrote in message ... Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
As OssieMac pointed out the spaces may not be spacebars so using either a formula or the Replace command may fail. If they don't work then try this: Suppose the number is in cell A1 1 2 3 . 4 5 in B1 enter the formula =CODE(MID(A1,2,1)) This will return the character code of the first space as a number such as 178. In the substitute formula use =SUBSTITUTE(A1,CHAR(178),"") for the Replace command highlight the space in the cell and copy it (just the space), choose the Edit, Replace command and click in the Find what box and press Ctrl V. Leave the Replace with box empty and choose Replace All. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Chris" wrote: Visa put SPACES between all the numbers. (e.g. 1 2 3 . 4 5 ) How do I get back to a 123.45? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
any formula to convert numbers in word form, e.g. "2" as "Two"? | Excel Worksheet Functions | |||
Validation ?:Accepting both Numbers AND specific letters("N","n"," | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |