Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Why value comes with 10 digit after . (.)?

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Why value comes with 10 digit after . (.)?

Say we have copied values and pasted them into column A, from A1 thru A100

In B1 enter:

=ROUND(A1,2) and copy down

You can either use col B or copy col B and paste/special values back onto
column A
--
Gary''s Student - gsnu200805


"Harshad" wrote:

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Why value comes with 10 digit after . (.)?

Dear Gary's Student,
Thank you for quick reply.
i used your formula but the result is #VALUE!

Your suggesion is 100% OK for manually entered values.

if want to experience, just go to http://solvdb.ncms.org/solvdb.htm
Sleclect Option "Select By Property Range",
Enter 30 and 40 in "Boiling Point" blank cell
Hit "Display Chemical Selection"
You will get data, pls copy and paste it in excel sheet.
Now, remeining task u know very well.

Hoping your answer soon.

Thank you



"Gary''s Student" wrote:

Say we have copied values and pasted them into column A, from A1 thru A100

In B1 enter:

=ROUND(A1,2) and copy down

You can either use col B or copy col B and paste/special values back onto
column A
--
Gary''s Student - gsnu200805


"Harshad" wrote:

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Why value comes with 10 digit after . (.)?

I believe your values are coming in as text and not as numbers. Have you
tried using the DATA/GET EXTERNAL DATA/NEW WEB QUERY to get your data from
the website in question instead of using the copy command?
--
Kevin Backmann


"Harshad" wrote:

Dear Gary's Student,
Thank you for quick reply.
i used your formula but the result is #VALUE!

Your suggesion is 100% OK for manually entered values.

if want to experience, just go to http://solvdb.ncms.org/solvdb.htm
Sleclect Option "Select By Property Range",
Enter 30 and 40 in "Boiling Point" blank cell
Hit "Display Chemical Selection"
You will get data, pls copy and paste it in excel sheet.
Now, remeining task u know very well.

Hoping your answer soon.

Thank you



"Gary''s Student" wrote:

Say we have copied values and pasted them into column A, from A1 thru A100

In B1 enter:

=ROUND(A1,2) and copy down

You can either use col B or copy col B and paste/special values back onto
column A
--
Gary''s Student - gsnu200805


"Harshad" wrote:

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Why value comes with 10 digit after . (.)?

Try this

=ROUND(TRIM(SUBSTITUTE(A1,CHAR(160),CHAR(32))),2)


On Sep 23, 5:26*am, Harshad wrote:
I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Why value comes with 10 digit after . (.)?

Hi Kevin:

I think Harshad's data may contain some non-visible characters like ascii 160.

If you format a cell as Text and enter 123.4567, the formula will work and
display 123.46 and not an error.
--
Gary''s Student - gsnu200805


"Kevin B" wrote:

I believe your values are coming in as text and not as numbers. Have you
tried using the DATA/GET EXTERNAL DATA/NEW WEB QUERY to get your data from
the website in question instead of using the copy command?
--
Kevin Backmann


"Harshad" wrote:

Dear Gary's Student,
Thank you for quick reply.
i used your formula but the result is #VALUE!

Your suggesion is 100% OK for manually entered values.

if want to experience, just go to http://solvdb.ncms.org/solvdb.htm
Sleclect Option "Select By Property Range",
Enter 30 and 40 in "Boiling Point" blank cell
Hit "Display Chemical Selection"
You will get data, pls copy and paste it in excel sheet.
Now, remeining task u know very well.

Hoping your answer soon.

Thank you



"Gary''s Student" wrote:

Say we have copied values and pasted them into column A, from A1 thru A100

In B1 enter:

=ROUND(A1,2) and copy down

You can either use col B or copy col B and paste/special values back onto
column A
--
Gary''s Student - gsnu200805


"Harshad" wrote:

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Why value comes with 10 digit after . (.)?

I had not thought of that, Mr. Student.

Thanks for the knowledge share, I'll remember this one.

--
Kevin Backmann


"Gary''s Student" wrote:

Hi Kevin:

I think Harshad's data may contain some non-visible characters like ascii 160.

If you format a cell as Text and enter 123.4567, the formula will work and
display 123.46 and not an error.
--
Gary''s Student - gsnu200805


"Kevin B" wrote:

I believe your values are coming in as text and not as numbers. Have you
tried using the DATA/GET EXTERNAL DATA/NEW WEB QUERY to get your data from
the website in question instead of using the copy command?
--
Kevin Backmann


"Harshad" wrote:

Dear Gary's Student,
Thank you for quick reply.
i used your formula but the result is #VALUE!

Your suggesion is 100% OK for manually entered values.

if want to experience, just go to http://solvdb.ncms.org/solvdb.htm
Sleclect Option "Select By Property Range",
Enter 30 and 40 in "Boiling Point" blank cell
Hit "Display Chemical Selection"
You will get data, pls copy and paste it in excel sheet.
Now, remeining task u know very well.

Hoping your answer soon.

Thank you



"Gary''s Student" wrote:

Say we have copied values and pasted them into column A, from A1 thru A100

In B1 enter:

=ROUND(A1,2) and copy down

You can either use col B or copy col B and paste/special values back onto
column A
--
Gary''s Student - gsnu200805


"Harshad" wrote:

I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Why value comes with 10 digit after . (.)?

Hi dear Muddan Madhu,

You are great, you solved my problem.
Thank you very much.

Please cary on such God gifted intellectual work.

With regards,
Harshad

"muddan madhu" wrote:

Try this

=ROUND(TRIM(SUBSTITUTE(A1,CHAR(160),CHAR(32))),2)


On Sep 23, 5:26 am, Harshad wrote:
I copy data from one website and paste it to excel sheet. The value which is
copied is like 180.12098400983000, 20.000002300000, 79.120000,
130.25999999999999
like this, i have so many data. I can't do formate cell number check
1234.10. each time. Infact, formate cell number check 1234.10, this process
also not any result.

i want to do it with a click or two.

Someone pls suggest



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
Convert 2 digit month to 4 digit years and months BB Excel Worksheet Functions 2 September 17th 06 09:33 PM
Sorting a six digit number by terminal digit Brian Excel Worksheet Functions 10 August 11th 06 06:50 PM
Color a single digit in a mult-digit number cell Phyllis Excel Discussion (Misc queries) 6 November 17th 05 12:46 AM
Tell users how to sort 5 digit and 9 digit zipcodes correctly aft. [email protected] New Users to Excel 1 February 18th 05 12:59 AM
When we enter a 16 digit number (credit card) the last digit chan. ceking Excel Discussion (Misc queries) 5 December 8th 04 11:45 PM


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