Re: Sorting imported text

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Sometimes, when you copy|paste from a web site, you'll get some HTML stuff in
the cell--Non-breaking spaces in HTML often cause the problem you're seeing.

You may want to try David McRitchie's routine to clean that stuff up:

http://www.mvps.org/dmcritchie/excel/join.htm#trimall
(look for "Sub Trimall()")

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Leslie wrote:
>
> I have a spreadsheet into which I've imported a great deal of data in two
> columns only. I set out rows one, three and five of hundreds of such rows.
> The cells in column A consist of place names. (The "C" following the place
> name stands for "City", the "A" for "Area".) The cells in column C represent
> the population of the city or area, as the case may be. I've formatted the
> cells in column C as numbers.
>
> Albury (C) 44887
>
> Armidale Dumaresq (A) 24596
>
> Ashfield (A) 40258
>
> I want to sort the placenames in order of their population from highest to
> lowest, showing their populations as well. I tried to sort the data on
> column C in descending order, but nothing happened.
>
> I fear that may be because of my method of importing the data. I got it by
> first downloading the text only of a Web page which had the data, thoughnot
> in a table. I then transferred the text to the worksheet.
>
> Is there something I should be doing which would permit me to sort the data
> as I want?
>
> Thank you.

--

Dave Peterson
.



Relevant Pages

  • Re: numbered bullets in reverse (descending) order?
    ... then you can use table> sort to sort the list in descending order. ... Word MVP web site http://word.mvps.org ...
    (microsoft.public.word.docmanagement)
  • Re: I need Intel iMac Info
    ... > I don't necessarily need to a web site design program as all of the ... I am quite fluent in HTML ... the iWeb program would be set aside and I'd rely ... If you just want quick and dirty conversion of a file to HTML, the Mac ...
    (comp.sys.mac.system)
  • Re: band websites
    ... HTML reference book and another book on CSS style sheets and HTML. ... weekends working on a web site. ... The overall design is fine but you have some technical issues... ... Don't resize large images to smaller dimensions using HTML. ...
    (alt.guitar)
  • Re: Clarity Help
    ... you did a "Save As a web page" to produce your html files. ... from your Publisher document, use "Publish to the Web" instead. ... uploading this new html output to your site and see if the images look ... buttons resize to completly off the web site. ...
    (microsoft.public.publisher.webdesign)
  • Re: OT - Help Me Become a Web Master!
    ... HTML book, I'm starting to think it would be fun to design web sites ... advanced HTML in order to design a professional web site. ... No science, chemistry, physics, mathematics involved ... Java is a full-fledged object oriented language mostly used on the ...
    (alt.sys.pc-clone.dell)