Downloaded Report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that I download into excel - it has a currency value and when
I try to do a calculation on it - it will not work. I noticed that the
values are not formatted as a number so I changed that. I also noticed there
are some extra spaces in the field I tried the clean function, the trim
function and convert text to columns to attempt to isolate and remove the
extra spaces - none seemed to work.

Any other suggestions to get these converted to text so calculations will
work?
 
Might be a better way but this is what I've down when faced with the old
number/text problem.

Tools....options....error checking tab, make sure that 'number stored as
text' is checked off.

then 'tools'....'errorchecking' this should then show all of those numbers
stored as text as errors. You should be able to hilight the whole column or
row and then click on the error checking arrow and change them to numbers
from text.
 
Quite often downloaded data will have non-breaking spaces Character 160
attached to them that TRIM() does not remove. Try:

=--SUBSTITUTE(A1,CHAR(160),)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
I am not getting the green triangle that will let me convert the numbers to
text, that is what I was hoping to get but it is not showing up even with the
feature on.
 
I can onlt assume that it was because I did not include the third argument
of the SUBSTITUTE() but it works fine for me in XL97. Try:

=--TRIM(SUBSTITUTE(A1,CHAR(160),""))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
Re reading my original message I spotted a part that was misleading on my
part instuctions wise. you need to make sure you have a check mark in the
'number as text' box. Is there a check in that box under tools, options,
error checking?
 
Worked perfect, thank you!

Sandy Mann said:
I can onlt assume that it was because I did not include the third argument
of the SUBSTITUTE() but it works fine for me in XL97. Try:

=--TRIM(SUBSTITUTE(A1,CHAR(160),""))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
I'm glad that you got it to work. Thanks for the feedback telling us that
it worked.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top