Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pam Pam is offline
external usenet poster
 
Posts: 128
Default Subtracting data when copied from a IE screen

I've copied/pasted numbers from a screen to excel. The data represents hours
in xx.yy format. I am trying to subtract 2 cells, but get an error. I
determined that the cells have extra spaces so I used clean(). I still get
an error when subtracting. I tested the cell with isText(clean()) -- and it
indicates it is TRUE. So I tried Value(clean()) and Value gives #VALUE
error. Please help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 457
Default Subtracting data when copied from a IE screen

If you call up the XL help file on CLEAN, you'll see that it doesn't
actually remove all non-prinatable characters. The most common one from the
internet is CHAR(160). You might try:

=VALUE(SUBSTITUTE(A2,CHAR(160),""))

--
Best Regards,

Luke M
"Pam" wrote in message
...
I've copied/pasted numbers from a screen to excel. The data represents
hours
in xx.yy format. I am trying to subtract 2 cells, but get an error. I
determined that the cells have extra spaces so I used clean(). I still
get
an error when subtracting. I tested the cell with isText(clean()) -- and
it
indicates it is TRUE. So I tried Value(clean()) and Value gives #VALUE
error. Please help



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Subtracting data when copied from a IE screen

Try:
=VALUE(SUBSTITUTE(CLEAN(E21),CHAR(160),""))

--
Gary''s Student - gsnu201001
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
Copied formula produces unexpected copied results Robert New Users to Excel 1 December 5th 08 04:11 PM
Data Sort #ERR in copied data - Exel 2003 colindav Excel Discussion (Misc queries) 2 October 22nd 08 10:08 AM
New data will not sort with existing data from copied file Carolyn Excel Worksheet Functions 3 January 5th 06 02:11 PM
Filtering/Subtracting Data with two columns No.limit Excel Discussion (Misc queries) 4 July 11th 05 08:38 PM
can i convert data copied as an image into data in excel ? prabhat Excel Worksheet Functions 1 March 1st 05 12:49 PM


All times are GMT +1. The time now is 04:31 AM.

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"