Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Converting Text to Values

Hello,

I get a large block of data from another source that is in text format that
I need converted to values in order to perform calculations. Beyond creating
a second worksheet linked to the first, I'm at a loss (e.g.
=Value(Sheet1!A1)). Any suggestions using VBA?

TIA!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default Converting Text to Values

Hi

1st way:
Format the block of data as general or number;
Insert a number 1 (or 0) into any free cell, and copy it;
Select your data;
Paste Special - check Multiply (or Add), and click OK.

2nd way:
Select a range from column;
Format the range as general or number;
From Data menu, select TextToColumns, continue with delimited, remove all
delimiters (in case you have not only numbers in selected range), set column
format to General, and click Finish. (When you have only numbers in text
format - without any spaces etc. - then simply TextToColumnsFinish).

--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"JEFF" wrote in message
...
Hello,

I get a large block of data from another source that is in text format
that
I need converted to values in order to perform calculations. Beyond
creating
a second worksheet linked to the first, I'm at a loss (e.g.
=Value(Sheet1!A1)). Any suggestions using VBA?

TIA!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Converting Text to Values

Embarrassingly simple.... Thank you.

"Arvi Laanemets" wrote:

Hi

1st way:
Format the block of data as general or number;
Insert a number 1 (or 0) into any free cell, and copy it;
Select your data;
Paste Special - check Multiply (or Add), and click OK.

2nd way:
Select a range from column;
Format the range as general or number;
From Data menu, select TextToColumns, continue with delimited, remove all
delimiters (in case you have not only numbers in selected range), set column
format to General, and click Finish. (When you have only numbers in text
format - without any spaces etc. - then simply TextToColumnsFinish).

--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"JEFF" wrote in message
...
Hello,

I get a large block of data from another source that is in text format
that
I need converted to values in order to perform calculations. Beyond
creating
a second worksheet linked to the first, I'm at a loss (e.g.
=Value(Sheet1!A1)). Any suggestions using VBA?

TIA!




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
Converting text to numerical values J New Users to Excel 1 February 16th 10 04:14 PM
Converting Text into Values Terry Bennett Excel Worksheet Functions 6 August 27th 09 02:03 AM
Converting values to text Keith Rathband New Users to Excel 3 October 4th 08 11:18 PM
Converting Text Values to Dates Frank Winston Excel Discussion (Misc queries) 12 June 5th 06 11:35 AM
vba is converting text to values! Bill_S Excel Programming 2 April 26th 05 03:52 AM


All times are GMT +1. The time now is 01: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"