ranking or sorting

L

Liz23

Is there a way to automatically sort data from highest to lowest?

I have a set of NPV values that will constantly change based on different
inputs and need to know if in the summary they can be automiatically ranked
and sorted.

Thanks.
 
P

Peo Sjoblom

You can create a help column that always will be sorted ascending

=SMALL($A$2:$A$100,ROW()-ROW($B$2)+1)

where the data is in A2:A100, copy down this formula to B100 (assuming you
put it in B2)

for descending replace small with large and copy down
 
L

Liz23

It worked...thanks so much!


Peo Sjoblom said:
You can create a help column that always will be sorted ascending

=SMALL($A$2:$A$100,ROW()-ROW($B$2)+1)

where the data is in A2:A100, copy down this formula to B100 (assuming you
put it in B2)

for descending replace small with large and copy down

--

Regards,

Peo Sjoblom
 
L

Liz23

One more question...

If the NPV's have a name associated with them, is there a way to sort those
as well?
 

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

Top