#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default cell formattiing

I have to export a spreadsheet from another data base. The numbers come over
as ##-####-##-#, and I am unable to change their format. Does anyone know
how to change this number to #########?

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 594
Default cell formattiing

You could try this on a copy of your workbook.....

Highlight the column, then Edit Replace FindWhat: - ReplaceWith:
Leave blank ReplaceAll

Vaya con Dios,
Chuck, CABGx3


"Kamron" wrote in message
...
I have to export a spreadsheet from another data base. The numbers come
over
as ##-####-##-#, and I am unable to change their format. Does anyone know
how to change this number to #########?

Thank you!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default cell formattiing

Hi,

Let's say the numbers are in Column A, starting in A2. Create a helper
column (B, C, or D .......) with the following formula in (B2, C2, or
D2.....), and fill down the column.

=--SUBSTITUTE(A2,"-","")

Copy that helper column and do a "Paste Special" -- "Values" on the
original column (i.e., Column A). This will replace the original format with
the desired format. Now you can get rid of the helper column.

If this helps, please give a feedback by clicking "Yes".

Regards,
B. R. Ramachandran




"Kamron" wrote:

I have to export a spreadsheet from another data base. The numbers come over
as ##-####-##-#, and I am unable to change their format. Does anyone know
how to change this number to #########?

Thank you!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options Yuvraj Excel Discussion (Misc queries) 0 June 29th 09 11:20 AM
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Yuvraj Excel Discussion (Misc queries) 0 June 26th 09 06:01 PM
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 [email protected] Excel Worksheet Functions 1 August 22nd 08 02:04 AM
Inputting cell value from source cell based on value in adjacent cell. michaelberrier Excel Discussion (Misc queries) 3 December 9th 06 09:16 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM


All times are GMT +1. The time now is 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"