#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default text to numeric

I have imported data into Excel 97 and negative numbers appear in columns
like this:

123.45-
24.21-
1000.78-

These are text and will not allow any sums. How can I convert the above to
numeric values so they appear as follows:
-123.45
-24.21
-1000.78

OR

(123.45)
(24.21)
(1000.78)

Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default text to numeric

See

http://www.mcgimpsey.com/excel/postfixnegatives.html

In article ,
CLEM wrote:

I have imported data into Excel 97 and negative numbers appear in columns
like this:

123.45-
24.21-
1000.78-

These are text and will not allow any sums. How can I convert the above to
numeric values so they appear as follows:
-123.45
-24.21
-1000.78

OR

(123.45)
(24.21)
(1000.78)

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 68
Default text to numeric

On Oct 16, 2:51 pm, JE McGimpsey wrote:
See

http://www.mcgimpsey.com/excel/postfixnegatives.html

In article ,

CLEM wrote:
I have imported data into Excel 97 and negative numbers appear in columns
like this:


123.45-
24.21-
1000.78-


These are text and will not allow any sums. How can I convert the above to
numeric values so they appear as follows:
-123.45
-24.21
-1000.78


OR


(123.45)
(24.21)
(1000.78)


Thanks,


Try following in the colomn next to imported

=IF(RIGHT(A2,1)="-",VALUE(LEFT(A2,LEN(A2)-1)),VALUE(LEFT(A2,LEN(A2))))

Cheers
Harold

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default text to numeric

Thank you both, this solved my problem!!!!!!!!!!!!!!!!!

"mohavv" wrote:

On Oct 16, 2:51 pm, JE McGimpsey wrote:
See

http://www.mcgimpsey.com/excel/postfixnegatives.html

In article ,

CLEM wrote:
I have imported data into Excel 97 and negative numbers appear in columns
like this:


123.45-
24.21-
1000.78-


These are text and will not allow any sums. How can I convert the above to
numeric values so they appear as follows:
-123.45
-24.21
-1000.78


OR


(123.45)
(24.21)
(1000.78)


Thanks,


Try following in the colomn next to imported

=IF(RIGHT(A2,1)="-",VALUE(LEFT(A2,LEN(A2)-1)),VALUE(LEFT(A2,LEN(A2))))

Cheers
Harold


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
Validation numeric and text BNT1 via OfficeKB.com Excel Discussion (Misc queries) 4 August 14th 07 06:21 PM
Text treated as a numeric value? betany70 Excel Discussion (Misc queries) 4 July 23rd 07 07:42 PM
Numeric in Text to convert back to the form of Numeric for VLookup Purposes achilles Excel Discussion (Misc queries) 4 February 6th 06 07:05 AM
Text to Numeric lehigh46 Excel Worksheet Functions 3 July 28th 05 06:16 PM
Text to Numeric format Joe Excel Discussion (Misc queries) 1 December 9th 04 04:52 PM


All times are GMT +1. The time now is 01:46 AM.

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"