Urgent Help

saurabh726

Well-known Member
Joined
Dec 13, 2003
Messages
891
Im saving a html file in excel in which numbers are getting saved in the form of text. for ex

New activation 2 2 2

Now if i add it..it does not get add and it getting saved in text not in number.

Is there any formula or method through which i can convert these figures into number from text.

Thanx
Saurabh
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I can't be certain that this is the most clever approach:
Book1
ABCDE
122228
Sheet1


Edit: I like this better:
Book1
ABCDE
122228
Sheet1
 
Upvote 0
well see i got some values and they are been saved from html to excel

for ex
el ftr rptd
New Activation 2 3 4
Confirmation 3 2 2


Now all these numbers are in text format like i cant apply anything on them i want to convert them into number format and that formula is not working same its giveing me the result in !value

Thanx
Saurabh

Edited by NPO: Deleted bb tag.
 
Upvote 0
Hello again,

Did you try the 2nd function? It'll coerce numeric data presented as a string to a numeric data type. The html maker is showing my cells as numbers (it's coercing too! :) ), but my sheet really has this array of cells set up as strings.

The first one (not preferred!) needs to be entered without the braces, then array entered by hitting ctrl-shift-enter in the formula bar.
 
Upvote 0
No i havent tried that what im basically looking for is to convert these numbers which are not adding up into number format or i want to add them not to multiply however ur result is same coz u have all the same values but if the values are not same then the result will be different give me a formula through which i can sum all these numbers coz they are not getting add.

Thanx
Saurabh
 
Upvote 0
Just thought I'd mention a "Built In" solution for change text to number format:

For example lets say you text 23 in cells A1:B5...
Step 1: Type the number "1" in an empty cell
Step 2: Select the "1" then right click and choose "copy"
Step 3: Select range A1:B5 and right click and choose "Special Paste"
Step 4: In Special Paste Window Select "Multiply"... Done !

Please note that this will work on Txt "23" but not on text "2 3". For the later you'd first need to do a replace to get rid of the space !
 
Upvote 0
did that but still the result is not able to add that on doing that it shows me !value. it does not get add up.

Thanx
Saurabh
 
Upvote 0
saurabh726 said:
No i havent tried that what im basically looking for is to convert these numbers which are not adding up into number format or i want to add them not to multiply however ur result is same coz u have all the same values but if the values are not same then the result will be different give me a formula through which i can sum all these numbers coz they are not getting add.

Thanx
Saurabh

Yes, I followed you. Perhaps you should try it, before commenting on the nature of the functionality. ;)
Book1
ABCDE
1222612
Sheet1


Your call... You did want a solution, right? Copying and implementing the proposed solution shouldn't prove to be too big a burden in my estimation. ;)

Incidentally Nimrod, this is native functionality. :biggrin:
 
Upvote 0
 New activation pending related  0  1  0
Pending conversions 0 0 0
Not Created   1  0  1
 Conversion 1 17  0
Conversion from  0  7  0
 Magic To   5  22  3
 Conversion  0  14  0


here are some exact number that im talking about because these numbers are not getting added up and hey nato i tried that also but its giving me value only

Thanx
Saurabh
 
Upvote 0
[C:\Documents and Settings\sgrover01\Desktop\mis for 12th dec.htm]

IF IT GETS ATTACHED SOME OF USE[/url]
 
Upvote 0

Forum statistics

Threads
1,221,621
Messages
6,160,879
Members
451,675
Latest member
Parlapalli

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top