Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Re-Format from Text to Number & Consolidate multiple Workbooks

I am fed a Folder of 9 workbooks that I have to Consolidate
by Project and Employee in a single New Workbook, on Sheet1, same
Folder.
However the data to be summed by Employee has first to be Re-Formatted
from Text to Number with 2 decimals.
for example : 114.0000 H to 114.00 or 28.0000 Q to
28.00
Can you help me with these Loops & Format.
I am aware Excel 2007 has a Convert Text to Columns tool,
but I am using Excel 2005.
Thank you for your Help.
Celeste
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Re-Format from Text to Number & Consolidate multiple Workbooks

Excel 2003 has Text-to-Columns in the Data menu on the worksheet menu. this
will only put long strings into different cells. the VAL function may do
what you want. Try this code. Modify the rows and columns to match your
data.


For ColCount = Range("A1").Column To Range("D1").Column
For RowCount = 3 To 10
Cells(RowCount, ColCount) = Val(Cells(RowCount, ColCount))
Next RowCount
Next ColCount

"u473" wrote:

I am fed a Folder of 9 workbooks that I have to Consolidate
by Project and Employee in a single New Workbook, on Sheet1, same
Folder.
However the data to be summed by Employee has first to be Re-Formatted
from Text to Number with 2 decimals.
for example : 114.0000 H to 114.00 or 28.0000 Q to
28.00
Can you help me with these Loops & Format.
I am aware Excel 2007 has a Convert Text to Columns tool,
but I am using Excel 2005.
Thank you for your Help.
Celeste

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
Consolidate multiple workbooks (...and adding new files in the masterworkbook on the fly) sokratez Excel Discussion (Misc queries) 3 June 17th 09 05:51 PM
Consolidate Multiple Workbooks - Excel 2007 Nadine Excel Worksheet Functions 1 April 28th 09 09:10 PM
Consolidate multiple workbooks into a single worksheet Krista Excel Worksheet Functions 1 May 15th 06 05:10 PM
How to consolidate workbooks automatically from multiple emails? CCSMCA Excel Programming 4 February 9th 06 10:31 PM
Consolidate multiple workbooks BillMarshall Excel Worksheet Functions 2 November 26th 05 09:40 AM


All times are GMT +1. The time now is 11:33 PM.

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

About Us

"It's about Microsoft Excel"