How to sort with fractional

  • Thread starter Thread starter TaGY2K
  • Start date Start date
T

TaGY2K

Hi, I am just wonder how to sort the colum with all the fraction on top
or bottom ...ie..

54.375
377
21.75
87

to be like this..

377
87
21.75
54.375
 
One way would be to used a *helper* columns, (insert one if necessary)

With the original data in Column A enter the formula in B1:

=IF(MOD(A1,1)>0,1,0)

and copy down. Then sort on Column B - assending, then by Column A -
assending to give the result you want.

--
HTH

Sandy
In Perth, the ancient capital of Scotland

(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
Thanks ... it work... I am just wonder what is a good book to read on
stuff like this?
 
I omitted to say, but then you probably know anyway, that once sorted you
can delete the *Helper* Column.

As to books, you could try:

http://j-walk.com/ss/books/index.htm

--
HTH

Sandy
In Perth, the ancient capital of Scotland

(e-mail address removed)
(e-mail address removed) 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